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
/
optionals.tm
Age
Commit message (
Collapse
)
Author
2025-07-11
Use `assert` more in tests to give better error messages
Bruce Hill
2025-04-30
Update wording to remove 'null'
Bruce Hill
2025-04-06
Rename Array -> List in all code and docs
Bruce Hill
2025-04-06
Insert `then` for clarity
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
Minor test fix
Bruce Hill
2025-04-06
No more colons for blocks
Bruce Hill
2025-04-06
Change method calls to use `foo.baz()` instead of `foo:baz()`
Bruce Hill
2025-04-06
Deprecate `!!` print statement
Bruce Hill
2025-04-04
Misc fixes
Bruce Hill
2025-04-04
First working compile of refactor to add explicit typing to declarations
Bruce Hill
and support untyped empty collections and `none`s
2025-03-31
Remove threads and mutexed data from the language in favor of a
Bruce Hill
module-based approach
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
2025-01-02
Use `holding` blocks for mutexed data instead of lambdas
Bruce Hill
2025-01-02
Replace threads with generic mutexed datastructures.
Bruce Hill
2024-12-21
Support logical binary operators on optionals (promote to booleans)
Bruce Hill
2024-12-07
Rename "NONE" to "none"
Bruce Hill
2024-11-24
Clean up some more null->none renames and fix the documentation. Also
Bruce Hill
change the literal syntax to `NONE:T` instead of `!T`
2024-11-24
Rename "NULL" to "NONE"
Bruce Hill
2024-11-21
Add `NULL` as a syntax for null values.
Bruce Hill
2024-11-19
Go back to stringifying integers/num32s/bytes without the type
Bruce Hill
constructor.
2024-11-05
Deprecate bit-width integer/num literals in favor of using type
Bruce Hill
constructors
2024-10-09
Change function syntax from `func(args)->ret` to `func(args -> ret)`
Bruce Hill
2024-10-08
Add a test for optionals to ensure they size correctly
Bruce Hill
2024-09-16
Fix `not x` for optional values
Bruce Hill
2024-09-16
Deprecate :or_else()/:or_fail()/:or_exit() in favor of the `or` operator
Bruce Hill
2024-09-15
Add optional:or_exit(...)
Bruce Hill
2024-09-15
Fix up `if var := ...:` in ternary expressions and optional checking
Bruce Hill
logic
2024-09-15
Add a Byte datatype
Bruce Hill
2024-09-12
Make functions print with `func name(...)->... [file:line]` info
Bruce Hill
2024-09-12
Implement optional hashing/equality/comparisons
Bruce Hill
2024-09-12
For single-member structs/enums, don't print the member name
Bruce Hill
2024-09-12
Add postfix `!` operator for optionals
Bruce Hill
2024-09-11
Add optional:or_else(fallback) and optional:or_fail(message)
Bruce Hill
2024-09-11
Fix optional integer promotion
Bruce Hill
2024-09-11
More tests
Bruce Hill
2024-09-11
Optionals for threads
Bruce Hill
2024-09-11
Optional channels (plus fixed some channel bugs)
Bruce Hill
2024-09-11
Optional C Strings
Bruce Hill
2024-09-11
Optional enums (deprecated custom tag values)
Bruce Hill
2024-09-11
Optional structs
Bruce Hill
2024-09-11
Support `if x := blah: ...`
Bruce Hill
2024-09-11
Add optional types
Bruce Hill
2024-07-01
Add test for optionals
Bruce Hill