IOriens / wxml-transpiler

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 文件编译器 --- 里面有很多无用代码,有空再整理下

License:MIT License


Languages

Language:JavaScript 99.4%Language:Shell 0.6%