Commit Graph

104 Commits

Author SHA1 Message Date
gingerBill
21c1abe15a Add fmt formatting for runtime.Source_Code_Location 2020-12-05 12:03:38 +00:00
gingerBill
5d0db4c63a Clean up fmt usage with io.Writer and strings.Builder 2020-12-04 15:04:54 +00:00
gingerBill
18da0b3418 Integrate package io into core library 2020-12-03 10:45:26 +00:00
gingerBill
b08ec005b2 Keep -vet happy 2020-11-23 18:33:49 +00:00
gingerBill
91758656f6 Change internal layout of map[K]V 2020-11-23 18:25:01 +00:00
gingerBill
a14ea5b2b5 Add support for %s and %q for [dynamic]byte 2020-11-20 16:25:11 +00:00
gingerBill
63e4a2341f Support string literals for fixed arrays of runes; Add %q support for arrays/slices of bytes 2020-11-20 16:24:23 +00:00
gingerBill
87956676f5 Add %s support for arrays and slices of bytes 2020-11-20 16:01:16 +00:00
gingerBill
fef5172278 Add %q for runes in fmt 2020-11-18 23:40:54 +00:00
gingerBill
c604e359c7 Move flush to within the sbprint* procedures 2020-10-01 12:09:38 +01:00
gingerBill
66c648e5e0 Remove unused variable 2020-10-01 12:05:42 +01:00
gingerBill
e83af93394 Allow flushing with strings.Builder; Make fmt.fprint* procedures use a custom flush procedure 2020-10-01 12:03:20 +01:00
gingerBill
9513cf1ac6 Fix os.stat code; make fmt.panicf diverging 2020-09-30 22:04:39 +01:00
gingerBill
626d0736f4 Add more to package reflect (as_string, as_pointer, as_raw_data, relative_pointer_to_absolute) 2020-09-27 00:15:16 +01:00
gingerBill
e26f63b448 Update package reflect 2020-09-26 23:51:42 +01:00
gingerBill
6b634d5e46 Fix fmt with -vet 2020-09-25 15:54:23 +01:00
gingerBill
903ba1c5d8 Add built-in custom formatters for time.Time and time.Duration 2020-09-25 15:47:39 +01:00
gingerBill
fc4fdd588e Remove usage of do in core library 2020-09-23 17:17:14 +01:00
gingerBill
7f48cf8405 [REFLECTION BREAKING] Modify the internals of the map type to increase performance 2020-09-07 11:41:42 +01:00
gingerBill
251a3a690e Add optional sep parameter to fmt.*print and fmt.*println procedures 2020-06-25 15:00:50 +01:00
gingerBill
aeafed0218 Add fmt.DEFAULT_BUFFER_SIZE to be configurable with #config(FMT_DEFAULT_BUFFER_SIZE, 1<<12) 2020-06-19 15:08:54 +01:00
gingerBill
3a4bbfcfae Change fmt.*print behaviour to match fmt.*println behaviour 2020-06-19 15:01:39 +01:00
gingerBill
9f596d6f34 Clean up package log code 2020-06-19 11:18:23 +01:00
gingerBill
a229f9825b Fix -vet warning for fmt.printf("%10s") 2020-06-12 23:13:26 +01:00
Josh
6648dc9ed1 use width in when printing formatted string to control padding added after the string 2020-06-12 18:05:40 -04:00
gingerBill
0ffb718a91 Add fmt.User_Formatter 2020-06-08 12:40:50 +01:00
gingerBill
f992e36f9a Rename reflect.to_* to reflect.as_* 2020-06-05 10:38:38 +01:00
gingerBill
11dd971e13 Add reflect.{to_int, to_uint, to_i64, to_u64, to_f64} 2020-06-05 10:27:32 +01:00
gingerBill
d80049bfd2 Change runtime.Type_Info_Enum_Value to be i64 internally rather than a union 2020-06-03 21:10:07 +01:00
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