Commit graph

360 commits

Author SHA1 Message Date
Richard Feldman
5d3645350d Merge remote-tracking branch 'origin/trunk' into small-str 2020-09-16 02:23:06 -04:00
Richard Feldman
bec7254d92 Zero-initialize small strings using memset 2020-09-16 01:38:00 -04:00
Richard Feldman
96445262f6 Add memset intrinsic 2020-09-16 01:15:30 -04:00
Richard Feldman
bbbf5de6a5 Simplify call_intrinsic 2020-09-16 01:15:19 -04:00
Jared Ramirez
a0402bca4d Add Num.ceiling 2020-09-15 18:37:45 -07:00
Richard Feldman
099d9e35f6
Merge pull request #518 from rtfeldman/c-abi-progress
C abi progress
2020-09-14 18:28:20 -04:00
Folkert
f794874c68 Merge remote-tracking branch 'origin/trunk' into c-abi-progress 2020-09-14 22:01:12 +02:00
Dimitar Apostolov
bbb05749ab Add LLVM intrinsic for Num.pow 2020-09-14 22:01:12 +02:00
Folkert
ee017084f7 return 3-element records 2020-09-14 21:56:57 +02:00
Folkert
d093f056b7 consider strings 2020-09-14 01:55:23 +02:00
Chad Stearns
30b7545da0 Fixed inplace problem in list_set 2020-09-13 15:04:34 -04:00
Chad Stearns
4e7aecc434 Complied with clippy 2020-09-13 14:55:37 -04:00
Chad Stearns
3112025b0c Passed down inplace to everything that uses allocate_list 2020-09-13 14:46:21 -04:00
Chad Stearns
0a1e297b0f Passed result layout down build expr function 2020-09-13 13:31:57 -04:00
Richard Feldman
1efc386e5a Fix Str.concat for small strings 2020-09-12 23:25:34 -04:00
Richard Feldman
254b93a8ce Add env.small_str_bytes 2020-09-12 23:05:01 -04:00
Richard Feldman
d778e82d65 Fix Str.isEmpty 2020-09-12 22:05:08 -04:00
Richard Feldman
e3d0145894 Add Str.isEmpty 2020-09-12 21:56:53 -04:00
Chad Stearns
a6c3d8edef Mostly implemented big and small string work for Str.concat. Just some bugs somewhere in the llvm 2020-09-12 17:39:41 -04:00
Chad Stearns
89ca6735eb Code compiles for load_str, but does not work 2020-09-12 16:59:00 -04:00
Richard Feldman
b6f706d124
Merge branch 'trunk' into feature/500-add-num-pow-expr-implementation 2020-09-10 21:25:24 -04:00
Folkert
145f75d72b list reverse in-place 2020-09-11 00:59:19 +02:00
Dimitar Apostolov
51a6e0bde0 Add canonical Expr implementation for NumPow 2020-09-10 14:34:23 +02:00
Chad Stearns
a318253d48 small str implementation in string literal, and bringing in remote trunk 2020-09-09 21:53:38 -04:00
Folkert
1b42831973 implement Num.compare 2020-09-08 19:40:18 +02:00
Folkert
4c995b12a6 move refcounting code gen into its own module 2020-09-08 15:51:38 +02:00
Richard Feldman
99f6146703
Update another comment 2020-09-07 21:59:17 -04:00
Richard Feldman
7e834fbb37
Update a comment 2020-09-07 21:59:06 -04:00
Chad Stearns
5ab3bf8c24 isolated str builtin stuff into new build_str module 2020-09-07 18:41:12 -04:00
Folkert
c8d03103d9 appease clippy 2020-09-07 22:18:16 +02:00
Folkert
30c897219b clear up comments 2020-09-07 22:13:47 +02:00
Folkert
f857203673 Merge remote-tracking branch 'origin/trunk' into recursive-layouts 2020-09-07 16:53:15 +02:00
Folkert
85f290f9be cleanup, and remove reset-reuse stuff for now 2020-09-07 16:50:05 +02:00
Folkert
127dd06586 fix bug with optional record fields 2020-09-07 14:13:22 +02:00
Folkert
25cd0a2c02 codegen for walkRight 2020-09-06 22:03:46 +02:00
Chad Stearns
5d0ec57461 List.walkRight definition in unique, std, builtins, etc. No implementation 2020-09-06 14:06:08 -04:00
Folkert
ceb938c9af get tests working again 2020-09-06 00:26:41 +02:00
Folkert
c1fdd0ea7b remove unused field 2020-09-04 23:09:05 +02:00
Folkert
f02d907f17 inc/dec for recursive unions; first pass 2020-09-04 23:07:27 +02:00
Folkert
f9cf4ea371 recursive tag unions 2020-08-31 14:29:09 +02:00
Chad Stearns
8b31419b2c Merge in remote 2020-08-30 15:38:43 -04:00
Chad Stearns
08dba946e6 Use struct parameter 2020-08-29 23:03:56 -04:00
Chad Stearns
f2a8065adc Moved over to incrementing_elem_loop from incrementing_index_loop 2020-08-29 21:56:52 -04:00
Chad Stearns
30046d1ad4 basic List.keepIf set definition, but no implementation 2020-08-29 15:47:11 -04:00
Folkert
020b6154f9 fix passing functions by name 2020-08-26 23:34:49 +02:00
Chad Stearns
4ea52c139d List.map implementation 2020-08-23 19:35:21 -04:00
Chad Stearns
43bb4af2f4 Import listmap into build.rs 2020-08-22 19:47:59 -04:00
Chad Stearns
800b99d165 Try different List.map unique implementation 2020-08-22 19:46:29 -04:00
Folkert
ba186bfe09 can store, but not load recursive fields 2020-08-22 16:01:04 +02:00
Folkert
f4e1aa046d basic infrastruture for recursive layouts 2020-08-21 00:14:24 +02:00