gingerBill
3e7e779abf
Replace core:* to base:* where appropriate
2024-01-28 22:18:51 +00:00
gingerBill
ddcaa0de53
Remove core:mem dependency from core:reflect
2024-01-28 20:52:01 +00:00
gingerBill
30636f5114
Change return values from Struct_Tag to string
2024-01-28 15:48:19 +00:00
gingerBill
2cc22d118d
Require parentheses for #align(N)
2023-08-15 14:55:02 +01:00
gingerBill
c91898a888
Remove #relative slices; Replace with #relative multi-pointers
2023-08-05 16:05:39 +01:00
gingerBill
3dec55f009
Replace x in &y Use &v in y syntax through core & vendor for switch/for statements
2023-06-26 15:42:57 +01:00
gingerBill
296674e18b
Rename ODIN_DISALLOW_RTTI to ODIN_NO_RTTI; Remove dead command line flags
2023-06-12 14:53:05 +01:00
jakubtomsu
65bf7f6653
Remove typo
2023-04-23 20:00:25 +02:00
gingerBill
0b064765c9
Add reflect.struct_field_value
2023-03-17 11:47:39 +00:00
gingerBill
6179d4feb1
Rename to Type_Info_Parameters
2023-02-08 11:23:21 +00:00
gingerBill
4cb16db4e9
Remove @(require_results) from one procedure
2023-01-30 12:51:56 +00:00
gingerBill
8d43cc840a
Add @(require_results) to package reflect
2023-01-29 11:28:05 +00:00
gingerBill
64047cbf05
Fix #2304
2023-01-16 11:02:42 +00:00
André (counter)
b3be2cdf9d
Aliasing some procs to avoid code repetition
...
Aliasing some procedures within package reflect so they reference procedures from package runtime.
This avoids redundancy and potential deviation.
Not 100% sure about the ODIN_DISALLOW_RTTI part but I think it should be congruent as well.
2022-12-09 18:14:47 +01:00
gingerBill
7b4a87d37c
Correct iterate_map
2022-11-10 12:33:49 +00:00
gingerBill
f6fc3ebe37
Add reflect/iterator.odin
2022-11-10 12:27:12 +00:00
gingerBill
6dd4d1a924
Correct reflection usage of maps
2022-11-08 11:50:55 +00:00
gingerBill
45f0c812af
Correct reflect.map_entry_info_slice
2022-11-08 11:21:45 +00:00
gingerBill
c96e0afbf1
Begin work on implementing the new map internals
2022-11-07 23:02:21 +00:00
gingerBill
0c9ddd51a4
Keep -vet happy
2022-09-08 16:55:40 +01:00
gingerBill
f77709e67e
Add intrinsics.type_convert_variants_to_pointers and reflect.get_union_as_ptr_variants
2022-09-08 16:52:51 +01:00
gingerBill
12c8db927b
Remove direct core:mem dependency in core:reflect
2022-08-26 16:46:19 +01:00
gingerBill
b50b6b9f33
Add reflect.get_union_variant
2022-08-26 16:19:16 +01:00
Jeroen van Rijn
e40b3ad338
Remove unused n from PQ; add reflect.is_bit_set
2022-08-18 18:00:25 +02:00
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
0571b80d37
Fix printing of bit_set types
2022-07-16 17:56:38 +01:00
gingerBill
3ec70c5517
Merge functionality of #maybe with the standard 'union' functionality
2022-05-23 12:04:19 +01:00
gitlost
4f5203e661
Fix some core:encoding/hxa stuff (error handling, header, max -> min)
...
Also add missing f16 case to core:reflect as_u64 & as_f64
Add tests for above & add previous tests missing from test/core/build.bat
2022-03-16 19:12:00 +00:00
gingerBill
1abd95094d
Add reflect.deref
2022-03-03 23:25:22 +00:00
gingerBill
14cb19c2df
Update fmt to record the bytes written in the fmt.Info
2022-02-20 22:31:13 +00:00
gingerBill
97be867103
Rename #partial[Enum]Type to #sparse[Enum]Type for non-contiguous enum fields
2022-02-05 13:01:15 +00:00
Andrea Piseri
e190c024fd
Fix logic in is_nil procedure: a non_nil slice means there is data to check.
2022-02-02 20:07:38 +01:00
gingerBill
1556fad65a
Change syntax for matrices to matrix[R, C]T
2021-10-19 11:31:11 +01:00
gingerBill
4c655865e5
Begin work on matrix type
2021-10-18 16:52:19 +01:00
gingerBill
d32d1b7e07
Add reflect.set_union_value
2021-09-30 12:04:27 +01:00
gingerBill
8e2a0be804
Add an extra optional ^int parameter to most io read/write calls allowing for simplified or_return use with incrementing byte usage
2021-09-29 13:59:47 +01:00
gingerBill
94a27224b2
Deprecate strings.write_quoted_* in favour of io.write_quoted_*; make reflect.write_type a little more robust with io.Error handling
2021-09-29 13:42:58 +01:00
gingerBill
931fdd2dca
Add reflect.any_base reflect.any_core
2021-09-25 17:47:23 +01:00
gingerBill
2800d4b8d0
Merge branch 'master' into optional-semicolons
2021-09-06 16:46:57 +01:00
gingerBill
e3809f5c1b
Allow comparisons of any if reflect.equal if including_indirect_array_recursion is enabled
2021-09-03 15:52:47 +01:00
gingerBill
c9f4fdc856
Update reflect.equal to support more types
2021-09-03 15:49:29 +01:00
gingerBill
11ae87cc2f
Add including_indirect_array_recursion argument to reflect.equal
2021-09-03 12:00:43 +01:00
gingerBill
7ed4f01d02
Add reflect.equal and reflect.not_equal
2021-09-03 11:02:31 +01:00
gingerBill
720884e0f1
Strip even more semicolons if followed by a } or ) on the same line
2021-08-31 23:47:57 +01:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00
gingerBill
18a0fa02c5
Add multi pointers to core
2021-08-21 23:16:14 +01:00
gingerBill
f0437a4242
Enforce core:builtin and core:intrinsics for imports
2021-08-21 13:44:16 +01:00
gingerBill
3e7aabe6d8
Change uses for parapoly records to use $ always
2021-06-14 11:43:35 +01:00
gingerBill
3ca887a60a
Add struct_fields_zipped and enum_fields_zipped (allowing for iteration through an #soa slice)
2021-06-14 11:04:51 +01:00
gingerBill
0a66f8c9a3
Remove intrinsics.x86_mmx type
2021-04-22 10:39:20 +01:00