Hi all! First of all I wanted to thank Roman for creating such a wonderful kit as Irony is. I know my question may sound stupid but I am not that good at formal languages. I've looked through the forum but haven't found a definite answer to
I am planning to implement an algorithm of finding code clones and I need AST tree as an input. As I've mentioned I am not that good at formal languages. I've read source code and I've found something like that:
public LanguageFlags LanguageFlags = LanguageFlags.CreateAst;
Anyhow, I've intuitively understood that the grammar should be written in a way to support AST. I'm not capable of rewriting it with my current knowledge. Can you either correct my reasonings or recommend my further actions as 1) Some existant AST
building grammars, 2) The best way to learn the knowledge to write my own grammar, 3) Some other tools/kits.
Thank you for reading my post