goto:Goto是一种用go编写的解释性编程语言

时间:2021-04-15 16:41:20
【文件属性】:
文件名称:goto:Goto是一种用go编写的解释性编程语言
文件大小:24KB
文件格式:ZIP
更新时间:2021-04-15 16:41:20
programming-language golang interpreter scripting repl 去 Goto是用go编写的一种解释型编程语言。 1.概述 Goto是一种动态类型的编程语言,旨在支持所有脚本要求。 当前支持以下功能: 数据类型: integer , boolean , string 数据结构: list 算术运算: + , - , * , / , % , ** 比较: == , != , < , <= , > , >= 逻辑运算符: ! , && , || If-Else-If语句 对于循环 控制流语句continue , break , return 多个分配 运算符优先级解析 分组表达式 职能 范围 注释 错误处理 内置函数: append , print , len 2.目录 5.2算术运算 5.3清单5.3.1索引 5.4内置功能 5.5功能5.5.1局部功能 5.6 If-else语句 5.7 For循环语句 5.8控制流程表 6.贡献 7.致谢
【文件预览】:
goto-master
----eval()
--------builtins.go(1KB)
--------eval_test.go(9KB)
--------eval.go(13KB)
----ast()
--------ast.go(9KB)
----object()
--------object.go(3KB)
----lexer()
--------lexer.go(2KB)
--------lexer_test.go(2KB)
----main.go(813B)
----LICENSE.md(1KB)
----go.sum(342B)
----token()
--------token.go(2KB)
----README.md(6KB)
----sample.to(97B)
----repl()
--------repl.go(1KB)
----parser()
--------parser.go(12KB)
--------parser_test.go(15KB)
----go.mod(87B)

网友评论