Commit Graph

186 Commits

Author SHA1 Message Date
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
b93e60cc89 step 2024-08-02 17:51:12 -03:00
572a04bc12 Parse up to rules level 2024-08-02 17:33:01 -03:00
328197add5 Improved config parsing 2024-08-02 17:23:40 -03:00
7d7a4294ed Reorg 2024-08-02 17:09:05 -03:00
444db0abda nodeps 2024-08-02 17:07:53 -03:00
925c570bf3 Initial dumb stuff 2024-08-02 17:03:49 -03:00
1699024e8a Initial dumb stuff 2024-08-02 17:03:39 -03:00