Commit Graph

1985 Commits

Author SHA1 Message Date
gingerBill
d168c7936e Fix slices of slices in procedures for -llvm-api 2021-01-27 15:56:32 +00:00
gingerBill
e64eb74eef Fix #831 2021-01-27 15:27:38 +00:00
Jim Powers
24db60eb4b Fix for c_vararg issue
Fixes #817
2021-01-18 20:05:33 -05:00
gingerBill
53d8ec4d15 Add extra error checks 2021-01-18 11:34:09 +00:00
gingerBill
2990b3efd5 Fix #825 2021-01-17 11:59:51 +00:00
gingerBill
c653e400db Add extra error checking in parser.cpp 2021-01-15 16:15:03 +00:00
gingerBill
e884f8c165 Fix typo 2021-01-15 15:46:15 +00:00
gingerBill
fa0e4c1294 Add -no-entry-point to help 2021-01-04 08:56:42 +00:00
gingerBill
3558848da8 Fix ir_print.cpp for typeid constants 2020-12-17 17:36:59 +00:00
gingerBill
720f2c7c61 Allow check_expr_with_type_hint to allow assignment of types to typeid without requiring typeid_of 2020-12-17 14:23:45 +00:00
gingerBill
5faa560f82 Make container.Map have similar semantics to the built-in map type 2020-12-15 23:23:07 +00:00
gingerBill
6c2b93d519 Improve text/scanner whitespace parameter to use a bit_set instead; Improve error message for for x in y where y is not iterable but allows in as an operator 2020-12-15 22:28:40 +00:00
gingerBill
089eccb245 Fix minor constant value declaration bug 2020-12-14 22:47:21 +00:00
gingerBill
416051f17b Fix #811 2020-12-14 16:39:31 +00:00
gingerBill
f64584b92a Improve -insert-semicolon rules 2020-12-09 23:40:45 +00:00
gingerBill
6f6a3f2ccf Fix typos for -insert-semicolon 2020-12-09 23:35:08 +00:00
gingerBill
d7a5767aa3 If ir_type_requires_mem_zero is stored with zero, don't store again with the zeroinitializer 2020-12-08 15:43:57 +00:00
gingerBill
15bf57e4e1 Fix typo 2020-12-08 15:03:46 +00:00
gingerBill
83cd2473f2 Improve rules for zeroing types with the ir.cpp backend with ir_type_requires_mem_zero 2020-12-08 15:00:07 +00:00
gingerBill
98c8fde098 Remove unused tokens 2020-12-06 13:17:48 +00:00
gingerBill
e8653ac47e Update main.cpp 2020-12-06 00:51:32 +00:00
gingerBill
f0683c9102 Merge branch 'master' into parser-experiments 2020-12-06 00:49:48 +00:00
gingerBill
069c6cac3f Add package name and source code location to Type_Info_Named 2020-12-05 20:47:50 +00:00
gingerBill
1a8ea6113a Remove hash field in runtime.Source_Code_Location 2020-12-05 19:52:08 +00:00
gingerBill
76e6624dbb Remove type name generation for procedures in ir.cpp 2020-12-05 19:21:00 +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
05a3bdad58 Allow nested procedures to access @(static) and @(thread_local) variables 2020-12-04 11:28:14 +00:00
gingerBill
047586afc6 Change ExactValue layout for complex/quaternion types to minimize its size 2020-12-03 14:21:33 +00:00
gingerBill
828fe2ce56 Fix #795 2020-12-03 12:25:45 +00:00
gingerBill
7389ffba6d Fix -llvm-api const initialization of &T{} 2020-12-02 21:07:15 +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
5803fcc158 Revert function passes 2020-11-29 20:41:01 +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
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
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