Skip to content

Commit

Permalink
Add more links with info about TTG
Browse files Browse the repository at this point in the history
  • Loading branch information
WoWaster committed Oct 27, 2024
1 parent 0ccf40e commit 82629cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lamagraph-compiler/src/Lamagraph/Compiler/Syntax/Extension.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
AST here is designed using Trees That Grow (<https://www.jucs.org/jucs_23_1/trees_that_grow/jucs_23_01_0042_0062_najd.pdf>) pattern.
It uses type families to contain phase-specific information.
Simpler, but more up-to-date explanations can be found here:
* <https://gitlab.haskell.org/ghc/ghc/-/wikis/implementing-trees-that-grow/trees-that-grow-guidance>
* <https://gitlab.haskell.org/ghc/ghc/-/wikis/implementing-trees-that-grow/handling-source-locations>
* <https://gitlab.haskell.org/ghc/ghc/-/wikis/implementing-trees-that-grow/instances>
Regarding directory structure, it loosely follows GHC's one.
In "Lamagraph.Compiler.Syntax".* we have the most general tree with open type families,
Expand Down

0 comments on commit 82629cb

Please sign in to comment.