summaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Expand)AuthorAgeFilesLines
* Build NFA nodes for "." and "class" metacharactersEuAndreh2025-07-161-32/+229
* Differentiate an "operator" from a "meta" characterEuAndreh2025-07-161-16/+58
* Only tolerate escaping of special charsEuAndreh2025-07-151-26/+37
* Support tokenizing `.` wildcard operator.EuAndreh2025-07-151-0/+19
* Support tokenizing `^` and `$` anchorsEuAndreh2025-07-151-0/+194
* tests/paca.mjs (test_shouldConcat): Also hoist import, definition and positio...EuAndreh2025-07-151-35/+35
* tests/paca.mjs (test_compileNFA): Add test case for empty regexEuAndreh2025-07-151-0/+14
* tests/paca.mjs (test_escapingStateStep): Add tests for `escapingStateStep()`EuAndreh2025-07-151-0/+36
* Use `shouldConcat()` in decision of `escapingStateSte()`EuAndreh2025-07-151-0/+4
* Support tokenizing character class expressions [a-z]EuAndreh2025-07-151-2/+224
* tests/paca.mjs (test_rangeStateStep): Finish test cases for rangeStateStepEuAndreh2025-07-131-0/+139
* Add first test for `rangeStateStep()`EuAndreh2025-07-131-0/+17
* Hoist `numFromDigits()` before its usageEuAndreh2025-07-131-17/+17
* Add "[" to the possible characters of TRANSITION_FNS.EuAndreh2025-07-131-0/+18
* Add simple test for TRANSITION_FNSEuAndreh2025-07-131-0/+33
* tests/paca.mjs (test_tokenizeRegexStep): Simplify table valuesEuAndreh2025-07-111-704/+322
* tests/paca.mjs: Add tests for numFromDigits()EuAndreh2025-07-111-0/+17
* src/paca.mjs (tokenizeRegexStep): Support tokenizing range exps {m,n}EuAndreh2025-07-111-0/+540
* src/paca.mjs (tokenizeRegexStep): Include `context` key in reduced stateEuAndreh2025-07-111-118/+144
* src/paca.mjs: Move error detection from tokenizeRegexStep => tokenizeRegexEuAndreh2025-07-111-18/+22
* tests/paca.mjs (test_tokenizeRegexStep): Compute `char` and `index`EuAndreh2025-07-111-20/+7
* Finish implementation of unit testsEuAndreh2025-07-091-17/+864
* Implement v0 version of NFA and DFA; WIP testsEuAndreh2025-07-071-0/+1351