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
/
enums.c
Age
Commit message (
Collapse
)
Author
2025-03-21
Move files into src/ and build into build/
Bruce Hill
2025-03-16
Fixes for opaque external structs
Bruce Hill
2025-03-11
Add extern structs
Bruce Hill
2025-03-11
Modify compile_type_info() so it no longer needs an env_t
Bruce Hill
2025-03-11
For enums, switch `enum.tag` and `enum.$Foo` so it's now `enum.$tag` and
Bruce Hill
`enum.Foo`
2025-03-05
Overhaul of constructors, making it more consistent and correct. Also
Bruce Hill
changed T(), T, T_t, T_s type names to T(), T$$info, T$$type, T$$struct for unambiguity
2025-02-19
Restructure compile_file() so it moves a bit more towards less usage of
Bruce Hill
side effects
2025-02-10
Fix sequencing issue with typedefs for structs/enums
Bruce Hill
2024-12-22
Add optimized metamethods for enums and structs that hold packed data
Bruce Hill
2024-11-29
Change how types handle metamethods
Bruce Hill
2024-10-30
Organize typedef headers so the typedefs come before the namespace
Bruce Hill
members
2024-10-08
Simplify enum/struct codegen by using reusable general-purpose
Bruce Hill
metamethods for structs/enums instead of metamethod codegen for each struct/enum defined.
2024-09-30
Rename TypeInfo -> TypeInfo_t and fix up some typeinfo code
Bruce Hill
2024-09-24
Add '$' prefix on all user code
Bruce Hill
2024-09-18
Clean up struct code a bit
Bruce Hill
2024-09-18
Clean up enum code
Bruce Hill
2024-09-17
Overhaul of header logic so it now uses topological ordering and
Bruce Hill
deduplication for libraries with multiple files.
2024-09-13
Rename builtins/ -> stdlib/
Bruce Hill
2024-09-13
Move cord helper functions into their own file
Bruce Hill
2024-09-12
For single-member structs/enums, don't print the member name
Bruce Hill
2024-09-11
Optional enums (deprecated custom tag values)
Bruce Hill
2024-09-08
Fix nearly every GCC warning and add __attribute__((pure/const)) where
Bruce Hill
appropriate
2024-09-05
Fully clean up siphash code and fix some issues
Bruce Hill
2024-09-03
Use Text("...") literal constructor instead of Text$from_str("...")
Bruce Hill
function call.
2024-09-02
Fix enums/structs
Bruce Hill
2024-08-19
Dim the secret ellipsis
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-03
Change structs/enums so they allow for field/tag names that are C
Bruce Hill
keywords
2024-07-23
Fix for order of operations issues with enum and function typedef code
Bruce Hill
2024-07-04
Randomize hash key on startup and rename to TOMO_HASH_KEY.
Bruce Hill
2024-06-16
Remove some dead code and support -l as a tomo flag
Bruce Hill
2024-06-16
Support library name as a separate environment field from namespace
Bruce Hill
2024-06-16
Fix issue with type namespaces not getting properly prefixed by library
Bruce Hill
namespace
2024-06-06
Split header compilation into a separate function
Bruce Hill
2024-05-21
Improve codegen for enums and structs (change $tag$Foo$Baz to
Bruce Hill
Foo$tag$Baz)
2024-05-21
Reduce codegen output for enums without data attached to any tags
Bruce Hill
2024-04-14
Rename SSS_HASH_VECTOR -> TOMO
Bruce Hill
2024-03-29
Switch naming convention to use '$' in symbols more
Bruce Hill
2024-03-18
Add some better file comments
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
Preface symbols with file prefix
Bruce Hill
2024-03-10
Rearranging some files
Bruce Hill
2024-03-09
Change lang stringification to include type name
Bruce Hill
2024-03-09
First pass at lambdas/closures
Bruce Hill
2024-03-08
Refactor table methods to take table structs where possible
Bruce Hill
2024-03-06
Fix namespace initializers
Bruce Hill
2024-03-05
Fix default values for structs
Bruce Hill
2024-03-04
Struct and enum methods and static members
Bruce Hill
2024-03-03
Rename as_str -> as_text
Bruce Hill
[next]