Warth's recursion finished. action() and and() still fail. Time to migrate in TQ's arena work.
This commit is contained in:
parent
662cd0e5b4
commit
9803b14ce8
3 changed files with 58 additions and 17 deletions
|
|
@ -48,8 +48,8 @@ typedef struct input_stream {
|
|||
* cache - a hash table describing the state of the parse, including partial parse_results. It's a hash table from parser_cache_key_t to parser_cache_value_t.
|
||||
* input_stream - the input stream at this state.
|
||||
* arena - the arena that has been allocated for the parse this state is in.
|
||||
* lr_stack - used in Warth's recursion
|
||||
* recursion_heads - used in Warth's recursion
|
||||
* lr_stack - a stack of LRs, used in Warth's recursion
|
||||
* recursion_heads - table of recursion heads. Keys are parse_cache_key_t's with only an input_state_t (parser can be NULL), values are head_t.
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue