├── .github └── workflows │ └── test.yml ├── .gitignore ├── .ruby-version ├── LICENSE ├── README.md ├── allocate.go ├── array.go ├── callinfo.go ├── class.go ├── cmd ├── irb │ └── main.go └── mruby │ └── main.go ├── compiler.go ├── compiler_test.go ├── context.go ├── dump.go ├── error.go ├── features ├── array.feature ├── boolean.feature ├── class.feature ├── compare.feature ├── condition.feature ├── constant.feature ├── exception.feature ├── go_function.feature ├── hash.feature ├── kernel.feature ├── local_variable.feature ├── math.feature ├── method.feature ├── module.feature ├── object.feature ├── string.feature └── symbol.feature ├── go.mod ├── go.sum ├── godogs_test.go ├── init.go ├── insn ├── pool.go ├── reader.go ├── reader_test.go ├── representation.go ├── representation_test.go ├── sequence.go └── sequence_test.go ├── irep_test.go ├── kernel.go ├── load.go ├── load_test.go ├── method.go ├── module.go ├── mruby.go ├── object.go ├── op └── code.go ├── presym.go ├── proc.go ├── stack ├── stack.go └── stack_test.go ├── state.go ├── symbol.go ├── value.go ├── value_test.go ├── variable.go └── vm.go /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/.gitignore -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | mruby-3.2.0 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/README.md -------------------------------------------------------------------------------- /allocate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/allocate.go -------------------------------------------------------------------------------- /array.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/array.go -------------------------------------------------------------------------------- /callinfo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/callinfo.go -------------------------------------------------------------------------------- /class.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/class.go -------------------------------------------------------------------------------- /cmd/irb/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/cmd/irb/main.go -------------------------------------------------------------------------------- /cmd/mruby/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/cmd/mruby/main.go -------------------------------------------------------------------------------- /compiler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/compiler.go -------------------------------------------------------------------------------- /compiler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/compiler_test.go -------------------------------------------------------------------------------- /context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/context.go -------------------------------------------------------------------------------- /dump.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/dump.go -------------------------------------------------------------------------------- /error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/error.go -------------------------------------------------------------------------------- /features/array.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/array.feature -------------------------------------------------------------------------------- /features/boolean.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/boolean.feature -------------------------------------------------------------------------------- /features/class.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/class.feature -------------------------------------------------------------------------------- /features/compare.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/compare.feature -------------------------------------------------------------------------------- /features/condition.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/condition.feature -------------------------------------------------------------------------------- /features/constant.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/constant.feature -------------------------------------------------------------------------------- /features/exception.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/exception.feature -------------------------------------------------------------------------------- /features/go_function.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/go_function.feature -------------------------------------------------------------------------------- /features/hash.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/hash.feature -------------------------------------------------------------------------------- /features/kernel.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/kernel.feature -------------------------------------------------------------------------------- /features/local_variable.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/local_variable.feature -------------------------------------------------------------------------------- /features/math.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/math.feature -------------------------------------------------------------------------------- /features/method.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/method.feature -------------------------------------------------------------------------------- /features/module.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/module.feature -------------------------------------------------------------------------------- /features/object.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/object.feature -------------------------------------------------------------------------------- /features/string.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/string.feature -------------------------------------------------------------------------------- /features/symbol.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/features/symbol.feature -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/go.sum -------------------------------------------------------------------------------- /godogs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/godogs_test.go -------------------------------------------------------------------------------- /init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/init.go -------------------------------------------------------------------------------- /insn/pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/insn/pool.go -------------------------------------------------------------------------------- /insn/reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/insn/reader.go -------------------------------------------------------------------------------- /insn/reader_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/insn/reader_test.go -------------------------------------------------------------------------------- /insn/representation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/insn/representation.go -------------------------------------------------------------------------------- /insn/representation_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/insn/representation_test.go -------------------------------------------------------------------------------- /insn/sequence.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/insn/sequence.go -------------------------------------------------------------------------------- /insn/sequence_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/insn/sequence_test.go -------------------------------------------------------------------------------- /irep_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/irep_test.go -------------------------------------------------------------------------------- /kernel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/kernel.go -------------------------------------------------------------------------------- /load.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/load.go -------------------------------------------------------------------------------- /load_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/load_test.go -------------------------------------------------------------------------------- /method.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/method.go -------------------------------------------------------------------------------- /module.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/module.go -------------------------------------------------------------------------------- /mruby.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/mruby.go -------------------------------------------------------------------------------- /object.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/object.go -------------------------------------------------------------------------------- /op/code.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/op/code.go -------------------------------------------------------------------------------- /presym.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/presym.go -------------------------------------------------------------------------------- /proc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/proc.go -------------------------------------------------------------------------------- /stack/stack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/stack/stack.go -------------------------------------------------------------------------------- /stack/stack_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/stack/stack_test.go -------------------------------------------------------------------------------- /state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/state.go -------------------------------------------------------------------------------- /symbol.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/symbol.go -------------------------------------------------------------------------------- /value.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/value.go -------------------------------------------------------------------------------- /value_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/value_test.go -------------------------------------------------------------------------------- /variable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/variable.go -------------------------------------------------------------------------------- /vm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elct9620/mruby-go/HEAD/vm.go --------------------------------------------------------------------------------