You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Dørum a8742666a8 let rhs be a full expression in an infix call 3 lat temu
benchmarks/hashmap include benchmarks 3 lat temu
cmd restart vm on parse error 3 lat temu
include/lang2 infix functions 3 lat temu
lib let rhs be a full expression in an infix call 3 lat temu
test short string optimization for tokens 3 lat temu
.gitignore initial commit 3 lat temu
.gitmodules tests 3 lat temu
README.md readme 3 lat temu
build.bx build config 3 lat temu

README.md

Lang2

Lang2 is a programming language I’m working on. It consists of a compiler which generates bytecode, and a VM which executes that bytecode.

To get a feel for the language, you can look at the examples in the test/examples directory. The .l2 files contain Lang2 source code, and the .expected files contain the text which the Lang2 programs are expected to output.