├── .editorconfig ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── Makefile ├── README.md ├── cmd └── ripplet │ └── main.go ├── go.mod ├── go.sum ├── grammar ├── RippletLexer.g4 └── RippletParser.g4 ├── internal ├── asm │ ├── chunk.go │ ├── codegen.go │ ├── codegen_test.go │ ├── opcode.go │ ├── symtab.go │ └── symtab_test.go ├── grammar │ ├── RippletLexer.interp │ ├── RippletLexer.tokens │ ├── RippletParser.interp │ ├── RippletParser.tokens │ ├── parser.go │ ├── ripplet_lexer.go │ ├── ripplet_lexer_base.go │ ├── ripplet_parser.go │ ├── rippletparser_base_listener.go │ ├── rippletparser_base_visitor.go │ ├── rippletparser_listener.go │ └── rippletparser_visitor.go ├── utils │ └── assert.go └── vm │ ├── arr.go │ ├── obj.go │ ├── vm.go │ └── vm_test.go └── scripts ├── antlr └── mod.go ├── clean └── mod.go └── utils └── shell.go /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/README.md -------------------------------------------------------------------------------- /cmd/ripplet/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/cmd/ripplet/main.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/go.sum -------------------------------------------------------------------------------- /grammar/RippletLexer.g4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/grammar/RippletLexer.g4 -------------------------------------------------------------------------------- /grammar/RippletParser.g4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/grammar/RippletParser.g4 -------------------------------------------------------------------------------- /internal/asm/chunk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/asm/chunk.go -------------------------------------------------------------------------------- /internal/asm/codegen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/asm/codegen.go -------------------------------------------------------------------------------- /internal/asm/codegen_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/asm/codegen_test.go -------------------------------------------------------------------------------- /internal/asm/opcode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/asm/opcode.go -------------------------------------------------------------------------------- /internal/asm/symtab.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/asm/symtab.go -------------------------------------------------------------------------------- /internal/asm/symtab_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/asm/symtab_test.go -------------------------------------------------------------------------------- /internal/grammar/RippletLexer.interp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/RippletLexer.interp -------------------------------------------------------------------------------- /internal/grammar/RippletLexer.tokens: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/RippletLexer.tokens -------------------------------------------------------------------------------- /internal/grammar/RippletParser.interp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/RippletParser.interp -------------------------------------------------------------------------------- /internal/grammar/RippletParser.tokens: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/RippletParser.tokens -------------------------------------------------------------------------------- /internal/grammar/parser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/parser.go -------------------------------------------------------------------------------- /internal/grammar/ripplet_lexer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/ripplet_lexer.go -------------------------------------------------------------------------------- /internal/grammar/ripplet_lexer_base.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/ripplet_lexer_base.go -------------------------------------------------------------------------------- /internal/grammar/ripplet_parser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/ripplet_parser.go -------------------------------------------------------------------------------- /internal/grammar/rippletparser_base_listener.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/rippletparser_base_listener.go -------------------------------------------------------------------------------- /internal/grammar/rippletparser_base_visitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/rippletparser_base_visitor.go -------------------------------------------------------------------------------- /internal/grammar/rippletparser_listener.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/rippletparser_listener.go -------------------------------------------------------------------------------- /internal/grammar/rippletparser_visitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/grammar/rippletparser_visitor.go -------------------------------------------------------------------------------- /internal/utils/assert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/utils/assert.go -------------------------------------------------------------------------------- /internal/vm/arr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/vm/arr.go -------------------------------------------------------------------------------- /internal/vm/obj.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/vm/obj.go -------------------------------------------------------------------------------- /internal/vm/vm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/vm/vm.go -------------------------------------------------------------------------------- /internal/vm/vm_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/internal/vm/vm_test.go -------------------------------------------------------------------------------- /scripts/antlr/mod.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/scripts/antlr/mod.go -------------------------------------------------------------------------------- /scripts/clean/mod.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/scripts/clean/mod.go -------------------------------------------------------------------------------- /scripts/utils/shell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/ripplet/HEAD/scripts/utils/shell.go --------------------------------------------------------------------------------