summaryrefslogtreecommitdiff
path: root/chapter17/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Change field mutabilityCliff Click2024-11-2312-69/+125
| | | | | | | | Fields & locals with an initializer are immutable by default; those without are mutable. Make mutable with `!`. Fields are always mutable in a constructor. Add a trinary `pred ? then : else` syntax. SubNode retains as much precision as AddNode. Sharpen some asserts and error cases. Limit Load node cloning if the ptr is not obvious.
* var/valCliff Click2024-11-232-3/+18
|
* Support post ++ on arrays and structsCliff Click2024-11-231-8/+26
|
* Allow post ++, --Cliff Click2024-11-2317-113/+86
| | | | | | | | | | Fix eval auto-string result. Fix tests hacked because of this. Turn on BrainFuck in ch15,16,17, also disabled because of this. Use new features in BrainFuck. Fix bug not lifting forward refs; add a toString to Vars. Fix some missing addDeps. Remove large complex not-productive peep. Upcast after "while" tests. Improves a bunch of tests. Remove dead getBlockStart.
* Initial pushCliff Click2024-11-2359-0/+7263