ragel
ragel copied to clipboard
Ragel State Machine Compiler
This has been requested in the past. Requested again by Denis Naumov. %%option name = value; There are some sticky issues involved ... how to parse the host language to...
The usual string parsing causes backslash to escape, rather than path-separate.
This ragel statement should put the machine into the error state and then break out. It has been started, but needs to be finished.
This would permit us to use functions that should be called only once to retrieve a character.
via_parm = ( sent_protocol LWS sent_by ( SEMI ( via_branch | header_param ) )* ) >start_value %store_value; Via = ( "Via"i | "v"i ) >write_value >start_field %write_field HCOLON via_parm (...
Currently duplicating a lot of code and data for the execution of EOF actions and conditions. Goal is to unify this with regular transitions. Currently we first test if we...
Not sure if these work ... needs some investiationg. Notably NFA is the first time generated code makes use of a record.
Leaving actions are not always appropriately executed when looping a scanner. comment: Possibly want to take an optimization approach. For example, compile the machine with the scanner actions placed at...