summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* src/paca.mjs: Improve implementation of interpretMetacharactersHEADmainEuAndreh2025-08-012-41/+220
* Makefile: Install like a Node.js packageEuAndreh2025-07-312-6/+10
* tests/paca.mjs: Add WIP testsEuAndreh2025-07-201-0/+9
* src/paca.mjs: Rename buildDFA -> toDFAEuAndreh2025-07-202-22/+25
* src/paca.mjs: Support returning multiple options from `performTransition()`EuAndreh2025-07-201-5/+6
* Add initial support for caret and dollar metacharactersEuAndreh2025-07-202-22/+200
* .gitignore: Remove trailing slash from node_modules ruleEuAndreh2025-07-171-1/+1
* src/paca.mjs: Rename {start,end}ID => {start,end}EuAndreh2025-07-171-44/+42
* Do away with the "nextID" attributeEuAndreh2025-07-172-53/+10
* Support searching in the NFA using the metacharacters.EuAndreh2025-07-162-1/+123
* Compress character class when compiling NFA.EuAndreh2025-07-162-3/+174
* Build NFA nodes for "." and "class" metacharactersEuAndreh2025-07-162-38/+305
* Differentiate an "operator" from a "meta" characterEuAndreh2025-07-162-24/+72
* Only tolerate escaping of special charsEuAndreh2025-07-152-38/+59
* Support tokenizing `.` wildcard operator.EuAndreh2025-07-152-5/+29
* Support tokenizing `^` and `$` anchorsEuAndreh2025-07-152-1/+242
* 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
* src/paca.mjs (PRECEDENCE): Add "range" and "class" keysEuAndreh2025-07-151-0/+2
* tests/paca.mjs (test_escapingStateStep): Add tests for `escapingStateStep()`EuAndreh2025-07-151-0/+36
* Use `shouldConcat()` in decision of `escapingStateSte()`EuAndreh2025-07-152-11/+15
* Support tokenizing character class expressions [a-z]EuAndreh2025-07-152-5/+349
* tests/paca.mjs (test_rangeStateStep): Finish test cases for rangeStateStepEuAndreh2025-07-131-0/+139
* 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
* Add first test for `rangeStateStep()`EuAndreh2025-07-131-0/+17
* Hoist `numFromDigits()` before its usageEuAndreh2025-07-132-22/+22
* Add "[" to the possible characters of TRANSITION_FNS.EuAndreh2025-07-132-0/+30
* Add simple test for TRANSITION_FNSEuAndreh2025-07-132-2/+35
* 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
* tests/paca.mjs (test_tokenizeRegexStep): Simplify table valuesEuAndreh2025-07-111-704/+322
* src/paca.mjs (tokenizeRegexStep): Fix missing concat when escapingEuAndreh2025-07-111-5/+8
* tests/paca.mjs: Add tests for numFromDigits()EuAndreh2025-07-111-0/+17
* 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-112-2/+638
* src/paca.mjs (tokenizeRegexStep): Include `context` key in reduced stateEuAndreh2025-07-112-121/+152
* src/paca.mjs: Move error detection from tokenizeRegexStep => tokenizeRegexEuAndreh2025-07-112-26/+34
* tests/paca.mjs (test_tokenizeRegexStep): Compute `char` and `index`EuAndreh2025-07-111-20/+7
* src/paca.mjs: Remove unused repeat(3) importEuAndreh2025-07-111-1/+1
* Makefile: Minor fixes of indentation and alignmentEuAndreh2025-07-091-3/+3
* Finish implementation of unit testsEuAndreh2025-07-092-31/+881
* Implement v0 version of NFA and DFA; WIP testsEuAndreh2025-07-076-0/+1898
* Initial empty commitEuAndreh2025-06-300-0/+0