wxml-transpiler

template compiler for wxml


Keywords
wxml, wcc, transpiler, compiler, minapp, miniapp, parser, wxml-to-js
License
MIT
Install
npm install wxml-transpiler@1.0.5

Documentation

wxml-transpiler

Intro

Port of wcc.cpp/wcc/wcc.exe to JavaScript: use compiler carried with Vue.js to transpile wxml (Grammers to Support).

Give it a Try

Get Started

# install deps
npm i

# build dep
npm run build

# run
node test/test

Dev Opts

# auto rebuild
npm run dev

# autorestart type check system
## brew install watch
watch -t npm run flow

# autorestart test
npm run autotest

Todo

  • error position feedback
  • propStore should better not be global
  • push props in parseText to reuse pushed props

License

MIT