summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* src/paca.mjs: Improve implementation of interpretMetacharactersHEADmainEuAndreh2025-08-011-13/+48
* src/paca.mjs: Rename buildDFA -> toDFAEuAndreh2025-07-201-7/+10
* src/paca.mjs: Support returning multiple options from `performTransition()`EuAndreh2025-07-201-5/+6
* Add initial support for caret and dollar metacharactersEuAndreh2025-07-201-4/+55
* src/paca.mjs: Rename {start,end}ID => {start,end}EuAndreh2025-07-171-44/+42
* Do away with the "nextID" attributeEuAndreh2025-07-171-21/+6
* Support searching in the NFA using the metacharacters.EuAndreh2025-07-161-1/+25
* Compress character class when compiling NFA.EuAndreh2025-07-161-3/+33
* Build NFA nodes for "." and "class" metacharactersEuAndreh2025-07-161-6/+76
* Differentiate an "operator" from a "meta" characterEuAndreh2025-07-161-8/+14
* Only tolerate escaping of special charsEuAndreh2025-07-151-12/+22
* Support tokenizing `.` wildcard operator.EuAndreh2025-07-151-5/+10
* Support tokenizing `^` and `$` anchorsEuAndreh2025-07-151-1/+48
* src/paca.mjs (PRECEDENCE): Add "range" and "class" keysEuAndreh2025-07-151-0/+2
* Use `shouldConcat()` in decision of `escapingStateSte()`EuAndreh2025-07-151-11/+11
* Support tokenizing character class expressions [a-z]EuAndreh2025-07-151-3/+125
* src/paca.mjs (rangeStateStep): Fix typo in SyntaxError messageEuAndreh2025-07-131-1/+1
* src/paca.mjs (rangeStateStep): Refine indentation and alignmentEuAndreh2025-07-131-3/+3
* src/paca.mjs ({escaping,range}StateStep): Add leading underscore to ignored argsEuAndreh2025-07-131-2/+2
* src/paca.mjs (rangeStateStep): Return ValueError when range number decreasesEuAndreh2025-07-131-1/+2
* Hoist `numFromDigits()` before its usageEuAndreh2025-07-131-5/+5
* Add "[" to the possible characters of TRANSITION_FNS.EuAndreh2025-07-131-0/+12
* Add simple test for TRANSITION_FNSEuAndreh2025-07-131-2/+2
* Revert "src/paca.mjs: Temporarily export internal functions"EuAndreh2025-07-121-4/+4
* src/paca.mjs: Temporarily export internal functionsEuAndreh2025-07-121-4/+4
* src/paca.mjs (tokenizeRegexStep): Simplify bodyEuAndreh2025-07-111-105/+127
* src/paca.mjs (tokenizeRegexStep): Fix missing concat when escapingEuAndreh2025-07-111-5/+8
* src/paca.mjs: Remove calls to arr.concat([]) with unneeded wrapping singleton...EuAndreh2025-07-111-14/+6
* src/paca.mjs (tokenizeRegexStep): Support tokenizing range exps {m,n}EuAndreh2025-07-111-2/+98
* src/paca.mjs (tokenizeRegexStep): Include `context` key in reduced stateEuAndreh2025-07-111-3/+8
* src/paca.mjs: Move error detection from tokenizeRegexStep => tokenizeRegexEuAndreh2025-07-111-8/+12
* src/paca.mjs: Remove unused repeat(3) importEuAndreh2025-07-111-1/+1
* Finish implementation of unit testsEuAndreh2025-07-091-14/+17
* Implement v0 version of NFA and DFA; WIP testsEuAndreh2025-07-071-0/+436