The idea behind this library grew from our pains with Irony (a grammar description DSL embedded in C#) when converting from its weakly typed AST representation to our own strongly typed AST.
Like tool-generated parsers, the parsers written with this library cannot encounter type errors at runtime. Unlike tool-generated parsers, there is no preliminary build step required to turn the grammar description into C# code. Instead, the library extracts the grammar description through reflection.
1 comment
[ 3.0 ms ] story [ 11.3 ms ] threadThe idea behind this library grew from our pains with Irony (a grammar description DSL embedded in C#) when converting from its weakly typed AST representation to our own strongly typed AST.
Like tool-generated parsers, the parsers written with this library cannot encounter type errors at runtime. Unlike tool-generated parsers, there is no preliminary build step required to turn the grammar description into C# code. Instead, the library extracts the grammar description through reflection.
If you have any questions, ask away :-)