programming language with a stack-based bytecode vm implemented in golang
Find a file
2024-10-09 15:54:51 +02:00
.idea Initial commit 2024-10-08 15:08:56 +02:00
examples add while loop calculation of a fibonacci number 2024-10-09 15:54:51 +02:00
compiler.go add nil check in CompareValues and log before comparing value on stack 2024-10-09 14:20:55 +02:00
compiler_test.go fix sum_function test and add remove_func_vars test 2024-10-09 14:21:26 +02:00
go.mod Initial commit 2024-10-08 15:08:56 +02:00
go.sum Initial commit 2024-10-08 15:08:56 +02:00
lexer.go fix multiline comments 2024-10-09 14:50:07 +02:00
lexer_test.go Initial commit 2024-10-08 15:08:56 +02:00
main.go update main file parsing error handling 2024-10-09 09:15:43 +02:00
main_test.go Initial commit 2024-10-08 15:08:56 +02:00
nodes.go Initial commit 2024-10-08 15:08:56 +02:00
parser.go add parsing for while loops 2024-10-09 09:15:25 +02:00
parser_test.go Initial commit 2024-10-08 15:08:56 +02:00
README.md update readme 2024-10-09 14:25:43 +02:00
stack.go Initial commit 2024-10-08 15:08:56 +02:00
stack_test.go add nil check in CompareValues and log before comparing value on stack 2024-10-09 14:20:55 +02:00
values.go add nil check in CompareValues and log before comparing value on stack 2024-10-09 14:20:55 +02:00
values_test.go add nil check in CompareValues and log before comparing value on stack 2024-10-09 14:20:55 +02:00
vm.go Initial commit 2024-10-08 15:08:56 +02:00
vm_test.go add a vm_test of a function calling a function 2024-10-09 09:15:07 +02:00

L'anglais

The purpose of this project is to learn how to make a virtual machine for interpreting generated bytecode for improved performance.

Getting

There is currently no installer, only a simple executable that can be downloaded from the releases page on github.

Examples

Examples of how to use the language are found in ./examples/.