peanut:Peanut 编程语言的第一个实现

时间:2024-07-19 02:01:10
【文件属性】:

文件名称:peanut:Peanut 编程语言的第一个实现

文件大小:40KB

文件格式:ZIP

更新时间:2024-07-19 02:01:10

C

花生 Peanut 是一种简单的编程语言,使用 flex/bison。 Peanut 在下托管在 。 您可以使用以下命令下载源代码。 $ git clone git://github.com/peanut-lang/peanut.git 并且,您可以构建和运行示例。 $ make $ make test 或者,使用调试日志构建并运行示例。 $ make CFLAGS=-DPEANUT_DEBUG $ make test


【文件预览】:
peanut-master
----src()
--------list.h(928B)
--------eval.c(14KB)
--------world.h(792B)
--------strtable.c(1KB)
--------strtable.h(494B)
--------pnobject.h(1KB)
--------pnreal.c(5KB)
--------world.c(5KB)
--------pnstring.c(5KB)
--------pnbool.h(271B)
--------pnstdio.h(211B)
--------pnreal.h(230B)
--------pnlist.c(10KB)
--------pninteger.h(243B)
--------pnlist.h(301B)
--------list.c(6KB)
--------pnbool.c(889B)
--------eval.h(415B)
--------pnnull.c(1KB)
--------globals.h(4KB)
--------pnnull.h(219B)
--------pnobject.c(13KB)
--------pnstdio.c(2KB)
--------utils.h(534B)
--------api.h(361B)
--------pnstring.h(331B)
--------pnfunction.h(659B)
--------peanut.y(27KB)
--------stack.h(431B)
--------pnfunction.c(2KB)
--------stack.c(1KB)
--------pnhash.c(7KB)
--------hash.h(1KB)
--------hash.c(11KB)
--------pninteger.c(5KB)
--------lex.l(3KB)
--------pnhash.h(216B)
----LICENSE(1KB)
----README.md(553B)
----Makefile(1KB)
----tests()
--------example1.pn(1KB)
--------example3.pn(1KB)
--------input.txt(32B)
--------example2.pn(252B)
----.gitignore(200B)

网友评论