Commit Graph

24 Commits

Author SHA1 Message Date
3406515a44 Make string escapes more normal: "\n" for newline, etc. Backticks can be
used to put in literal code without escape sequences.
2025-04-06 22:26:12 -04:00
6782cc5570 No more colons for blocks 2025-04-06 16:07:23 -04:00
2bb2ff871f Change method calls to use foo.baz() instead of foo:baz() 2025-04-06 14:20:18 -04:00
4d59fc2987 Move patterns into a module 2025-04-01 14:05:10 -04:00
a3c4e0a82d Rename without_escaping() -> from_text() 2025-03-12 18:12:53 -04:00
39dd1ca27d Add convert keyword for defining conversions 2025-03-10 12:42:45 -04:00
37e96dbda5 Change lang.text_content to lang.text 2025-03-01 16:53:58 -05:00
fab0083129 Support post-hoc definitions of escaping rules for DSLs 2025-03-01 16:04:14 -05:00
058a028aef Switch to langs using constructors 2025-02-19 18:50:50 -05:00
645d66e0de Change table syntax to {key=value} and {:K,V}/{K,V} 2025-01-12 16:49:58 -05:00
38b3b7b181 Add lang test for indexing 2024-12-26 17:32:10 -05:00
b8d7eabc02 Deprecate bit-width integer/num literals in favor of using type
constructors
2024-11-05 15:18:32 -05:00
074cf22ad4 Change function syntax from func(args)->ret to func(args -> ret) 2024-10-09 13:26:28 -04:00
800e386105 Rename from_unsafe_text to without_escaping 2024-09-24 13:26:49 -04:00
e422079fcc Add a Byte datatype 2024-09-15 15:33:47 -04:00
75e0201fad Improve automatic text quoting so it minimizes escape sequences when
possible.
2024-09-15 14:03:16 -04:00
c14ed3e3e7 Add Text.replace_all({Pattern:Text}) and tweak API for replacement to
support placeholders
2024-09-03 20:48:11 -04:00
64143f0a13 Syntax overhaul (comments back to #, print statments to !!),
using `$/.../` for patterns and using a DSL for patterns
2024-09-03 13:19:41 -04:00
934b843b1c Add .text_content as a field on DSLs instead of a method 2024-08-19 14:29:58 -04:00
f4b04a1b8c Improved syntax for dollar-string literals 2024-08-18 14:44:15 -04:00
04603308af Tweak test code 2024-08-18 12:52:53 -04:00
3c0a8f0b89 Syntax tweak: use ':' for blocks 2024-04-28 14:58:55 -04:00
6c01eef851 Introducing the main() function 2024-04-12 13:09:31 -04:00
170c0a4197 Add lang tests 2024-03-09 19:03:35 -05:00