spaghetti
所属分类:编程语言基础
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2020-09-22 10:13:24
上 传 者:
sh-1993
说明: 广泛使用goto的编程语言
(A programming language that uses goto extensively)
文件列表:
LICENSE (1069, 2020-09-22)
examples/ (0, 2020-09-22)
examples/arithmetic_ops.spgh (313, 2020-09-22)
examples/array.spgh (426, 2020-09-22)
examples/factorial.spgh (1153, 2020-09-22)
examples/fizzbuzz.spgh (1188, 2020-09-22)
examples/hello_world.spgh (105, 2020-09-22)
examples/relational_ops.spgh (76, 2020-09-22)
examples/stack_ops.spgh (109, 2020-09-22)
index.html (1400, 2020-09-22)
package-lock.json (72, 2020-09-22)
package.json (624, 2020-09-22)
src/ (0, 2020-09-22)
src/executor.js (2161, 2020-09-22)
src/index.js (1623, 2020-09-22)
src/operators.js (752, 2020-09-22)
src/operators/ (0, 2020-09-22)
src/operators/arithmetic.js (1349, 2020-09-22)
src/operators/array.js (1053, 2020-09-22)
src/operators/branching.js (436, 2020-09-22)
src/operators/consoleio.js (431, 2020-09-22)
src/operators/relational.js (1688, 2020-09-22)
src/operators/stack.js (952, 2020-09-22)
src/parser.js (1157, 2020-09-22)
src/tokenizer.js (3567, 2020-09-22)
style.css (775, 2020-09-22)
# Spaghetti
The programming language that uses `goto` extensively.
The basic idea is to thwart the biggest programming pragma:
> "Never use `goto`."
As the name suggests, Spaghetti is a language that uses `goto` extensively, resulting in spaghetti code.
**NOTE:** This language is made for fun and educational purposes (building a compiler-interpreter). DO NOT use for any serious project.
This repository consists of the NodeJS interpreter for Spaghetti.
We hope it'll be your "goto" language :smile:
## Status
* Done
* Basic tokenizer
* Basic parser
* Code execution
* Console logging operator
* To Do
* More operators
近期下载者:
相关文件:
收藏者: