ragel
ragel copied to clipboard
Ragel State Machine Compiler
[Zig](https://ziglang.org/) is currently lacking a composable parsing system. I'm not sure if ragel is the right answer, compared to e.g. a PEG system in the standard library.
from twitter user thatnumbersguy_
When writing rules for a W3C standard like SPARQL using the notation specified in the [XML standard](https://www.w3.org/TR/xml11/#sec-notation) it would be quite convenient if there was some support of converting unicode...
I am trying to resolve a simple non-determinism. ``` %%{ machine query; # An application/x-www-form-urlencoded parser based on the definition by WhatWG. # Based on https://url.spec.whatwg.org/#application/x-www-form-urlencoded pchar = any -...
I would like to point out that identifiers like “[`_INPUT_DATA`](https://github.com/adrian-thurston/ragel/blob/65540b65ff09330b0293423e3fecc44e63f30614/src/inputdata.h#L23-L24 "Update candidate")” and “[`_NRAGEL_H`](https://github.com/adrian-thurston/ragel/blob/65540b65ff09330b0293423e3fecc44e63f30614/src/nragel.h#L1-L2 "Another update candidate")” [do not fit](https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier#DCL51CPP.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29 "Do not declare an identifier which is reserved for the...
The only way to get a binary for Ragel outside of your package manager is to build it from source. This makes it difficult to use in CI environments. It...
POC: ```rust %%{ machine M; variable stack stack; B := 'B' @{fret;} ; main := 'A' @{fcall B;} ; }%% fn f() { %% write exec; } ``` ![CleanShot 2023-07-20...
Added Rust `atoi` example into `examples/` directory. Created an expandable build system to seamlessly add new examples.
Will there be new stable version published? The version 6.10 still the newest stable version from homepage, and I wonder if it's still OK to use in 2023. Thank you!