-h, -H, -?, --help | Print this usage and exit | help + man |
-v, --version | Print version information and exit. | help + man |
-o file | Write output to <file> | help + man |
-s | Print some statistics and compilation info to stderr | help + man |
-d | Do not remove duplicate actions from action lists. | help + man |
-I dir | Add <dir> to the list of directories to search for included an imported files | help + man |
--rlhc | Show the rlhc command used to compile | help |
--save-temps | Do not delete intermediate file during compilation | help |
--no-intermediate | Disable call to rlhc, leave behind intermediate | help |
--error-format gnu | Print error messages using the format "file:line:column:" (default) | help + man |
-n | Do not perform state minimization. | help + man |
-m | Perform minimization once, at the end of the state machine compilation. | help + man |
-l | Minimize after most operations (default) | help + man |
-e | Minimize after every operation. | help + man |
-V | Generate a dot file for Graphviz. | help + man |
-p | Display printable characters on labels. | help + man |
-S spec | FSM specification to output (for graphviz output) | help + man |
-M machine | Machine definition/instantiation to output (for graphviz output) | help + man |
-L | Inhibit writing of #line directives. | help + man |
-T0 | (C/D/Java/Ruby/C#) Generate a table driven FSM. | help + man |
-T1 | (C/D/Ruby/C#) Generate a faster table driven FSM by expanding action lists in the action execute code. | help + man |
-F0 | (C/D/Ruby/C#) Generate a flat table driven FSM. | help + man |
-F1 | (C/D/Ruby/C#) Generate a faster flat table driven FSM by expanding action lists in the action execute code. | help + man |
-G0 | (C/D/C#) Generate a goto driven FSM. | help + man |
-G1 | (C/D/C#) Generate a faster goto driven FSM by expanding action lists in the action execute code. | help + man |
-G2 | (C/D/Go) Generate a really fast goto driven FSM by embedding action lists in the state machine control code. | help + man |
--integral-tables | Use integers for table data (default) | help |
--string-tables | Encode table data into strings for faster host lang compilation | help |
--prior-interaction | Search for condition-based general repetitions that will not function properly due to state mod overlap and must be NFA reps. | help |
--conds-depth D | Search for high-cost conditions inside a prefix of the machine (depth D from start state). | help |
--state-limit L | Report fail if number of states exceeds this during compilation. | help |
--breadth-check E1 | Report breadth cost of named entry points and the start state. | help |
--input-histogram FN | Input char histogram for breadth check. | help + man |
--kelbt-frontend | Compile using original ragel + kelbt frontend Requires ragel be built with ragel + kelbt support | help |
--colm-frontend | Compile using a colm-based recursive descent frontend | help |
--reduce-frontend | Compile using a colm-based reducer (default) | help |
--var-backend | Use the variable-based backend even if the host lang supports goto-based | help |
--supported-host-langs | Show supported host languages by command line arg | help |
--supported-frontends | Show supported frontends | help |
--supported-backends | Show supported backends | help |
--force-libragel | Cause mainline to behave like libragel | help |
-x | Compile the state machines and emit an XML representation of the host data and the machines. (in the manual page but not in --help) | man |
-C | The host language is C, C++, Obj-C or Obj-C++. (in the manual page but not in --help) | man |
--asm --gas-x86-64-sys-v | GNU AS, x86_64, System V ABI ASM is generated in a code style equiv to -G2 (in the manual page but not in --help) | man |
-D | The host language is D. (in the manual page but not in --help) | man |
-Z | The host language is Go. (in the manual page but not in --help) | man |
-J | The host language is Java. (in the manual page but not in --help) | man |
-R | The host language is Ruby. (in the manual page but not in --help) | man |
-A | The host language is C# (in the manual page but not in --help) | man |
-O | The host language is OCaml. (in the manual page but not in --help) | man |
-U | The host language is Rust. (in the manual page but not in --help) | man |
-Y | The host language is Julia. (in the manual page but not in --help) | man |
-K | The host language is Crack. (in the manual page but not in --help) | man |
-P | The host language is JavaScript. (in the manual page but not in --help) | man |
--nfa-conds-depth D | Search for high-cost conditions inside a prefix of the machine (depth D from start state). (in the manual page but not in --help) | man |
--nfa-term-check | Search for condition-based general repetitions that will not function properly and must be NFA reps. (in the manual page but not in --help) | man |
--nfa-intermed-state-limit L | Report fail if number of states exceeds this during compilation. (in the manual page but not in --help) | man |
--nfa-final-state-limit L | Report a fail if number states in final machine exceeds this. (in the manual page but not in --help) | man |
--nfa-breadth-check E1 | Report breadth cost of named entry points by (and start). (in the manual page but not in --help) | man |