Skip to content

IOriens/wxml-transpiler

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published