1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-06-06 15:29:30 +00:00

Small step towards the goal of this branch.

This commit is contained in:
Chris Pressey 2018-11-27 13:56:32 +00:00
parent d90ac92a33
commit 9364a5fbec
2 changed files with 1 additions and 3 deletions

View File

@ -4,6 +4,7 @@ History of SixtyPical
0.18
----
* Syntactically, `goto` may only appear at the end of a block.
* Fixed pathological memory use in the lexical scanner - should
be much less inefficient now when parsing large source files.

View File

@ -66,9 +66,6 @@ error.
### Tail-call optimization
More generally, define a block as having zero or one `goto`s at the end. (and `goto`s cannot
appear elsewhere.)
If a block ends in a `call` can that be converted to end in a `goto`? Why not? I think it can,
if the block is in tail position. The constraints should iron out the same both ways.