You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Not that I am aware of. Essentially an AST is a way of representing language components by defining grammatical rules and lexical rules. So 2 = 1 + 1 could be represented as the answer, assignment operator, and then an expression. The expression would then have child nodes that would represent the values/variables and the arithmetic operator. There is a Java parser generator named ANTLR that contains information about different forms of AST for anyone interested.
Exactly,
If a parser is available, it would be much easier for third parties to add tools such as code formatters, linters, generators that can speed up Stata programming and help improve code quality.
Comment