3 ms·
Fortress code is still a linear stream of characters in a grammar that gets LR-parsed into an AST, though. Many other approaches are possible if you start with
by derefr 16y ago
Fortress code is still a linear stream of characters in a grammar that gets LR-parsed into an AST, though. Many other approaches are possible if you start with a different data structure—a digraph of tokens with node-identity, for example.