#Frege Interpreter#
This project aims to interpret Frege code snippets with on-the-fly in-memory compilation.
The interpreter reuses most of the Frege compiler - lexer, parser, type checker and Java code generation. Just after the code generation, instead of generating Java class files on the file system, the interpreter compiles the Java code into memory and then through a special classloader, it loads the byte codes from memory. The actual result is then obtained through reflection on the dynamically generated class.
Frege REPL and Online REPL make use of frege-interpreter to provide an interactive environment on terminal as well as on the browser.
####JSR 223 Scripting support####
This project also implements JSR 223, a scripting engine for Frege.
###How to get frege-interpreter?###
Build from sources: Checkout into some directory and then mvn install
Binary: Under releases page here.