summaryrefslogtreecommitdiff
path: root/mkdeps.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-07-15 13:55:36 -0300
committerEuAndreh <eu@euandre.org>2025-07-15 13:55:36 -0300
commitc4f360baf07107468667832be66e5e9c3f92d4b6 (patch)
tree321c4f36f43543491c5bd4a5f9ff33ec8086da20 /mkdeps.sh
parenttests/paca.mjs (test_rangeStateStep): Finish test cases for rangeStateStep (diff)
downloadpaca-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