Commit graph

62 commits

Author SHA1 Message Date
Pagwin
1a2feb95e9
bunch of work on djot 2026-04-10 15:22:06 -04:00
Pagwin
cc4f0b7672
started work on inline elements 2026-04-08 17:16:25 -04:00
Pagwin
abf93fbd8b
all block level elements other than paragraph are handled 2026-04-08 15:55:23 -04:00
Pagwin
12280ef761
lots of block level work for djot 2026-04-07 17:26:19 -04:00
Pagwin
4bf7614eda
fixed with mempty and simplified working with attrs a bit 2026-04-06 22:37:14 -04:00
Pagwin
5073fdb04b
started on Djot implementation 2026-04-06 21:18:15 -04:00
Pagwin
b3d9999479
fixed minor bugs 2026-04-06 16:29:01 -04:00
Pagwin
eaf5d9408c
Began using Transparent 2026-04-06 15:36:36 -04:00
Pagwin
22f4f89137
naive refactor of markdown generation for the new IR 2026-04-06 15:17:39 -04:00
Pagwin
24606a9204
preliminary djot changes to IR made 2026-04-06 13:41:12 -04:00
Pagwin
c90d2e45b8
todo stuff and fixing images 2026-04-03 17:48:26 -04:00
Pagwin
2a87e61a05
oop html block got parsed correct and then didn't do correct whitespace 2026-02-27 22:51:28 -05:00
Pagwin
4eaa44b4f1
handled leading slash 2026-02-23 21:59:20 -05:00
Pagwin
c447aab1b9
fixed what gets passed into our templates file bundling wise 2026-02-23 21:57:11 -05:00
Pagwin
009806c2b0
esbuild stdout and stderr are yeeted for now, may make use of exit code as circumstance to emit them again in future 2026-02-23 21:20:04 -05:00
Pagwin
b3808f4136
MVP Bundling is now implemented
This commit gets bundling to the point where it can be used now

TODO:
- Get ESBuild Stdout/stderr to not pop up in psb output
- figure out how to split off map files so I'm not shunting them into
  script tags
2026-02-23 17:14:31 -05:00
Pagwin
8082f95491
swapped to a single js and single css entrypoint and my brain hurts 2026-02-05 00:27:46 -05:00
Pagwin
b8064a8d3e
more work to get esbuild up 2026-02-02 22:22:27 -05:00
Pagwin
c3637bd12d
added a module for bundling 2026-01-31 19:53:20 -05:00
Pagwin
e7dfb662ed
fix type errors in javascript tokenizer
Fixed three type errors preventing compilation:
- template_char: properly convert Tokens s to s for string literals and eol
- regex_literal: correctly apply fromString to parser result, not parser itself
- reg_first_char: use explicit list notation to resolve noneOf ambiguity

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-31 15:09:45 -05:00
Pagwin
cf4f35f997
all of javascript tokenizer is done other than compiler errors 2026-01-31 01:35:08 -05:00
Pagwin
dea8577f14
regex is all that remains 2026-01-03 21:08:26 -05:00
Pagwin
11d2228362
just string and regex literals left barring me fucking up implementation of integer literals 2026-01-02 20:49:57 -05:00
Pagwin
1f89316fdf
trying to do more for js parser 2026-01-01 17:03:46 -05:00
Pagwin
cd5e094eca
handled reserved words whether an expression is allowed or not 2025-12-31 15:16:55 -05:00
Pagwin
7388aee8d1
did a lot of the work for handling slashes 2025-12-30 23:48:20 -05:00
Pagwin
83d99c84af
fixed compilation error(s) 2025-12-30 21:07:17 -05:00
Pagwin
4894bf8ff7
more progress into compile error 2025-12-30 19:33:24 -05:00
Pagwin
3c2871217e
forward slash handling and literal handling are all that's left 2025-12-30 01:19:38 -05:00
Pagwin
8bc5c481c1
added a function for future convenience with mustache 2025-12-30 00:45:42 -05:00
Pagwin
27e08cbc7a
refactored to use ToMustache instead of ToJSON 2025-12-29 19:28:55 -05:00
Pagwin
9299f07f8e
started working on displaying tokens 2025-12-29 12:25:39 -05:00
Pagwin
7df40c237c
more js tokenization work 2025-12-28 20:38:13 -05:00
Pagwin
0f44431086
changed main code to handle refactored js parsing API 2025-12-28 20:38:04 -05:00
Pagwin
478fec0000
API refactor 2025-12-27 19:49:26 -05:00
Pagwin
cb0cfebae3
rethought how fingerprinting should work 2025-12-26 22:29:26 -05:00
Pagwin
e03bd6c2ef
javascript tokenization continues oh boy identifier chars allowed is going to be fun though 2025-12-26 22:27:12 -05:00
Pagwin
aeb70675a9
factored out some useful parsing utilities to a separate file and began work on javascript tokenization 2025-12-26 14:02:29 -05:00
Pagwin
dfeffdef2b
beginning work on CSS and JS minification 2025-12-25 23:24:33 -05:00
Pagwin
ecf11f4aa0
forgot inline code 2025-12-13 18:41:09 -05:00
Pagwin
4b40fa19ad
fixed HTML block case, and greedy plain inline text 2025-12-13 16:53:23 -05:00
Pagwin
132496cdca
removed debug log and handled list newlines correctly, this was concerningly easy 2025-12-13 16:11:16 -05:00
Pagwin
bdb14c3535
tests are passing suspiciously easily, only need to handle nested lists 2025-12-12 20:36:37 -05:00
Pagwin
01877943a1
the infinite loops are over and the debug loop begins 2025-12-12 13:42:37 -05:00
Pagwin
2d2df00dfd
infinite loop whack a mole 2025-12-11 21:43:36 -05:00
Pagwin
ad337e7897
fully implemented html 2025-12-11 20:47:43 -05:00
Pagwin
35e55b0e43
forM -> traverse 2025-12-11 15:52:46 -05:00
Pagwin
667477e01d
fixed toText issue 2025-12-11 13:18:05 -05:00
Pagwin
b8d76d7663
struggling more with the type system than html 2025-12-10 21:41:21 -05:00
Pagwin
0acf1668c0
ordered list prefix 2025-12-10 15:22:08 -05:00