Commit graph

169 commits

Author SHA1 Message Date
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
2d2d0c0969
TODO update 2026-01-01 17:03:22 -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
d8d126a4c5
updated TODO with new knowledge of mustache 2025-12-29 17:32:29 -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
65e7091899
tree-sitter seems necessary 2025-12-26 00:57:50 -05:00
Pagwin
dfeffdef2b
beginning work on CSS and JS minification 2025-12-25 23:24:33 -05:00
Pagwin
2bf95b0295
borsh 2025-12-14 01:44:23 -05:00
Pagwin
b8b19d5c6e
expanded syntax highlighting todo item 2025-12-14 00:03:52 -05:00
Pagwin
a7a0b3cb5d
added footnotes back to TODO 2025-12-13 20:59:51 -05:00
Pagwin
da9ce3dabc
removed completed things from TODO and re-ordered the items in it 2025-12-13 20:19:24 -05:00
Pagwin
233a8e0c39
changelog 2025-12-13 20:06:26 -05:00
Pagwin
a048b58b82
updated action.yml 2025-12-13 20:00:45 -05:00
Pagwin
2151143602
forgot to update dockerfile with new psb version 2025-12-13 19:02:41 -05:00
Pagwin
ef16ec5704
changed dockerfile to refer to a particular haskell version to avoid dependencies fucking up hopefully 2025-12-13 18:53:12 -05:00
Pagwin
cda6833f4b
added .git to .dockerignore 2025-12-13 18:52:41 -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
8c8457e431
fixed tests 2025-12-11 21:43:27 -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
Pagwin
628d85a8f3
handled nested lists 2025-12-10 15:16:11 -05:00