ambroisie / jitters

A little experiment in interpreters and JIT compilation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A little experiment in interpreters and JIT compilation

License:MIT License


Languages

Language:C 86.3%Language:M4 5.3%Language:Yacc 3.6%Language:Lex 2.7%Language:Makefile 0.9%Language:Shell 0.9%Language:C++ 0.4%