Commit graph

16 commits

Author SHA1 Message Date
50df27c50e Add more ability to communicate what was expected in the error 2023-08-04 01:24:02 -04:00
58cd1a56b2 Output fancier error message on parse error 2023-08-04 00:26:15 -04:00
7ad94d13a6 Report parse error position 2023-08-04 00:18:17 -04:00
0a7e051ab5 Match entire script from a top level grammar symbol 2023-08-03 23:15:14 -04:00
36f78982e6 Make pattern mapping chained 2023-07-29 16:26:41 -04:00
e61485012e Make thunk used for recursive braces more understandable 2023-07-29 14:50:49 -04:00
97aca502a8 Use locals for readability 2023-07-29 13:50:13 -04:00
9333357e44 Start matching {braces} and nested braces 2023-07-29 13:41:47 -04:00
88497965b3 Parse Commands with Peg 2023-07-29 01:45:55 -04:00
347af33bf1 Use PEG to strip whitespace/comments before commands 2023-07-29 01:14:00 -04:00
64c2d1c35d Namespace Notcl 2023-07-29 00:37:25 -04:00
71581253d5 factor out helpers for PEG parsing 2023-07-29 00:26:29 -04:00
7b42a496c2 Start a PEG-inspired approach to parsing 2023-07-29 00:11:54 -04:00
ac8479bf61 Fix logic around newline folding/escaping, since test data was being escaped more than expected. 2023-07-27 21:08:34 -04:00
1ee71e4ab8 Initial HTML escape plan is a bust, for the excellent reason that & contains a semicolon
which is meaningful TCL-ish syntax.
2023-07-27 02:00:23 -04:00
eca8c6218f Stub parser for code 2023-07-27 01:54:06 -04:00