index
:
tomo
bigints
constructive-reals
decimals
dev
doctests-to-debuglog
formatter
internal-texts
main
optional-list-indexing
optionals
paths
simplified-quotes
static-dependencies
str-paths
table-colons
text2
unicode-identifiers
wordier-types
The Tomo programming language
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
test
/
enums.tm
Age
Commit message (
Collapse
)
Author
2025-12-07
Consolidate logic for enums with and without tags with fields.
Bruce Hill
2025-11-23
Accessing enum fields now gives an optional value instead of a boolean
Bruce Hill
2025-09-21
Fix tests
Bruce Hill
2025-09-21
Fix tests
Bruce Hill
2025-09-21
Deprecate sets
Bruce Hill
2025-09-21
Add anonymous enum tests
Bruce Hill
2025-09-06
Merge branch 'main' into optional-list-indexing
Bruce Hill
2025-08-31
Switch to using optional return values for list indexing.
Bruce Hill
2025-08-29
Remove special case for `while when`
Bruce Hill
2025-07-11
Use `assert` more in tests to give better error messages
Bruce Hill
2025-04-06
Merge branch 'main' into no-colons
Bruce Hill
2025-04-06
Change Set syntax from {x} to |x|
Bruce Hill
2025-04-06
No more colons for blocks
Bruce Hill
2025-04-06
Re-implement multiple patterns for `when` blocks
Bruce Hill
2025-04-06
Change method calls to use `foo.baz()` instead of `foo:baz()`
Bruce Hill
2025-03-25
Make docstring tests use an actual expression AST instead of text
Bruce Hill
matching
2025-03-16
Remove enum type prefix when printing enum
Bruce Hill
2024-10-09
Change function syntax from `func(args)->ret` to `func(args -> ret)`
Bruce Hill
2024-09-15
Improve automatic text quoting so it minimizes escape sequences when
Bruce Hill
possible.
2024-09-12
For single-member structs/enums, don't print the member name
Bruce Hill
2024-09-06
Support 'when' statements as expressions
Bruce Hill
2024-08-18
Add `enum.tag` as a way to do a boolean test for whether a value has a
Bruce Hill
particular tag or not
2024-08-18
Improved syntax for dollar-string literals
Bruce Hill
2024-08-10
For tables, deprecate support for square bracket indexing and .default
Bruce Hill
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-05-23
Support 'while when'
Bruce Hill
2024-05-01
Clean up 'when' syntax
Bruce Hill
2024-04-28
Syntax tweak: use ':' for blocks
Bruce Hill
2024-04-13
Change table syntax to {key:value} instead of {key=>value}
Bruce Hill
2024-04-12
Introducing the main() function
Bruce Hill
2024-03-17
Clean up codegen for empty tagged data
Bruce Hill
2024-03-17
Empty enums use a singleton instead of a constructor
Bruce Hill
2024-03-17
Update test
Bruce Hill
2024-03-03
Fix test
Bruce Hill
2024-02-24
Rename file extensions
Bruce Hill