编译器:用python编写的C ++子集的玩具编译器 源码
编译器 一个用python编写的c ++语法子集的玩具编译器需要python3,antlr4,antlr4-python3-runtime 在以下说明中,您可以在环境中将python3替换为python,将pip3替换为pip 要安装antlr4-python3-runtime,请运行pip3 install antlr4-python3-runtime == 4.6 安装 要安装,请运行python3 setup.py install 进行演示 首先,创建一个新文件,在其中写入一些代码(例如以下文件),并将其命名为test.c。 class A { int foo () { i
下载地址
用户评论