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 a81643f312 utility function to check if something is truthy 10 months ago
benchmarks/hashmap include benchmarks 11 months ago
cmd printing improvements 10 months ago
include/lang2 utility function to check if something is truthy 10 months ago
lib utility function to check if something is truthy 10 months ago
test better parse errors in examples tests 10 months ago
.gitignore initial commit 1 year ago
.gitmodules tests 1 year ago
ARCHITECTURE.md architecture.md 10 months ago
README.md readme 11 months ago
build.bx build config 10 months ago

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.