Simple Live Calculator using Tree-sitter and Cranelift JIT

2024-12-27

This GitHub project demonstrates a simple live calculator built with Tree-sitter and Cranelift JIT. The core code is highly integrated for ease of understanding. The project includes the grammar, a REPL interface, stress tests, and benchmarks. Modifying the grammar automatically updates the main binary. Syntax highlighting is used as an example of Tree-sitter's capabilities.

Development Live Calculator