mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
implement %
This commit is contained in:
parent
b64c02cf4a
commit
d9868e3111
4 changed files with 20 additions and 3 deletions
|
|
@ -24,6 +24,7 @@ export type DatalessToken =
|
|||
| "-"
|
||||
| "*"
|
||||
| "/"
|
||||
| "%"
|
||||
| "&"
|
||||
| "|"
|
||||
| "!"
|
||||
|
|
@ -76,6 +77,7 @@ const SINGLE_PUNCT: string[] = [
|
|||
"/",
|
||||
"&",
|
||||
"|",
|
||||
"%",
|
||||
];
|
||||
|
||||
export function tokenize(input: string): Token[] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue