Skip to content

Port of wcc.exe to JavaScript. wxml 文件编译器 --- 里面有很多无用代码,有空再整理下

License

Notifications You must be signed in to change notification settings

IOriens/wxml-transpiler

Repository files navigation

wxml-transpiler

Under development now...

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
yarn

# build dep
yarn run build

# run
node test/test

Dev Opts

# auto rebuild
yarn run dev

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

# autorestart test
## yarn global add nodemon
nodemon test/test -w packages/wxml-transpiler -w test/test.js -w test/pages -e js,wxml -V -d 2000ms

Todo

must

  • add more doc, remove more useless files, reorange directories
  • dataset

perf & ux

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

License

MIT

About

Port of wcc.exe to JavaScript. wxml 文件编译器 --- 里面有很多无用代码,有空再整理下

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published