A little experiment in interpreters and JIT compilation
Find a file
2020-09-30 22:39:55 +02:00
src build: use libraries for each module 2020-09-30 22:39:55 +02:00
tests tests: unit: add evaluation tests 2020-09-30 22:39:55 +02:00
.drone.yml ci: add Drone CI 2020-09-30 22:39:55 +02:00
.gitignore git: ignore: configuration header & input file 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: check for Criterion 2020-09-30 22:39:55 +02: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.