gingerBill
ff92eb9112
Relative pointers
2020-05-15 17:37:00 +01:00
Tetralux
8d2430e54d
Add reflect.enum_from_name
...
Provides a way to go from a enum value name string to an actual enum value.
```
E :: enum { A, B }
// ...
s := "B";
v, ok := enum_from_name(E, s);
assert(ok && v == E.B);
```
2020-05-09 07:30:07 +00:00
gingerBill
1e321cd48c
Fix reflect.capacity and reflect.index
2020-04-15 19:00:05 +01:00
gingerBill
dbaf8568d6
Fix reflect.length
2020-04-15 18:56:19 +01:00
gingerBill
90593fe6ae
Endian specific floating point types (e.g. f32be)
2020-04-11 21:34:55 +01:00
gingerBill
4be385d648
Add more helpers to package reflect
2020-03-27 13:30:22 +00:00
gingerBill
e92fdb4a99
x if cond else y and x when cond else y expressions
2020-03-05 20:34:30 +00:00
gingerBill
10f0961184
Enumerated arrays [Enum_Type]Elem_Type
2019-12-27 12:51:02 +00:00
gingerBill
d1c9fd4e01
Implement #complete switch by default, replace with #partial switch #511
2019-12-22 12:03:48 +00:00
gingerBill
58d4d424c6
Replace #vector[N]T with #simd[N]T to reduce confusion #498
2019-12-15 11:30:09 +00:00
gingerBill
44e0e96612
Prepare SOA Struct code for slices and dynamic arrays *to be implemented*
2019-11-19 23:54:36 +00:00
gingerBill
d22e5b697d
Add new #soa and #vector syntax
2019-11-17 10:30:37 -08:00
gingerBill
4e8a801b35
strings.split; strings.index; eprint* over print*_err;
2019-10-06 18:13:15 +01:00
gingerBill
7bc146e6fd
Built-in Quaternions (Not just an April Fool's Joke any more)
2019-08-26 11:33:05 +01:00
gingerBill
4369298e96
Add reflect/types.odin
2019-08-13 23:21:51 +01:00
gingerBill
a58c29582e
Add new stuff to package reflect; fix -vet for odin_parser
2019-08-13 23:21:33 +01:00
gingerBill
3ad20a2d2d
Remove package types and merge with package reflect
2019-08-13 22:59:07 +01:00
gingerBill
4c065a7e99
Keep -vet happy
2019-08-13 22:27:52 +01:00
gingerBill
04036aba9c
package reflect; fix substring type bug; fix scoping rules for using on procedure parameter
2019-08-11 23:58:49 +01:00