pua-lang
PUA Programming Language written in Python.
Installation
git clone https://github.com/zhaoyang97/pua-lang.git
cd pua-lang
pip install .
Try pua-lang
pua docs\examples\斐波拉契.pua
Or copy the code below to main.pua
老板:
张三 赋能 100
李四 赋能 50
打印(张三 差异 李四)
then run pua main.pua
You can try more examples in docs\examples
Write your own PUA code
pua-lang完全基于python,将python关键词替换为pua-lang中的关键词即可写出pua代码。pua-lang与python之间的关键词映射在keyword map表中。