A little experiment in interpreters and JIT compilation
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Bruno BELANYI b203f1112e project: add MIT license 3 years ago
src jitters: parse: error on unknown tokens 3 years ago
tests tests: unit: add unknown token parsing test 3 years ago
.drone.yml ci: add `distcheck` pipeline 3 years ago
.gitignore git: ignore: add test-suite files 3 years ago
LICENSE project: add MIT license 3 years ago
Makefile.am build: tests: setup TAP infrastructure 3 years ago
README.md readme: add small explanations 3 years ago
bootstrap build: add inital autotools setup 3 years ago
configure.ac build: configure: bump patch version 3 years ago

README.md

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.