| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | src/paca.mjs: Temporarily export internal functions | EuAndreh | 2025-07-12 | 1 | -4/+4 |
| | | |||||
| * | src/paca.mjs (tokenizeRegexStep): Simplify body | EuAndreh | 2025-07-11 | 1 | -105/+127 |
| | | | | | | | | | | | When handling a custom state, dispatch it to the appropriate function in `STATE_FNS`; and when looking for chars that enters these custom states, dispatch it to the appropriate function in `TRANSITION_FNS`. The body of each part didn't change, so no tests had to be modified. But now we can write specific tests for each case, and remove the bulk of the logic out of `tokenizeRegexFn()`. | ||||
| * | tests/paca.mjs (test_tokenizeRegexStep): Simplify table values | EuAndreh | 2025-07-11 | 1 | -704/+322 |
| | | |||||
| * | src/paca.mjs (tokenizeRegexStep): Fix missing concat when escaping | EuAndreh | 2025-07-11 | 1 | -5/+8 |
| | | |||||
| * | tests/paca.mjs: Add tests for numFromDigits() | EuAndreh | 2025-07-11 | 1 | -0/+17 |
| | | |||||
| * | src/paca.mjs: Remove calls to arr.concat([]) with unneeded wrapping ↵ | EuAndreh | 2025-07-11 | 1 | -14/+6 |
| | | | | | singleton array | ||||
| * | src/paca.mjs (tokenizeRegexStep): Support tokenizing range exps {m,n} | EuAndreh | 2025-07-11 | 2 | -2/+638 |
| | | |||||
| * | src/paca.mjs (tokenizeRegexStep): Include `context` key in reduced state | EuAndreh | 2025-07-11 | 2 | -121/+152 |
| | | |||||
| * | src/paca.mjs: Move error detection from tokenizeRegexStep => tokenizeRegex | EuAndreh | 2025-07-11 | 2 | -26/+34 |
| | | |||||
| * | tests/paca.mjs (test_tokenizeRegexStep): Compute `char` and `index` | EuAndreh | 2025-07-11 | 1 | -20/+7 |
| | | |||||
| * | src/paca.mjs: Remove unused repeat(3) import | EuAndreh | 2025-07-11 | 1 | -1/+1 |
| | | |||||
| * | Makefile: Minor fixes of indentation and alignment | EuAndreh | 2025-07-09 | 1 | -3/+3 |
| | | |||||
| * | Finish implementation of unit tests | EuAndreh | 2025-07-09 | 2 | -31/+881 |
| | | |||||
| * | Implement v0 version of NFA and DFA; WIP tests | EuAndreh | 2025-07-07 | 6 | -0/+1898 |
| | | |||||
| * | Initial empty commit | EuAndreh | 2025-06-30 | 0 | -0/+0 |
