install go clone https://github.com/f-shixiong/go-shell.git cd go-shell && go build
go-shell [your file]
- 类型强转
- shell语法糖
- +-*/
- all
- 自定义func
- 结构体func
- 递归func
- return单个值
- return多个值
- 跨域get set ?
- for
- switch todo
- if
- append
- delete
- range
- make
- new
- println
- var
- const
- break
- defer
- goto
- int,string
- map,list
- char,bool,int8-64,uint8-64,[]byte
- struct !difficult
- 非golang官方包
- 官方带internal package
- 支持@shell@直接执行shell
- 支持@shell with var@执行shell
- 支持check关键字
- 支持repl
- 支持go
- 支持select
- 支持断言
- 2.10-just can run,支持了基本+-*/
- 2.12-支持自定义func,支持复杂数据类型,支持for循环,支持了println,支持了new、make、range
- 2.13-支持append,2.13-支持自定义结构体TODO 非map实现,支持多层结构体
- 2.14-支持指针
- 2.15-支持return,支持import,支持struct定义func
- 2.16-支持动态import
- 2.17-支持了shell,支持return 多个值,什么都没改自己支持了const,基本靠命,支持+=等