1f9147187d
Make docstring tests use an actual expression AST instead of text
...
matching
2025-03-25 15:40:59 -04:00
e80571e36f
Remove enum type prefix when printing enum
2025-03-16 17:07:22 -04:00
074cf22ad4
Change function syntax from func(args)->ret
to func(args -> ret)
2024-10-09 13:26:28 -04:00
75e0201fad
Improve automatic text quoting so it minimizes escape sequences when
...
possible.
2024-09-15 14:03:16 -04:00
43f4f3610e
For single-member structs/enums, don't print the member name
2024-09-12 04:09:52 -04:00
11fa4f548c
Support 'when' statements as expressions
2024-09-06 14:15:55 -04:00
6f3b2c073a
Add enum.tag
as a way to do a boolean test for whether a value has a
...
particular tag or not
2024-08-18 20:58:36 -04:00
f4b04a1b8c
Improved syntax for dollar-string literals
2024-08-18 14:44:15 -04:00
b37bd70b60
For tables, deprecate support for square bracket indexing and .default
...
values, replacing them with a `:bump()` function for tables with numeric
values. This means that counters can be implemented easily without the
need to mask complexity.
2024-08-10 16:03:41 -04:00
fba2b99b65
Support 'while when'
2024-05-23 12:40:21 -04:00
c2daf6a928
Clean up 'when' syntax
2024-05-01 13:53:51 -04:00
3c0a8f0b89
Syntax tweak: use ':' for blocks
2024-04-28 14:58:55 -04:00
63e6ba596a
Change table syntax to {key:value} instead of {key=>value}
2024-04-13 13:39:44 -04:00
6c01eef851
Introducing the main() function
2024-04-12 13:09:31 -04:00
5f3dac786c
Clean up codegen for empty tagged data
2024-03-17 22:17:21 -04:00
6905f759e5
Empty enums use a singleton instead of a constructor
2024-03-17 22:06:55 -04:00
47f627f5dd
Update test
2024-03-17 21:48:53 -04:00
0256972ca6
Fix test
2024-03-03 13:38:27 -05:00
65f684fb6a
Rename file extensions
2024-02-24 16:07:52 -05:00