-
Notifications
You must be signed in to change notification settings - Fork 108
Support tail recursion #49
Copy link
Copy link
Closed
Labels
Description
Tail recursion can be detected when
- an explicit definition is running
- the result of the current sentence is guaranteed to be the result of the verb
- the sentence issues a recursion to the same explicit definition
- all tokens have been moved from the queue to the stack in the parser
- no names are on the stack in the parser
-- @HenryHRich 13:15, 12 June 2017 (UTC)
Reactions are currently unavailable