A little experiment in interpreters and JIT compilation
Find a file
2020-09-30 22:39:55 +02:00
src jitters: jit: add JIT function 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: only use my usual warning flags 2020-09-30 22:39:55 +02:00
Makefile.am jitters: parse: add parsing module 2020-09-30 13:32:54 +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.