CommonNorg can be parsed in two ways: Flat and Structured.
-
literally flattened version of AST. You can specify each block's level by indents but Flat AST doesn't have block groups like section or list.
-
Final AST that includes grammars like sections and lists un top of Flat AST. Structured AST can be generated from Flat AST.
We will discuss each versions in top-down approach.