Commit Graph

2996 Commits

Author SHA1 Message Date
gingerBill
edbb3e3b32 Fix typos 2020-12-04 18:53:17 +00:00
gingerBill
ecf324e213 Remove buffered type 2020-12-04 18:50:30 +00:00
gingerBill
7268c80d64 Add strings.fields and strings.fields_proc 2020-12-04 18:50:05 +00:00
gingerBill
fd453be831 Deprecate opaque in favour of #opaque in the core library 2020-12-04 18:49:39 +00:00
gingerBill
2a232f2397 Remove the (reserved) keyword macro 2020-12-04 16:14:11 +00:00
gingerBill
c4cb7170ee Deprecate keyword opaque in favour of #opaque 2020-12-04 16:13:05 +00:00
gingerBill
b6bbe29c8f Remove const as a (reserved) keyword 2020-12-04 16:04:58 +00:00
gingerBill
5d0db4c63a Clean up fmt usage with io.Writer and strings.Builder 2020-12-04 15:04:54 +00:00
gingerBill
05a3bdad58 Allow nested procedures to access @(static) and @(thread_local) variables 2020-12-04 11:28:14 +00:00
gingerBill
0ef02e6737 Improve packages io and strings; add io.Section_Reader 2020-12-03 15:57:46 +00:00
gingerBill
047586afc6 Change ExactValue layout for complex/quaternion types to minimize its size 2020-12-03 14:21:33 +00:00
gingerBill
5acdcfb57c Keep -vet happy 2020-12-03 13:26:33 +00:00
gingerBill
6e04b1c429 Remove using stream on custom stream types in package io 2020-12-03 13:23:36 +00:00
gingerBill
828fe2ce56 Fix #795 2020-12-03 12:25:45 +00:00
gingerBill
18da0b3418 Integrate package io into core library 2020-12-03 10:45:26 +00:00
gingerBill
334a8c46e8 Fix io typos 2020-12-03 00:27:21 +00:00
gingerBill
e0fb081cbd Keep -vet happy 2020-12-02 23:46:41 +00:00
gingerBill
bca28e94ec Keep fmt happy 2020-12-02 23:43:28 +00:00
gingerBill
875415daa9 Make os._file_stream_vtable private 2020-12-02 23:40:23 +00:00
gingerBill
0cf3ae93c0 Add os.stream_from_handle; fix io.close 2020-12-02 23:39:33 +00:00
gingerBill
c4172e3914 Rename stream field names 2020-12-02 23:17:21 +00:00
gingerBill
8e08ae47fb Add strings.Reader 2020-12-02 23:12:43 +00:00
gingerBill
d9343ae997 Add package io 2020-12-02 23:12:14 +00:00
gingerBill
4d30b88927 Fix typos 2020-12-02 23:11:46 +00:00
gingerBill
7389ffba6d Fix -llvm-api const initialization of &T{} 2020-12-02 21:07:15 +00:00
gingerBill
a6301ab58a Add type_assertion_check2 2020-12-02 11:50:57 +00:00
gingerBill
996c854071 Disable lb_const_hash for the time being 2020-12-02 11:48:50 +00:00
gingerBill
a9c1811027 Fix typo 2020-12-02 10:41:18 +00:00
gingerBill
32b1537aa3 Fix xor for constant booleans 2020-12-02 10:39:59 +00:00
gingerBill
2d0c0a7a83 Fix typo 2020-12-01 15:38:15 +00:00
gingerBill
400816ebf7 Fix Pointer store in LLVM backend 2020-12-01 00:40:54 +00:00
gingerBill
ef417017f0 Fix typo 2020-11-30 19:46:41 +00:00
gingerBill
7c1c9d22b4 Fix thread.run_with_poly_data* 2020-11-30 19:44:43 +00:00
gingerBill
5803fcc158 Revert function passes 2020-11-29 20:41:01 +00:00
gingerBill
f4f2b8f5ad Add _internal field to context 2020-11-29 18:42:13 +00:00
gingerBill
dd4f8e9747 Improve default pass manager for -llvm-api 2020-11-29 18:32:49 +00:00
gingerBill
f06f33872c Make 16 simple hasher cases for small types 2020-11-29 18:17:21 +00:00
gingerBill
9e13416312 Simplify simple compare hasher code 2020-11-29 17:58:54 +00:00
gingerBill
5ab7ec5b16 Support any comparable type for map keys 2020-11-29 16:37:19 +00:00
gingerBill
b922398a96 Sanity check for map key 2020-11-29 16:13:16 +00:00
gingerBill
57f5976ac1 Support map keys for simple compare types 2020-11-29 16:12:21 +00:00
gingerBill
7fbc081119 Improve const hash 2020-11-29 16:03:21 +00:00
gingerBill
1dfe0cdd1d Simplify hashing approach map 2020-11-29 15:50:29 +00:00
gingerBill
97c66c9c73 Add intrinsics.type_hasher_proc; Make map work with generic hasher procedure 2020-11-29 15:27:53 +00:00
gingerBill
085972bb2c Minor clean up 2020-11-29 14:31:42 +00:00
gingerBill
39bed567b3 Add intrinsics.type_equal_proc; Make map use an internal equal procedure to compare keys 2020-11-29 14:22:42 +00:00
gingerBill
2e0fd34e59 Keep -vet happy 2020-11-29 12:52:30 +00:00
gingerBill
9959a069fc Simplify internals of map[K]V 2020-11-29 12:48:33 +00:00
gingerBill
c77098a91c Fix for in enum type 2020-11-26 10:19:45 +00:00
gingerBill
89cceb910a Keep -vet happy 2020-11-26 00:09:38 +00:00