Home

Awesome

<!-- markdownlint-configure-file { "MD033": false, "MD041": false } --> <div align="center">

loxcraft

crates.io

Language tooling for the Lox programming language.

</div>

Installation

cargo install loxcraft --locked

Features

Screenshots

Screenshot of REPL

Screenshot of online playground

Benchmarks

Time taken to execute the benchmark suite (lower is better):

Benchmarkloxcraftcloxjlox
binary_tree8.29s8.13s26.41s
equality_17.17s7.73s10.01s
equality_28.39s9.66s14.30s
fib10.90s10.09s21.89s
instantiation10.83s12.84s14.24s
invocation9.93s8.93s15.77s
method_call11.01s9.12s62.03s
properties10.05s5.98s69.77s
string_equality_17.76s7.66s34.08s
string_equality_210.78s10.52s36.25s
trees9.97s8.72s72.87s
zoo10.67s6.18s100.10s

Benchmarks

Benchmarks were run with the following configuration:

References

So you want to build your own programming language! Here's some extremely helpful resources I referred to when building loxcraft:

Contributors