First of all, I have to confess that I’ve started to see the light of F# and AST manipulation. Anyway, I’ve created a F# skeleton template for Gold Parser and the Calitha .NET engine. It can be downloaded here: http://www.puzzleframework.com/Blog/F-Sharp.zipMore
Tag Archives: Gold Parser
Generic DSL Grammar and Parser
About a year ago I blogged about an idea of an extensible language; http://rogeralsing.com/2009/03/18/an-intentional-extensible-language/ Since then, I have been experimenting with this concept quite a bit. I have now created a more complete grammar which contains hard-coded support for some constructs, e.g. assignments, lambdas, binary and unary operations. What I ended up with is not a language,…More
M Grammar Vs. Gold Parser
Even though I bashed M Grammar in my last post, I’m sort of starting to get what the fuzz is all about now. I still claim that writing grammars is hard, and that the M Grammar language itself doesn’t do much to change this. But the beauty is not in the parser nor the syntax, it’s in…More
CIL – Compiler construction
I’ve created a little sample on how to make your own .NET compiler. The compiler uses Gold parser for parsing and Reflection.Emit to generate the compiled .exe file. Initially I intended to make a sample on how to use Gold parser to parse and then compile Linq expressions, thus the name GoldLinq, however, Linq have now been replaced…More