This project has moved and is read-only. For the latest updates, please go here.

Why i can't find a full documentation for Irony ?

Jul 25, 2014 at 9:16 AM
I'm trying to use Irony as i think it's a great kit but i can't find any documentation for it
all i found are the included samples
Is there any PDF or CHM book describes its content ?
IMHO, a project like that must have a full documentation...
Jul 25, 2014 at 3:55 PM
I couldn't find also, but the best advice I can give you is, hands on the SampleExpressionEvaluatorGrammar it has almost everything you need. Not difficult at all.
Jul 27, 2014 at 3:25 PM
As i can see, Irony is a very rich kit and samples are not enough to make it clear
There are too many things in Irony that need documentation or you need more samples to cover the full features of Irony.
  • How to create interpreted language (sample)
  • MarkXXX methods
  • How to create AST and why Start-List items doesn't create AstNode
    and many other things that need to be clarified.
Jul 28, 2014 at 7:53 PM
I share your pain...

I tried to cover much of that in the blog entry I wrote about using Irony:
Jul 29, 2014 at 12:48 PM
  • Inherit from InterpretedLanguageGrammar then your grammar will Build Ast Nodes when you evaluate.
  • To create AstNode just inherit from AstNode then implement Init and DoEvaluate methods, try debugging one already created to see how nice they behave :)
    what you mean with MarkXXX methods?
    what you mean with Start-List doesn't create AstNode ? (in fact list shouldn't create AstNode, but the items must have astNode to evaluate items in the list)
hope this helps.