7c74c9e34f
Add optional (and unused) offset parameter to parse() signature
2024-06-05 00:32:04 -04:00
68fd85507d
Fold line breaks in HTML template blocks
2023-11-20 23:00:10 -05:00
fa11099850
Interpolate text blocks in html helpers
2023-11-20 22:54:56 -05:00
119933b9b6
Disallow ] in toplevel bare words, not just in command substitutions
...
Rationale: This differs from Tcl syntax, but means it's possible to recover a word knowing just its location in the source, without needing the surrounding context.
2023-11-20 16:45:13 -05:00
ec763f1029
POC debug aid to target words in the source code
2023-11-20 16:35:07 -05:00
bc4a3d7eb7
Syntax change: remove line-folding pass, but accept \ + newline as word separator within command
2023-11-20 15:22:07 -05:00
f5b79af2be
Capture position information for bare & quoted words that don't contain dynamic interpolations
2023-11-18 20:48:57 -05:00
da8429f6df
Capture position information for brace-quoted words
2023-11-18 18:55:18 -05:00
d57f409a13
Add source-position information to bare words
2023-11-18 18:37:58 -05:00
981ddd7a6d
Rename enchanted words to bare words
2023-10-18 20:09:07 -04:00
050c0568a8
tweak error messages a little
2023-09-08 14:47:24 -04:00
d6eacc886b
Simplify parser patterns
2023-09-08 00:47:47 -04:00
1b8929657a
Simplify parsing of enchanted words- special case grammar not needed
2023-08-31 22:58:44 -04:00
c39b4a4931
Rename parser module
2023-08-25 20:38:52 -04:00