Skip to content

Commit

Permalink
Fixing json.tok and some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
phorward committed Jun 29, 2024
1 parent 5f647a7 commit 6c89268
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/calc.tok
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _ : Char< \t>+ # redefine whitespace to just tab and spa

Factor : @{
Float _ # built-in 64-bit signed float token
Int _ # built-in 64-bit signed int token
Int _ # built-in bigint token
'(' _ Expr Expect<')'> _
}

Expand Down
2 changes: 1 addition & 1 deletion examples/json.tok
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ String : @{
#'\\' EscapeSequence
Char<^\\\">
EOF error("Unclosed string, expecting '\"'")
}* str_join("", $2) expect '"' _
}* str_join("", $2) Expect<'"'> _
}

Key : @{
Expand Down
1 change: 0 additions & 1 deletion src/value/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ This is how Tokay builtin values are converted during binary operations.
| **bool** | int | int | int | int | float | addr | str | dict | list
| **int** | int | int | int | int | float | addr | str | dict | list
| **float** | float | float | float | float | float | addr | str | dict | list
| **addr** | addr | addr | addr | addr | addr | addr | str | dict | list
| **str** | str | str | str | str | str | str | str | dict | list
| **dict** | dict | dict | dict | dict | dict | dict | dict | dict | list
| **list** | list | list | list | list | list | list | list | list | list
Expand Down

0 comments on commit 6c89268

Please sign in to comment.