diff options
| author | John Hodge <tpg@mutabah.net> | 2016-12-25 17:35:00 +1100 |
|---|---|---|
| committer | John Hodge <tpg@mutabah.net> | 2016-12-25 17:35:00 +1100 |
| commit | 69537686be13f6ff84ce79e84374351e943ab21b (patch) | |
| tree | de4bef9b5ace623b59751447b9131046483d2388 /Notes/Restructure.txt | |
| parent | 27b0292ca6828eed7e782a57ad4d641f0ebf7357 (diff) | |
| parent | 753a2f44cc4c00b952cddae2ceed066ebb18a470 (diff) | |
| download | mrust-69537686be13f6ff84ce79e84374351e943ab21b.tar.gz | |
Merge branch 'master' of https://github.com/thepowersgang/mrustc
Diffstat (limited to 'Notes/Restructure.txt')
| -rw-r--r-- | Notes/Restructure.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Notes/Restructure.txt b/Notes/Restructure.txt index 4f00b656..70ca1bf2 100644 --- a/Notes/Restructure.txt +++ b/Notes/Restructure.txt @@ -1,10 +1,7 @@ - - 1. High-level AST (basically the code in AST form) - Elimination or otherwise disabling of #[cfg]-disabled items - Path resolution (leave UFCS unresolved for now) > Take all paths, turn into UFCS if a node points to a type - > - Root-level UFCS resoluion > Recursion limit on searching through traits - Expression-level UFCS resolution @@ -72,7 +69,7 @@ CONSTANT = INT | STATIC_STRING | ITEM<SUBSTS> // reference to an item or constant etc | <P0 as TRAIT<P1...Pn>> // projection - | CONSTANT(CONSTANT...) // + | CONSTANT(CONSTANT...) // | CAST(CONSTANT, TY) // foo as bar | Struct { (f: CONSTANT)... } // aggregates... | (CONSTANT...) // |
