|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
Control LLVM JIT compilation of parser action tables. More...
Functions | |
| bool | lime_jit_available (void) |
| Check whether JIT compilation support is available at runtime. | |
| int | lime_jit_compile (ParserSnapshot *snap) |
| Compile and attach JIT code to a snapshot's action tables. | |
Control LLVM JIT compilation of parser action tables.
| bool lime_jit_available | ( | void | ) |
#include <include/parser.h>
Check whether JIT compilation support is available at runtime.
| true | LLVM was linked and initialization succeeded. |
| false | JIT is not available. |
| int lime_jit_compile | ( | ParserSnapshot * | snap | ) |
#include <include/parser.h>
Compile and attach JIT code to a snapshot's action tables.
| snap | Snapshot to JIT-compile. |
| 0 | Success (or already compiled, or LLVM unavailable). |
| non-zero | Compilation failure. |