gingerBill
5e3cf45df3
Add #soa pointer type to aid with refactoring to #soa data types
...
a: #soa[16]Foo
p := &a[6]
#assert(type_of(p) == #soa^#soa[16]Foo)
p^.x = 123
p.x = 123
2022-08-08 15:07:00 +01:00
gingerBill
3ec70c5517
Merge functionality of #maybe with the standard 'union' functionality
2022-05-23 12:04:19 +01:00
gingerBill
3f935bea25
union #shared_nil
...
This adds a feature to `union` which requires all the variants to have a `nil` value and on assign to the union, checks whether that value is `nil` or not. If the value is `nil`, the union will be `nil` (thus sharing the `nil` value)
2022-03-24 11:55:03 +00:00
gingerBill
db6bd9b358
Allow sysv and win64 calling conventions to be used on any platform on amd64
2022-02-16 16:03:49 +00:00
gingerBill
3824937295
Remove debug code
2022-01-27 16:30:22 +00:00
gingerBill
32b37f3429
Support built-in procedures for doc format
2022-01-27 00:08:05 +00:00
gingerBill
7e11f3cc4b
Update doc format to allow for aliases
2022-01-26 23:31:47 +00:00
gingerBill
fe0b5bf4e2
Parse comments on enums fields
2022-01-24 23:28:59 +00:00
gingerBill
2554c72bb2
Update CommentGroup parsing for struct types
2022-01-24 14:47:33 +00:00
gingerBill
2b918ada4b
Add .Private information to doc-format
2022-01-19 17:15:10 +00:00
gingerBill
ecdaac9921
Unify are_types_identical_unique_tuples
2022-01-19 15:14:15 +00:00
gingerBill
5ff82fc113
Correct tuple name checking for doc writing
2022-01-19 15:11:42 +00:00
gingerBill
28a816ef25
Allow for entity grouping in structs and procedure signatures with the Odin doc-format
2022-01-19 14:57:27 +00:00
gingerBill
fb01dfe048
Improve docs_writer.cpp
2022-01-17 22:17:07 +00:00
gingerBill
686dbb4421
Correct odin doc comment printing
2022-01-17 14:43:42 +00:00
gingerBill
17613185e7
Support struct field tags in odin doc format
2022-01-04 11:44:34 +00:00
gingerBill
6ce5608003
Correct odin doc default parameter value init_string generation
2021-12-03 11:46:54 +00:00
gingerBill
e814a3693f
Improve usage of file_id
2021-11-15 17:26:01 +00:00
gingerBill
6646348e1a
Increase usage of PtrMap
2021-11-05 17:03:02 +00:00
gingerBill
47bef7a557
Update doc-format
2021-10-27 23:34:56 +01:00
gingerBill
ccab715bbc
Add support for matrix type in doc format
2021-10-27 23:26:17 +01:00
gingerBill
36a6805b7c
Update doc format for multi-pointers
2021-08-22 11:46:26 +01:00
gingerBill
7845769d4b
Remove unused code
2021-08-19 15:03:10 +01:00
gingerBill
76707e1d2f
Add sanity casts for 32/64 bit correctness
2021-07-12 11:03:12 +01:00
gingerBill
f19bb0f4d4
Make default calling convention code more correct to read
2021-06-08 14:33:49 +01:00
gingerBill
61084d832d
Add missing doc_format flags for entities and improve docs for the odin package
2021-06-05 15:55:19 +01:00
gingerBill
91b4bf3daa
Minor clean up
2021-06-02 10:39:47 +01:00
gingerBill
24fce21d90
Add "naked" calling convention (removes prologue and epilogue)
2021-04-28 10:49:30 +01:00
gingerBill
0a66f8c9a3
Remove intrinsics.x86_mmx type
2021-04-22 10:39:20 +01:00
gingerBill
ae04af4e4e
Add package flags
2021-04-18 20:19:03 +01:00
gingerBill
3baddd4116
Improve init_string determination for constants
2021-04-18 20:13:20 +01:00
gingerBill
6ae468828c
Improve odin-doc type information for Named types by storing the base type
2021-04-18 19:59:24 +01:00
gingerBill
4282688e60
Add calling_convention to odin-doc Type format
2021-04-18 19:26:21 +01:00
gingerBill
9b3fb25a41
Fix enumerated arrays for .odin-doc
2021-04-18 19:15:14 +01:00
gingerBill
2f1c896290
Add -doc-format command for the new .odin-doc file format (to be used to generate documentation tools)
2021-04-18 18:33:15 +01:00