diff options
| author | EuAndreh <eu@euandre.org> | 2025-07-15 13:55:36 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-07-15 13:55:36 -0300 |
| commit | c4f360baf07107468667832be66e5e9c3f92d4b6 (patch) | |
| tree | 321c4f36f43543491c5bd4a5f9ff33ec8086da20 /mkdeps.sh | |
| parent | tests/paca.mjs (test_rangeStateStep): Finish test cases for rangeStateStep (diff) | |
| download | paca-c4f360baf07107468667832be66e5e9c3f92d4b6.tar.gz paca-c4f360baf07107468667832be66e5e9c3f92d4b6.tar.xz | |
Support tokenizing character class expressions [a-z]
* src/paca.mjs (classStateStep): New function equivalent to
`rangeStateStep()` for character class expressions. For now it knowns
how to handle escaping ([abc\-_]), simple ranges ([a-z]), negation
([^abc]) and the hyphen literal as the first char ([-a-z_]).
* tests.paca.mjs (test_classStateStep): New test entry has a test case
each scenario described above.
Diffstat (limited to 'mkdeps.sh')
0 files changed, 0 insertions, 0 deletions
