【文件属性】:
文件名称:SandBox:SandBox 是一种由 JS 和 ANTLR4 组成的编程语言
文件大小:77KB
文件格式:ZIP
更新时间:2021-05-30 17:07:19
programming-language antlr4 JavaScript
沙盒
易于阅读。 容易写。
关于
SandBox 是一种由 JS 和 ANTLR4 组成的简单编程语言。
我们的理念是:编程语言必须易于read和write 。
正在开发中,敬请期待!
例子
99瓶啤酒
let a = 1;
while a < 100 {
if a == 99 {
print("No more bottles of beer on the wall, no more bottles of beer.");
print("Go to the store and buy some more, 99 bottles of beer on the wall.");
} else if a == 98 {
print("1 bottle of beer on the wall, 1 bottle of beer.
【文件预览】:
SandBox-main
----.gitignore(14B)
----LICENSE(34KB)
----.github()
--------FUNDING.yml(680B)
--------dependabot.yml(126B)
----README.md(3KB)
----logo.png(35KB)
----SandBox()
--------package.json(612B)
--------sandbox.interp(5KB)
--------package-lock.json(354B)
--------sandbox.g4(2KB)
--------snbx-files()
--------sandboxVisitor.js(4KB)
--------sandbox.tokens(629B)
--------index.js(1KB)
--------Archive()
--------sandboxLexer.tokens(629B)
--------customVisitor.js(6KB)
--------sandboxListener.js(7KB)
--------sandboxLexer.interp(10KB)
--------sandboxParser.js(65KB)
--------sandboxLexer.js(18KB)
----.gitattributes(66B)
----docs()
--------If_else_Statement.md(399B)
--------Escape_Characters.md(177B)
--------README.md(73B)
--------Operators.md(975B)
--------While_Statement.md(150B)
--------Declaring_Variables.md(374B)
--------JSEval.md(449B)
--------Printing_To_Console.md(503B)