| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Bail out unclosed block (#25) | Yichen Yan | 2023-11-01 | 6 | -15/+63 | |
| | | | | | | | | | | * Report unclosed block in parsing * Fix tests * Resolve comments and rebase onto chapter5 * Test `isEOF` after consume whitespaces | |||||
| * | Update JDK to 21 (#26) | Yichen Yan | 2023-11-01 | 3 | -11/+7 | |
| | | | | | | | | | | | | | | * Backport fix for set_def killing new_def (#21) * Use JDK 21 * Remove duplicate field in pom * Enable GA test for pull requests --------- Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> | |||||
| * | Test expecting an excpetion is missing an fail (#29) | XmiliaH | 2023-11-01 | 1 | -0/+1 | |
| | | ||||||
| * | Update visual | dibyendumajumdar | 2023-11-01 | 6 | -196/+225 | |
| | | ||||||
| * | Revert "Report unclosed block in parsing (#28)" | dibyendumajumdar | 2023-11-01 | 2 | -13/+1 | |
| | | | | | This reverts commit e3c412bbbdd6f6eefe2ac889f6d59aeaef71beb1. | |||||
| * | Report unclosed block in parsing (#28) | XmiliaH | 2023-11-01 | 2 | -1/+13 | |
| | | ||||||
| * | Fix list of keywords and node index of merge (#27) | XmiliaH | 2023-11-01 | 3 | -3/+3 | |
| | | | | | | | | * Wrong input index used * Then is currently not a keyword * Some phis are now not created and ids shifted | |||||
| * | Try another graphics | Cliff Click | 2023-11-01 | 1 | -13/+35 | |
| | | ||||||
| * | Bugfix Region | Cliff Click | 2023-11-01 | 1 | -1/+1 | |
| | | | | | Region edges need to align with Phi edges; missing leading null | |||||
| * | Small doc cleanup (#24) | XmiliaH | 2023-11-01 | 1 | -59/+54 | |
| | | ||||||
| * | Add copy method to bool nodes (#23) | XmiliaH | 2023-11-01 | 2 | -6/+13 | |
| | | ||||||
| * | Update visual | dibyendumajumdar | 2023-11-01 | 1 | -0/+200 | |
| | | ||||||
| * | Update visual | dibyendumajumdar | 2023-11-01 | 2 | -0/+72 | |
| | | ||||||
| * | Update visual | dibyendumajumdar | 2023-11-01 | 3 | -119/+149 | |
| | | ||||||
| * | Update the description of Region node | dibyendumajumdar | 2023-11-01 | 6 | -409/+395 | |
| | | | | | | Update visuals Update chapter list | |||||
| * | Remove most TODO's | Cliff Click | 2023-11-01 | 6 | -6/+9 | |
| | | | | | Make an official TODO which can't be hit in the current Chapter, but future binary ops might hit it. | |||||
| * | Some improvements for chapter5 (#22) | XmiliaH | 2023-11-01 | 5 | -13/+22 | |
| | | | | | | | | | | | | * Return null when the node cannot be copied * Make add_def package private again * Phi node can have more then two data inputs in theory * Use swap12 * Use addUse | |||||
| * | Cleanup doc example graph | Cliff Click | 2023-11-01 | 1 | -2/+1 | |
| | | ||||||
| * | Lots of improvements to graphviz | Cliff Click | 2023-11-01 | 14 | -60/+79 | |
| | | | | | | | | | Merging common edges. Phis of same Region align. Phis use greek phi, and have a debug name. Scope carries the debug name. Phis are lightly colored. Common math names for math prims. Parse can optionally show the graph after closing the last scope. | |||||
| * | Bug fix last peephole | Cliff Click | 2023-11-01 | 3 | -8/+10 | |
| | | ||||||
| * | Rethink & cleanup Add peeps | Cliff Click | 2023-11-01 | 4 | -30/+135 | |
| | | | | | More rigorously head for a left-spline sum-of-products format. | |||||
| * | Fix div-by-0, some javadoc | Cliff Click | 2023-11-01 | 10 | -27/+36 | |
| | | | | | | higher level parsers can return null, but their return is ignored anycase. div-by-0 is defined to be 0, backported to ch2,3,4,5 | |||||
| * | javadoc about null-ness returns update | Cliff Click | 2023-11-01 | 1 | -2/+29 | |
| | | ||||||
| * | Fix missing trailing expression | Cliff Click | 2023-11-01 | 2 | -1/+11 | |
| | | ||||||
| * | Fix broken error report | Cliff Click | 2023-11-01 | 2 | -2/+11 | |
| | | ||||||
| * | Fix bugs using keywords as ids | Cliff Click | 2023-11-01 | 3 | -19/+71 | |
| | | | | | | | | | Add an exact 'matchx' for keywords. Add a list of keywords. int true=0; return true; // Expected id, found 'true' int else=arg; if(else) else=2; else else=1; return else; // Expected id, found 'else' inta=1; return a; // undefined inta | |||||
| * | Update README | Cliff Click | 2023-11-01 | 3 | -30/+63 | |
| | | | | | Add true/false | |||||
| * | Parser gather Returns in the Stop | Cliff Click | 2023-11-01 | 9 | -55/+78 | |
| | | | | | | | Return returns a tuple of control & result GraphViz works with multi-Scopes and Scopes do not double-print uid. Proj also does not print uid in golden test results, because every time we add a new early node, the final results change node id so fail golden test. | |||||
| * | Fix Scope.dup mixing up edge orders | Cliff Click | 2023-11-01 | 4 | -44/+35 | |
| | | | | | Fix GraphVix node edge ordering | |||||
| * | Dont make redundant phis | Cliff Click | 2023-11-01 | 1 | -1/+2 | |
| | | ||||||
| * | Greatly simplify Merge logic; move to ScopeNode. | Cliff Click | 2023-11-01 | 6 | -144/+171 | |
| | | | | | | | | | | Rename CTRL_TOKEN... its not a token. _allScopes becomes a Stack, because... it behaves like a stack. Add a junk Phi peep. More general AddNode peeps Add a bunch of If tests. Rewrite how expected-exception tests work; the workflow on the old technique sucked. New one stops in the right place in the debugger. | |||||
| * | Emacs per-project setting | Cliff Click | 2023-11-01 | 1 | -0/+4 | |
| | | ||||||
| * | Remove id as we already have it in Node. | dibyendumajumdar | 2023-11-01 | 1 | -12/+1 | |
| | | ||||||
| * | Small cleanup | dibyendumajumdar | 2023-11-01 | 1 | -7/+5 | |
| | | ||||||
| * | Add descriptions of the new node types in Chapter 5. | dibyendumajumdar | 2023-11-01 | 2 | -2/+35 | |
| | | | | | Add references to Cliff's thesis. | |||||
| * | Update the main README | dibyendumajumdar | 2023-11-01 | 1 | -2/+2 | |
| | | ||||||
| * | Small updates | dibyendumajumdar | 2023-11-01 | 1 | -6/+6 | |
| | | ||||||
| * | Fix typo | dibyendumajumdar | 2023-11-01 | 1 | -1/+1 | |
| | | ||||||
| * | Add writeup of if statement parsing | dibyendumajumdar | 2023-11-01 | 6 | -3/+644 | |
| | | ||||||
| * | Add writeup of if statement parsing | dibyendumajumdar | 2023-11-01 | 1 | -0/+24 | |
| | | ||||||
| * | Update visualization to show all the Scope Nodes that are active. | dibyendumajumdar | 2023-11-01 | 4 | -52/+104 | |
| | | | | | | | Fix test cases broken due to renaming of ProjNode label. Cleanup the way we update $ctrl token Assign an ID to each ScopeNode so that when we visualize we can assign different names | |||||
| * | Some initial Ch 5 cleanup | Cliff Click | 2023-11-01 | 14 | -37/+42 | |
| | | | | | | | Drop Control interface, not flexible enough. Use isCFG() call, overloaded in child classes. Projections have a more complex test. Missing some printouts in Bool children, If, Region, Phi. IfNode type is a tuple. Region is TypeControl. | |||||
| * | Added PhiNode, RegionNode, IfNode, StopNode | dibyendumajumdar | 2023-11-01 | 10 | -15/+236 | |
| | | | | | | No type compute yet Initial parsing logic for If statements | |||||
| * | Rename test class and dot diagrams | dibyendumajumdar | 2023-11-01 | 2 | -2/+2 | |
| | | ||||||
| * | Start on Chapter 5 | dibyendumajumdar | 2023-11-01 | 1 | -3/+5 | |
| | | ||||||
| * | Start on Chapter 5 | dibyendumajumdar | 2023-11-01 | 26 | -0/+2063 | |
| | | ||||||
| * | Backport fix for set_def killing new_def (#21) | XmiliaH | 2023-10-29 | 2 | -6/+11 | |
| | | ||||||
| * | set_def might kill new_def in kill recursion caused by old_def being killed ↵ | XmiliaH | 2023-10-28 | 2 | -3/+12 | |
| | | | | | (#18) | |||||
| * | Remove true and false from grammar as the parser does not recognise them (#17) | XmiliaH | 2023-10-28 | 1 | -2/+0 | |
| | | ||||||
| * | Applied fix for #12 to chapter 3 (#15) | Dibyendu Majumdar | 2023-10-27 | 9 | -134/+287 | |
| | | | | | ScopeNode added to chapter 3 Revised the description for Chapter 3 and 4 to include ScopeNode. | |||||
