Ragel
Ragel (IPA: ) is a finite-state machine compiler and a parser generator. Initially Ragel supported output for C, C++ and Assembly source code, later expanded to support several other languages including Objective-C, D, Go, Ruby, and Java. Additional language support is also in development. It supports the generation of table or control flow driven state machines from regular expressions and/or state charts and can also build lexical analysers via the longest-match method. Ragel specifically targets text parsing and input validation. Ragel's repository has been archived on Mar 6, 2026, and Ragel has become part of colm-suite. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
Ragel (IPA: ) is a finite-state machine compiler and a parser generator. Initially Ragel supported output for C, C++ and Assembly source code, later expanded to support several other languages including Objective-C, D, Go, Ruby, and Java. Additional language support is also in development. It supports the generation of table or control flow driven state machines from regular expressions and/or state charts and can also build lexical analysers via the longest-match method. Ragel specifically targets text parsing and input validation. Ragel's repository has been archived on Mar 6, 2026, and Ragel has become part of colm-suite. action dgt { printf("DGT: %c\n", fc); } action dec { printf("DEC: .\n"); } action exp { printf("EXP: %c\n", fc); } action exp_sign { printf("SGN: %c\n", fc); } action number { /*NUMBER*/ } A floating-point number literal. number = ( [0-9]+ $dgt ( '.' @dec [0-9]+ $dgt )? ( [eE] ( [+\-] $exp_sign )? [0-9]+ $exp )? ) %number; main := ( number '\n' )*; ==See also== Comparison of parser generators Executable UML Finite-state machine Regular expression Thompson's construction - the algorithm used by Ragel Umple Lex re2c Helsinki Finite-State Technology (HFST) Cloudbleed ==External links==
Cite this
"Ragel". 1779541481. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1355724824 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy