Commit Graph

75 Commits

Author SHA1 Message Date
gingerBill
ff92eb9112 Relative pointers 2020-05-15 17:37:00 +01:00
gingerBill
f661d34049 Implement Explicit context creation #639 2020-05-14 00:13:26 +01:00
gingerBill
90593fe6ae Endian specific floating point types (e.g. f32be) 2020-04-11 21:34:55 +01:00
gingerBill
488282409f Fix shadowing for -vet 2020-03-30 15:22:42 +01:00
gingerBill
3c189d2cf6 Add basic support for Python-style {} printf formatting 2020-03-30 12:21:44 +01:00
gingerBill
93955a0fd8 Remove context.std* parameters; Fix unary boolean not 2020-03-19 15:03:02 +00:00
gingerBill
fb686bdebd Remove the need for parapoly to print an enum as a string 2020-03-07 16:19:55 +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
0f399a7294 Add union #maybe 2020-02-01 11:10:28 +00:00
gingerBill
20b410f149 Fix #540 2020-01-15 11:56:42 +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
Justas Dabrila
95d3f43e15 Fix 'string_to_enum_value' not compiling 2019-12-14 01:08:47 +02:00
gingerBill
9db81498d8 Make the string type elements "immutable", akin to char const * in C
Allows for extra security and optimization benefits
2019-12-01 14:10:59 +00:00
gingerBill
321dcc60e3 Update fmt.odin 2019-11-21 14:41:12 +00:00
gingerBill
2c5a84bb78 #soa[]Type (Experimental) 2019-11-21 00:07:21 +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
013b3b9fb3 Fix for -vet 2019-11-03 11:42:00 +00:00
gingerBill
dc0f04e53b Fix typo in fmt 2019-11-03 00:50:47 +00:00
gingerBill
40606d9272 Fix fmt printing of anonymous SOA structs 2019-11-03 00:47:27 +00:00
gingerBill
ebf7926fa4 SOA support of Structures and Arrays; Runtime information for SOA structs; fmt printing support for SOA structs 2019-11-03 00:32:22 +00:00
gingerBill
1b8c3ca22a Fix typos and make demo work with -vet 2019-10-08 20:28:45 +01: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
3ad20a2d2d Remove package types and merge with package reflect 2019-08-13 22:59:07 +01:00
gingerBill
f25818e923 Make procedure parameters just named values rather than copied variables 2019-07-15 21:18:37 +01:00
gingerBill
4ab9edeb53 union #no_nil 2019-07-09 10:28:13 +01:00
gingerBill
d99ffe604f Fix unions with zero variants 2019-07-07 14:38:11 +01:00
gingerBill
c40acd008e Add i128/u128 support for bit sets 2019-05-28 20:53:56 +01:00
gingerBill
3d2279fba0 Support 128-bit integers i128 u128 2019-05-28 20:27:45 +01:00
gingerBill
fb3d73cb20 Make core library use a..<b rather than doing a..b-1 2019-05-28 12:52:20 +01:00
gingerBill
68d4bde82f Overrideable stdin, stdout, stderr at the context level 2019-03-30 14:51:42 +00:00
gingerBill
b978959fae Improve package strconv 2019-03-24 20:58:01 +00:00
gingerBill
400558abcd Fix fmt.println a rawptr causes access violation #356 2019-03-19 20:27:29 +00:00
gingerBill
3a31444656 Minor changes to fmt of auto deferencing 2019-03-16 11:00:37 +00:00
gingerBill
f7efaf2ba2 fmt.printf support for pointer to container (one level deep) 2019-03-16 00:10:57 +00:00
gingerBill
14c6f2f258 Add extra pointer printing options to fmt.printf 2019-03-15 23:49:47 +00:00
gingerBill
231f3cc15a %h support in fmt.printf for hexadecimal floats 2019-03-15 23:22:05 +00:00
gingerBill
332e598357 %e and %g support in fmt.printf 2019-03-15 23:13:06 +00:00
gingerBill
15d3f4c190 Allow implicit selector expressions in switch statements 2019-03-06 16:23:50 +00:00
gingerBill
4c51384ad6 intrinsics.vector type (Experimental) 2019-02-23 16:44:16 +00:00
gingerBill
5af20aa467 Make encoding/json use []byte rather than string 2019-01-07 23:08:38 +00:00
gingerBill
6c21e99832 json.marshal 2019-01-06 23:32:50 +00:00
gingerBill
6295f6747f strings.write_quoted_string 2019-01-06 22:16:14 +00:00
gingerBill
64f84ef9a3 fmt.printf("%q", str); (quotes strings) 2019-01-06 22:11:45 +00:00
gingerBill
594238a86c Reorganize fmt and strings; Replace fmt.String_Buffer with strings.Builder 2019-01-06 14:41:42 +00:00
gingerBill
5acea1bceb Source_Code_Location.hash; %#v printing for Source_Code_Location; allow typeid for map keys 2019-01-05 15:56:47 +00:00
thebirk
a32f024d94 Fixed bug for Bill because he is a lazy boi. 2019-01-02 16:18:55 +01:00
thebirk
bcbb59dc11 Fixed int_from_arg not consuming argument. 2019-01-02 15:56:35 +01:00
gingerBill
f647187e53 Fix defer on branching with new scoping rules 2019-01-01 11:59:09 +00:00