Skip to content

Commit

Permalink
Move files
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Sep 21, 2024
1 parent 86ad88e commit dee8ffe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ next_state = yydefgoto[lhs_id]

## Example

Take a look at compressed tables of "compressed_state_table.y".
See "compressed_state_table.output" for detailed information of symbols and states.
Take a look at compressed tables of "parse.y".
See "parse.output" for detailed information of symbols and states.

### `yytable`

Expand Down Expand Up @@ -324,7 +324,7 @@ yypgoto = [
Because `0` is reserved for syntax error, Rule id starts with 1.

```
# In "compressed_state_table.output"
# In "parse.output"
Grammar
0 $accept: program "end of file"
Expand Down Expand Up @@ -356,7 +356,7 @@ Grammar
```

For example, default action for state 1 is 4 (`yydefact[1] == 4`).
This means Rule 3 (`3 expr: NUM`) in "compressed_state_table.output" file.
This means Rule 3 (`3 expr: NUM`) in "parse.output" file.

`yydefgoto` specifies next state id of the nonterminal.

Expand Down
File renamed without changes.

0 comments on commit dee8ffe

Please sign in to comment.