Commit Graph

55 Commits

Author SHA1 Message Date
6f797f999a fix: make it easier to import the Ansi formatter 2024-09-04 11:37:36 -03:00
8d7faf2098 0.3.0 2024-08-13 11:06:06 -03:00
cbedf8a8db Bump to 0.2.0 2024-08-11 13:24:30 -03:00
08daabe1c3 Cleanup token abbreviation generation script 2024-08-11 12:06:02 -03:00
47237eecc3 Refactor things into separate files for easier reading 2024-08-09 11:31:18 -03:00
a0ff4e0118 0.1.1 2024-08-09 11:11:17 -03:00
9824431317 tweak includes 2024-08-07 17:47:11 -03:00
2ad3cde7f1 tweak includes 2024-08-07 17:10:20 -03:00
f0d6b01362 add requires 2024-08-07 16:44:05 -03:00
e1048abe33 add requires 2024-08-07 16:42:38 -03:00
d5581a356e Baked fs 2024-08-07 16:28:26 -03:00
e0f697f1f9 refactor 2024-08-06 23:34:14 -03:00
a9ff9bc8ac Added constants for token abbrev 2024-08-06 20:17:26 -03:00
a2394a7313 Tweaks 2024-08-06 17:01:14 -03:00
45e36b702c Removed fixed fixme 2024-08-05 10:01:23 -03:00
03b81c2e54 Nicer tokenize flow 2024-08-05 07:54:14 -03:00
dc5b982a0b Workaround for the regex problem 2024-08-04 21:38:00 -03:00
08347b600f lint 2024-08-04 20:25:12 -03:00
b1c8793ded Added logging for trace 2024-08-04 20:24:48 -03:00
cb02a18b03 lint 2024-08-04 20:09:15 -03:00
935e72c18e refactor 2024-08-04 20:00:48 -03:00
696227a935 lint 2024-08-04 19:54:34 -03:00
70cfbef572 refactor 2024-08-04 19:54:25 -03:00
ab263ac26f refactor 2024-08-04 19:47:54 -03:00
e7c2053222 Reorganize tests into a real spec suite 2024-08-04 19:18:43 -03:00
57c160173c 98.53% passing 2024-08-04 17:45:32 -03:00
12498624a2 Back to multiline regexes 2024-08-04 11:59:34 -03:00
25b7097ee4 Restrict text to match to be just until EOL, to help matchers that expect to match $ 2024-08-04 11:46:41 -03:00
6c22222f0a Implement sub-emitters 2024-08-03 21:37:22 -03:00
937b9d50e0 Implement 'combined' emitter 2024-08-03 19:25:09 -03:00
f396e5dd33 Implement 'using' emitter 2024-08-03 19:06:06 -03:00
f07db4ae04 51 good tests now 2024-08-03 18:46:45 -03:00
e625d6604a Process all 425 tests without crashing 2024-08-03 17:15:12 -03:00
db66777a8b Implemented bygroups 2024-08-03 10:26:36 -03:00
7524f4330a Let's go nuts and try to tokenize ALL THE PYGMENTS TESTS 2024-08-03 09:42:32 -03:00
b3dfa5e28f comments 2024-08-03 07:44:28 -03:00
f80869db1f Added TODO 2024-08-03 07:39:26 -03:00
99e1e2b0cb Imported test cases from pygments 2024-08-03 07:36:47 -03:00
c9df4be879 Implemented pop 2024-08-03 07:28:16 -03:00
ca1c9ade6c Implemented pop 2024-08-03 07:27:29 -03:00
ba9a25e56e Implemented push 2024-08-03 07:24:55 -03:00
2c49457ca3 Make it fail when running into an unknown emitter 2024-08-03 07:21:21 -03:00
b82a535928 refactor 2024-08-03 06:37:15 -03:00
d47c946e8b Parsing plaintext works! 2024-08-03 06:05:29 -03:00
270f51a811 Done parsing (in a dumb way) 2024-08-03 05:26:32 -03:00
54e7b63c81 Enumerate all emitters 2024-08-03 05:13:34 -03:00
1bcd979cf6 Go through all lexers 2024-08-03 05:05:01 -03:00
50d1873c7c Parse up to emitters and transformers 2024-08-02 20:32:15 -03:00
ea35f38db1 Parse rules correctly 2024-08-02 20:01:53 -03:00
a460d553c4 States are a hash 2024-08-02 19:48:58 -03:00