Changes between Version 1 and Version 2 of compiler/newdesign


Ignore:
Timestamp:
Mar 15, 2010, 12:01:12 PM (9 years ago)
Author:
eamiri
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • compiler/newdesign

    v1 v2  
    11== Symbol Table ==
    221- Must support line numbering and collapsing.
     32- Given varname should return uses and/or defs (how to handle use of similar names in different scopes?)
     43- Given line number should return variables used and/or defined in that line.
     5
     6To handle 1, the numbering will be cascaded. [[BR]]
     7numbers 1,2,3,... show lines of code with all bodies collapsed.[[BR]]
     8if line m is a while loop, m-n means line n in the body of while.[[BR]]
     9if line m is an if statement then m-0-i refers to line i in the true branch and m-1-i refers to line i in false branch[[BR]]
     10Implementation of line numbers will use tuples. [[BR]]