木兰编程语言演示
Project description
声明
作者不属于任何公司、集体。
本项目使用GNU通用公共许可证,基于原木兰语言的逆向工程。使用的所有参考信息均从网络公开资料中合法获得。具体代码与原木兰语言的实现无直接关系。
运行
安装此包后, 可启动交互环境如下:
$ 木兰
木兰向您问好
更多信息请说'你好'
> func 过(年) {
>> println(年 + 1)
>> }
> 过(2019)
2020
错误反馈信息示例:
> func f() { f() }
> f()
递归过深。请确认: 1、的确需要递归 2、递归的收敛正确
> 1/0
请勿除以零
> print(某量)
请先定义'某量'再使用
相比使用交互平台,建议通过命令行下木兰 {源码文件名}
运行代码。推荐使用VS Code 插件对源码文件进行编辑。
大事记
0.0.7
通过基于原 exe 的用户手册编写过程中积累的测试用例, 与原型搭建过程中积累至今的测试
最近进展详见《木兰编程语言》知乎专栏。
0.0.6
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mulang-0.0.13.tar.gz
(27.2 kB
view hashes)
Built Distributions
mulang-0.0.13-py3.7.egg
(81.1 kB
view hashes)
mulang-0.0.13-py3-none-any.whl
(34.1 kB
view hashes)