Commit Graph

152 Commits

Author SHA1 Message Date
0c86e91b0b Use abbreviated token names in css 2024-08-06 21:28:33 -03:00
499cf7f623 Use token abbrevs in HTML 2024-08-06 20:17:26 -03:00
a9ff9bc8ac Added constants for token abbrev 2024-08-06 20:17:26 -03:00
420b68993c Made base16 work 2024-08-06 18:27:58 -03:00
94bc221545 Added test binary, code to read base16 themes 2024-08-06 18:03:05 -03:00
a2394a7313 Tweaks 2024-08-06 17:01:14 -03:00
fe917da89d Basic theme parser 2024-08-06 12:19:30 -03:00
3a37f8bdc7 Basic theme parser 2024-08-06 12:18:03 -03:00
7392c8a74e Basic theme parser 2024-08-06 11:33:06 -03:00
c6dce10322 Basic theme parser 2024-08-06 11:32:16 -03:00
f3cdb47a96 Style interface 2024-08-05 13:59:51 -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
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
1699024e8a Initial dumb stuff 2024-08-02 17:03:39 -03:00