A little experiment in interpreters and JIT compilation
Find a file
2020-12-12 15:32:07 +01:00
src jitters: parse: error on unknown tokens 2020-10-02 14:39:35 +02:00
tests tests: unit: add unknown token parsing test 2020-10-02 14:41:44 +02:00
.drone.yml ci: add distcheck pipeline 2020-09-30 22:39:55 +02:00
.gitignore git: ignore: add test-suite files 2020-09-30 22:39:55 +02:00
bootstrap build: add inital autotools setup 2020-09-28 12:39:45 +02:00
configure.ac build: configure: bump patch version 2020-10-02 14:42:45 +02:00
LICENSE project: add MIT license 2020-12-12 15:32:07 +01:00
Makefile.am build: tests: setup TAP infrastructure 2020-09-30 22:39:55 +02:00
README.md readme: add small explanations 2020-09-30 22:39:55 +02:00

Jitters

This is a small experiment in writing a JIT-compiled calculator. It can pretty-print, evaluate the AST, compile to assembly, or JIT compile and interpret the input expression.

Building

./bootstrap # Also launches configure
make

How to use

To show the different options, use:

./jitters --help

Once launched, you can write your expression in it's standard input.