|
0626c8619f
|
Working bytes-regexes, faster, MORE tests pass
|
2024-08-14 11:06:53 -03:00 |
|
|
3725201f8a
|
Merge branch 'main' of github.com:ralsina/tartrazine
|
2024-08-14 09:25:08 -03:00 |
|
|
5218af6855
|
lint
|
2024-08-13 22:06:19 -03:00 |
|
|
c898f395a1
|
reset stack on EOL instead of error, makes no difference, but it's in pygments version
|
2024-08-13 22:06:07 -03:00 |
|
|
56e49328fb
|
Tiny bug
|
2024-08-13 21:00:00 -03:00 |
|
|
8d7faf2098
|
0.3.0
|
2024-08-13 11:06:06 -03:00 |
|
|
2e87762f1b
|
API changes to make it nicer
These are incompatible, tho.
* Theme is now a property of the formatter instead
of passing it arounf
* get_style_defs is now style_defs
|
2024-08-13 10:57:02 -03:00 |
|
|
88f5674917
|
Tiny bug
|
2024-08-12 21:02:17 -03:00 |
|
|
ce6f3d29b5
|
Remove Re2 hack
|
2024-08-12 19:01:13 -03:00 |
|
|
46d6d3f467
|
Make how-heavy-is-bold configurable
|
2024-08-12 10:55:58 -03:00 |
|
|
78ddc69937
|
Merge branch 'main' of github.com:ralsina/tartrazine
|
2024-08-12 10:11:03 -03:00 |
|
|
b1ad7b64c0
|
oops
|
2024-08-12 10:10:51 -03:00 |
|
|
cbedf8a8db
|
Bump to 0.2.0
|
2024-08-11 13:24:30 -03:00 |
|
|
ec8c53c823
|
Added --line-numbers for the terminal formatter
|
2024-08-11 13:21:47 -03:00 |
|
|
e3a1ce37b4
|
Support guessing lexer by filename
|
2024-08-11 13:04:35 -03:00 |
|
|
b4f38e00e1
|
Script to generate lexer metadata constants
|
2024-08-11 12:41:22 -03:00 |
|
|
08daabe1c3
|
Cleanup token abbreviation generation script
|
2024-08-11 12:06:02 -03:00 |
|
|
e295256573
|
Implemented decent version of the CLI
|
2024-08-11 11:49:42 -03:00 |
|
|
f64c91801e
|
lint
|
2024-08-10 16:58:36 -03:00 |
|
|
8e29500fcf
|
Make line-numbers not-selectable. This makes the listing copy-friendly *AND* doesn't require wrapping things in tables
|
2024-08-10 16:54:46 -03:00 |
|
|
f2e638ce3b
|
Require main branch sixteen for now, line-highlight style improvements
|
2024-08-10 16:50:55 -03:00 |
|
|
84ee7e6934
|
JSON formatter
|
2024-08-09 16:58:15 -03:00 |
|
|
89d212b71c
|
Start actual CLI
|
2024-08-09 16:53:24 -03:00 |
|
|
a92d2501f7
|
HTML formatter option: wrap_long_lines
|
2024-08-09 16:20:30 -03:00 |
|
|
6b44bcb5ad
|
HTML formatter option: surrounding_pre
|
2024-08-09 15:59:49 -03:00 |
|
|
86a5894429
|
Hack luminance tweaking for creating highlight color (needs a proper implementation)
|
2024-08-09 14:54:00 -03:00 |
|
|
be12e0f4f1
|
Sort constants
|
2024-08-09 14:44:23 -03:00 |
|
|
96dcb7e15e
|
Fix line highlight for non-base16 themes
|
2024-08-09 14:42:33 -03:00 |
|
|
d1762f477a
|
Fix constants for non-base16 themes
|
2024-08-09 14:17:24 -03:00 |
|
|
f98f44365f
|
HTML formatter option: line_numbers / highlight_lines
|
2024-08-09 14:00:42 -03:00 |
|
|
d0c2b1764a
|
HTML formatter option: line_number_start / line_number_id_prefix
|
2024-08-09 13:28:05 -03:00 |
|
|
e6a292ade0
|
HTML formatter option: tab_width
|
2024-08-09 12:29:56 -03:00 |
|
|
4ced996f90
|
HTML formatter option: class_prefix
|
2024-08-09 12:21:02 -03:00 |
|
|
fd5af6ba3b
|
Starting to add options to HTML formatter: standalone
|
2024-08-09 11:57:23 -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 |
|
|
ece3d4163a
|
Bug
|
2024-08-09 11:03:32 -03:00 |
|
|
5c074344d5
|
Added helper files
|
2024-08-09 10:30:20 -03:00 |
|
|
d3439563f2
|
Use new sixteen api
|
2024-08-09 10:25:24 -03:00 |
|
|
8167af78f0
|
Remove JIT flag
|
2024-08-08 10:25:43 -03:00 |
|
|
ba50934005
|
Set more flags in regex
|
2024-08-08 08:37:23 -03:00 |
|
|
d293ec8d76
|
Set more flags in regex
|
2024-08-08 08:31:01 -03:00 |
|
|
b43501da98
|
Nicer ansi rendering
|
2024-08-07 20:47:02 -03:00 |
|
|
9824431317
|
tweak includes
|
2024-08-07 17:47:11 -03:00 |
|
|
2ad3cde7f1
|
tweak includes
|
2024-08-07 17:10:20 -03:00 |
|
|
aa1044ed22
|
ANSI formatter
|
2024-08-07 17:00:50 -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 |
|
|
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 |
|