15 ms·
> tbh the on-disk storage format is pretty irrelevant, it’s all just bits… Nonsense. A completely attributed AST is the result of a full parse. The information
by owlstuffing 2y ago
> tbh the on-disk storage format is pretty irrelevant, it’s all just bits…
Nonsense. A completely attributed AST is the result of a full parse. The information in the AST is vastly richer than source.
> there is no universal tree type
Obviously. It should be understood that the idea is to have a standard AST API/format _per language_. As such it would be standard practice to provide this information as part of the parser/compiler library.