|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
Configuration for creating a ParserManager. More...
#include <parser_manager.h>
Data Fields | |
| bool | auto_jit |
| If true, attempt to JIT-compile snapshots from capable plugins. | |
| uint32_t | max_plugins |
| Maximum number of plugins that can be registered simultaneously. | |
| const char ** | plugin_search_paths |
| Search paths for plugin shared libraries. | |
| bool | validate_on_load |
| If true, validate snapshots produced by plugins before use. | |
Configuration for creating a ParserManager.
Pass NULL to parser_manager_create() for defaults.
Definition at line 392 of file parser_manager.h.
| bool ParserManagerConfig::auto_jit |
If true, attempt to JIT-compile snapshots from capable plugins.
Applies to plugins that advertise LIME_CAP_JIT. Default: false.
Definition at line 413 of file parser_manager.h.
| uint32_t ParserManagerConfig::max_plugins |
Maximum number of plugins that can be registered simultaneously.
0 means unlimited (dynamic growth). Default: 0.
Definition at line 398 of file parser_manager.h.
| const char** ParserManagerConfig::plugin_search_paths |
Search paths for plugin shared libraries.
NULL-terminated array of directory paths. The manager searches these directories when parser_manager_load() is called with a relative path. NULL means search only the exact path given.
Definition at line 422 of file parser_manager.h.
| bool ParserManagerConfig::validate_on_load |
If true, validate snapshots produced by plugins before use.
The manager calls validate_snapshot() (if available) before making snapshots available. Default: false.
Definition at line 406 of file parser_manager.h.