git @ Cat's Eye Technologies SixtyPical / 9364a5f
Small step towards the goal of this branch. Chris Pressey 3 years ago
2 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
33 0.18
44 ----
55
6 * Syntactically, `goto` may only appear at the end of a block.
67 * Fixed pathological memory use in the lexical scanner - should
78 be much less inefficient now when parsing large source files.
89
6565
6666 ### Tail-call optimization
6767
68 More generally, define a block as having zero or one `goto`s at the end. (and `goto`s cannot
69 appear elsewhere.)
70
7168 If a block ends in a `call` can that be converted to end in a `goto`? Why not? I think it can,
7269 if the block is in tail position. The constraints should iron out the same both ways.
7370