Richard Feldman
007380a00f
Merge remote-tracking branch 'origin/trunk' into exception-handling
2020-09-19 22:48:36 -04:00
Richard Feldman
b50483eedf
Use rtfeldman/inkwell release2 tag
2020-09-19 22:48:29 -04:00
Guilherme Belmonte
c684dad429
Fix typos
2020-09-19 20:52:31 -03:00
Folkert
16fc5dd497
Merge remote-tracking branch 'origin/trunk' into exception-handling
2020-09-19 21:50:57 +02:00
Folkert
be6752542b
update to run on our fork of inkwell again
2020-09-19 21:50:33 +02:00
Folkert
cdb768e458
add file with the roc/rust interface info
2020-09-19 01:47:10 +02:00
Folkert
9a0a13646f
fix repl
2020-09-19 01:46:14 +02:00
Richard Feldman
7aada6c485
Merge pull request #529 from rtfeldman/add-attribution
...
Add attribution for pow_int_
2020-09-17 22:37:17 -04:00
Jared Ramirez
665c7c7f9f
Add Num.floor
2020-09-17 17:44:53 -07:00
Richard Feldman
cc0f2ce700
Add attribution for pow_int_
2020-09-17 20:27:50 -04:00
Folkert
14da3906da
wip
2020-09-18 01:07:53 +02:00
Dimitar Apostolov
9276fd8c9d
Add function to call bitcode
2020-09-17 14:07:25 +02:00
Dimitar Apostolov
e89af31015
Use own implementation of pow_int_ instead of llvm
...
Remove LLVM intrinsics code related to `Num.powInt`.
2020-09-17 14:07:18 +02:00
Dimitar Apostolov
2404882c1a
Add Num.powInt implementation
2020-09-17 11:42:37 +02:00
Dimitar Apostolov
51e4b14131
Add Num.powInt types
2020-09-17 11:36:53 +02:00
Dimitar Apostolov
50223ae93c
Add canonical Expr implementation for Num.powInt
2020-09-17 11:31:13 +02:00
Dimitar Apostolov
11383e97ab
Add Num.powInt symbol
2020-09-17 11:23:57 +02:00
Richard Feldman
1c8383b3bb
clippy things
2020-09-16 19:34:48 -04:00
Richard Feldman
5d3645350d
Merge remote-tracking branch 'origin/trunk' into small-str
2020-09-16 02:23:06 -04:00
Richard Feldman
4713d41e76
Drop obsolete test
2020-09-16 02:03:34 -04:00
Richard Feldman
bec7254d92
Zero-initialize small strings using memset
2020-09-16 01:38:00 -04:00
Richard Feldman
8e630fc9fc
Reproduce small string bug
2020-09-16 01:20:02 -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
Dimitar Apostolov
d0864608fd
Register types 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
9746e9f240
Cleaned up code, made clippy happy, deleted old List.keep_if implementation
2020-09-13 17:12:01 -04:00
Chad Stearns
30b7545da0
Fixed inplace problem in list_set
2020-09-13 15:04:34 -04:00
Chad Stearns
9351746952
Store capacity in unique list
2020-09-13 14:56:01 -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
318e50f98f
Drop obsolete Str.concat tests
2020-09-12 23:25:34 -04:00
Richard Feldman
4ef800d4b7
Add some TODOs about memcpys
2020-09-12 23:05:25 -04:00
Richard Feldman
254b93a8ce
Add env.small_str_bytes
2020-09-12 23:05:01 -04:00
Richard Feldman
8322006e36
Add tests for the small/big concat combinations
2020-09-12 22:30:04 -04:00
Richard Feldman
d778e82d65
Fix Str.isEmpty
2020-09-12 22:05:08 -04:00
Richard Feldman
d1b1fd3a6a
Consistently cast string length to usize
2020-09-12 21:57:11 -04:00
Richard Feldman
e3d0145894
Add Str.isEmpty
2020-09-12 21:56:53 -04:00
Richard Feldman
8e8a41079e
Separate out str_is_not_empty
...
Also have list_is_not_empty use ptr_int instead of i64
2020-09-12 21:48:51 -04:00
Richard Feldman
648758f752
Fix Str.concat for big strings
2020-09-12 21:22:37 -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
5f5c4354da
Fix unary negation with field access
...
Fixes #509
2020-09-12 10:25:45 -04:00
Richard Feldman
532b5c4051
Reproduce #509 (unary negation parse bug)
2020-09-12 10:18:12 -04:00
Jared Ramirez
c6b14e755c
Add clarificaton to oks docs
2020-09-11 13:05:59 -07:00
Jared Ramirez
d22d609097
Revert oks type signature
2020-09-11 09:21:05 -07:00
Jared Ramirez
aa5107257e
Change builitin List docs 'joinOks' to 'oks'
2020-09-11 09:21:05 -07:00
Richard Feldman
b6f706d124
Merge branch 'trunk' into feature/500-add-num-pow-expr-implementation
2020-09-10 21:25:24 -04:00
Richard Feldman
fe01a9ce0f
Update a comment
2020-09-10 21:24:07 -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
Dimitar Apostolov
5bbee6217b
Add NUM_POW symbol to Num module
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
Chadtech
07784bf6c2
Language clean up and uniqueness section in builtin readme
2020-09-09 12:14:23 -04:00
Folkert
1279999c6c
fix how free is called
...
somehow the previous version compiles passes llvm verification, but hangs when free is actually called
2020-09-08 21:30:23 +02: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
Folkert
0344030015
allow calling of functions passed as arguments
2020-09-08 14:19:47 +02:00
Folkert
ad8e9db896
fix comments/warnings
2020-09-08 14:18:55 +02:00
Richard Feldman
e1b1491588
Merge branch 'trunk' into recursive-layouts
2020-09-07 21:59:49 -04: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
Richard Feldman
aefcdcb36c
Merge pull request #498 from rtfeldman/builtins-readme-warnings
...
Warning section in builtins readMe
2020-09-07 20:44:10 -04:00
Chad Stearns
5ab3bf8c24
isolated str builtin stuff into new build_str module
2020-09-07 18:41:12 -04:00
Chad Stearns
e7717230b8
Warning section in builtins readMe
2020-09-07 16:34:20 -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
4522fe14fc
fix recursion issue in type inference
2020-09-07 16:35:49 +02:00
Richard Feldman
3c39a331d7
Remove obsolete parse::ast::TypedBody
2020-09-07 09:19:25 -04:00
Folkert
0a034c474a
fix test failures
2020-09-07 14:36:33 +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
46755973d6
wip
2020-09-06 18:53:26 +02:00
Chadtech
ee74ccf6d2
Merge branch 'trunk' into list_keepIf
2020-09-05 19:03:05 -04:00
Chad Stearns
d61e0735ec
Minor changes to List.keepIf test and commented out a test that doesnt yet work
2020-09-05 19:02:44 -04:00
Chad Stearns
9de9831823
Code clarity changes to List.keepIf, including many comments
2020-09-05 19:02:04 -04:00
Chad Stearns
90a3771584
Fix comment definitions for List.keepIf and List.append
2020-09-05 19:01:26 -04:00
Chad Stearns
13a644b03c
Used correct low level op for List.keepIf definition
2020-09-05 19:00:55 -04:00
Folkert
ceb938c9af
get tests working again
2020-09-06 00:26:41 +02:00
Sébastien Besnier
72497a1916
add test for tag with no args and boolean
2020-09-05 09:17:42 +02:00
Chad Stearns
ad41d0f26e
Nonempty list with always true condition List.keepIf test
2020-09-05 02:52:51 -04:00
Chad Stearns
efbc8b4192
Renamed some llvm code block operations
2020-09-05 02:52:27 -04:00
Sébastien Besnier
f319fdad79
Tag with no args in error msgs ( #471 )
2020-09-05 08:42:40 +02:00
Chad Stearns
5bd88c8901
Merge branch 'trunk' of github.com:rtfeldman/roc into list_keepIf
2020-09-05 00:47:21 -04:00
Folkert
c1fdd0ea7b
remove unused field
2020-09-04 23:09:05 +02:00
Folkert
b849a3019f
reset reuse stuff
2020-09-04 23:07:45 +02:00
Folkert
f02d907f17
inc/dec for recursive unions; first pass
2020-09-04 23:07:27 +02:00
Richard Feldman
5eeb41d5c0
Add List.update and List.updater
2020-09-03 20:31:43 -04:00
Richard Feldman
0bdc7f2f74
Fix CLI underline character on Windows
2020-09-03 20:24:09 -04:00
Richard Feldman
d75b85998d
Take some notes in some docs
2020-09-03 20:23:48 -04:00
Richard Feldman
453fc0e27c
REVERT THIS! Temporarily break block strings.
...
Also disable some tests because trimming inputs
revealed some bugs I don't want to fix in this PR!
2020-08-31 23:22:10 -04:00
Richard Feldman
be0c8cd59b
clipp-w clipp-x clipp-y
2020-08-31 23:22:10 -04:00
Richard Feldman
37a254cef3
Interpolate strings by desugaring to Str.concat
...
We could definitely make this more efficent by
allocating enough space for the final string
and then copying the contents of each of the pieces
into it one by one. We don't do that yet though!
2020-08-31 23:14:45 -04:00
Richard Feldman
2e15443c8c
Canonicalize unicode code point escapes
2020-08-31 23:13:50 -04:00
Richard Feldman
7682e09b0a
Fix some fmt stuff
2020-08-31 23:13:50 -04:00
Richard Feldman
74c0bdfd5a
Fix empty string parsing bug
2020-08-31 23:13:50 -04:00
Richard Feldman
5b27e10095
Reproduce empty string parsing bug
2020-08-31 23:13:50 -04:00
Richard Feldman
e9f71d09bb
Monomorphize string interpolation
2020-08-31 23:13:50 -04:00
Richard Feldman
274e7e786d
Constrain string interpolation
2020-08-31 23:13:50 -04:00
Richard Feldman
5080a7e24b
Parse unicode escape sequences
2020-08-31 23:13:50 -04:00
Richard Feldman
b995ccef75
Parse string interpolations
2020-08-31 23:13:50 -04:00
Richard Feldman
e661ca7f2e
Fix string literal parsing
2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a
Get things compiling
2020-08-31 23:13:50 -04:00
Richard Feldman
70bef827a7
Change borrow signature for concat
2020-08-31 23:13:50 -04:00
Richard Feldman
d9a96c9c66
Simplify some pattern matching
2020-08-31 23:13:50 -04:00
Richard Feldman
f165cfc72d
Merge branch 'trunk' into error-message-tweak
2020-08-31 21:25:31 -04:00
Richard Feldman
58e9fa1255
Update formatting tests
2020-08-31 20:42:28 -04:00
Richard Feldman
c611f1dfe8
Tweak some error message reports
2020-08-31 20:37:37 -04:00
Richard Feldman
e6cbfb1567
Change "Hint" to "Tip"
2020-08-31 17:30:34 -04:00
Chadtech
2ae63c87d6
Update compiler/mono/src/layout.rs
...
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2020-08-31 17:02:02 -04:00
Folkert
75ceb9e843
properly find the live variables
2020-08-31 20:00:02 +02:00
Folkert
f9cf4ea371
recursive tag unions
2020-08-31 14:29:09 +02:00
Chad Stearns
b02f8af37e
Complete implementation of List.keepIf, that is currently not passing tests
2020-08-30 21:29:14 -04:00
Chad Stearns
8b31419b2c
Merge in remote
2020-08-30 15:38:43 -04:00
Chad Stearns
6b351d0375
Comply with clippy
2020-08-29 23:14:32 -04:00
Chad Stearns
08dba946e6
Use struct parameter
2020-08-29 23:03:56 -04:00
Chad Stearns
379235fd7e
Improved comment
2020-08-29 22:44:56 -04:00
Chad Stearns
257cb88511
Added name parameter to non_emptylist_function
2020-08-29 22:31:14 -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
dedbd5b3bd
partial work on using if_non_empty in list_map
2020-08-29 20:01:17 -04:00
Chad Stearns
a83891011d
if_non_empty helper function
2020-08-29 19:56:55 -04:00
Chad Stearns
a0a00d3521
Store list helper function
2020-08-29 19:56:42 -04:00
Chad Stearns
d0587fa92c
Commented in some quick sort tests
2020-08-29 17:46:27 -04:00
Chad Stearns
8547b7de89
Commented in first_empty_list_test
2020-08-29 17:41:12 -04:00
Chad Stearns
01b3d2cf61
broke up list_prepend_tests
2020-08-29 17:41:03 -04:00
Chad Stearns
b3ce6041a3
Split List.join and List.concat
2020-08-29 16:56:35 -04:00
Chad Stearns
195925d993
Removed 'main = \_ ->' from List.map tests, since they were to work around a bug, and also split list_map and list_append tests into separate tests
2020-08-29 16:30:54 -04:00
Chad Stearns
30046d1ad4
basic List.keepIf set definition, but no implementation
2020-08-29 15:47:11 -04:00
Folkert
73bb8e58c5
List.map: set calling convention explicitly
2020-08-27 00:34:57 +02:00
Folkert
020b6154f9
fix passing functions by name
2020-08-26 23:34:49 +02:00
Folkert
c51345ac8b
Merge remote-tracking branch 'origin/trunk' into list-map
2020-08-26 15:30:30 +02:00
Richard Feldman
2dc1f62d02
Start of Str implementation and docs
2020-08-24 21:45:45 -04:00
Chadtech
3690977e57
Merge branch 'trunk' into list-map
2020-08-24 03:36:39 -04:00
Chad Stearns
27ef81df58
Commented back in ir.rs lines
2020-08-24 03:36:20 -04:00
Chad Stearns
6a34b9355c
reverted to original unique for List.map
2020-08-24 03:36:08 -04:00
Chad Stearns
ddc15fd2ea
Added some tests that should work some day
2020-08-24 03:35:25 -04:00
Richard Feldman
3c8c41c145
Clipster
2020-08-24 00:03:12 -04:00
Richard Feldman
181cf10d2c
Replace TagName::into_string with as_string
2020-08-24 00:03:12 -04:00
Richard Feldman
c5f5bb1bef
Use sorted field names for printing records
2020-08-24 00:03:12 -04:00
Richard Feldman
51c0180f45
Don't have formatter print parens in field types
2020-08-24 00:02:59 -04:00
Chad Stearns
4ea52c139d
List.map implementation
2020-08-23 19:35:21 -04:00
Chad Stearns
6232b31818
Comment out inc_dec in ir.rs
2020-08-22 19:48:08 -04:00
Chad Stearns
43bb4af2f4
Import listmap into build.rs
2020-08-22 19:47:59 -04:00
Chad Stearns
7c3e9809ca
Put List.map tests under main
2020-08-22 19:47:29 -04:00
Chad Stearns
4d1945d062
Put List.map tests under main
2020-08-22 19:47:12 -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
Richard Feldman
f48aca841c
Update compiler/gen/src/llvm/build.rs
2020-08-19 23:38:48 -04:00
Richard Feldman
e02e64af2a
Register StrConcat's borrow signature
2020-08-19 23:31:45 -04:00
Richard Feldman
50251c678b
Merge branch 'trunk' into str-concat
2020-08-19 23:05:13 -04:00
Chad Stearns
8b582d4835
Fix some names and some comments
2020-08-19 20:04:00 -04:00
Folkert
7bc162687d
make code block in comment look like not a code block to rust doctests
2020-08-20 00:37:37 +02:00
Folkert
36a2c9d978
add comment
2020-08-20 00:09:16 +02:00
Folkert
0e5283efd2
Merge remote-tracking branch 'origin/trunk' into infer-borrow
2020-08-19 23:56:29 +02:00
Folkert
bfa11cf6b0
appease the clipman
2020-08-19 23:46:56 +02:00
Folkert
fa5e5ab201
back to a working version
2020-08-19 23:42:45 +02:00
Chad Stearns
72558c61f1
Implemented Str.concat
2020-08-19 02:00:49 -04:00
Chad Stearns
2f2763351d
Change parameters to List.concat. Now it is less dependent on &args
2020-08-19 02:00:40 -04:00
Chad Stearns
a99adb9cdb
Fix test that was named Str.append
2020-08-19 01:59:47 -04:00
Chad Stearns
e71e33c34e
Merge branch 'trunk' of github.com:rtfeldman/roc into str-concat
2020-08-18 19:54:41 -04:00
Chadtech
485626ce61
Merge branch 'trunk' into remove-nul-terminator-str-literal-implementation
2020-08-17 03:26:49 -04:00
Chad Stearns
4d4379ae2d
Put str literal implementation under if statement checking if its empty
2020-08-17 03:26:18 -04:00
Chad Stearns
eb89367159
Comment in str test
2020-08-17 03:24:00 -04:00
Chad Stearns
8960c0e0a0
Comment out llvm error messages
2020-08-17 03:23:28 -04:00
Richard Feldman
504d7b65e2
Str and List have the same layout now
2020-08-16 16:37:25 -04:00
Richard Feldman
608c4eebd9
Drop unnecessary arg_basic_types
2020-08-16 16:17:10 -04:00
Chad Stearns
4ded732a09
Implement String literals as lists of bytes instead of null terminating c-strings
2020-08-16 04:38:24 -04:00
Richard Feldman
771570bc3c
Update more docs
2020-08-15 10:01:11 -04:00
Chad Stearns
a81504720b
Str.concat tests and definition set up
2020-08-15 02:45:52 -04:00
Folkert
b0e4a3fd47
make join points use borrow signature
2020-08-15 00:16:03 +02:00
Folkert
294273283b
make shared quicksort work
2020-08-15 00:14:20 +02:00
Richard Feldman
73d826ce36
Update some docs
2020-08-14 09:46:06 -04:00
Chad Stearns
0a725eff3c
Base definition of List.map, but not real implementation, and the tests fail
2020-08-14 02:10:20 -04:00
Folkert
d8c71c23f4
thread in borrow signature inference
2020-08-13 20:56:33 +02:00
Richard Feldman
295cb00499
wip
2020-08-12 23:18:40 -04:00
Richard Feldman
3f0b08a992
Have Stmt::new accept LayoutCache
2020-08-12 23:14:06 -04:00
Richard Feldman
8751e4bd00
Make pattern_vars be a slice
2020-08-12 23:08:43 -04:00
Richard Feldman
a4f4da7f5a
Add Debug to LayoutCache
2020-08-12 23:05:51 -04:00
Richard Feldman
31811410ee
cargo fmt
2020-08-12 23:03:09 -04:00
Richard Feldman
2173bc6f6f
Drop commented-out code
2020-08-12 22:48:36 -04:00
Richard Feldman
84789d3077
Drop commented-out code
2020-08-12 22:48:28 -04:00
Richard Feldman
fe0da7a8d7
Appease clippy
2020-08-12 22:33:10 -04:00
Folkert
c52f866d8a
fix tests
2020-08-13 01:40:03 +02:00
Folkert
5ca843822f
implement optional fields in let bindings and when
2020-08-13 01:39:59 +02:00
Folkert
3e12f1a309
Merge remote-tracking branch 'origin/tail-call-elimination' into gen-optional-field
2020-08-13 00:21:21 +02:00
Folkert
b05e126d78
add more tests
2020-08-13 00:19:01 +02:00
Folkert
20ddbeb528
implement optional fields in function pattern matches
2020-08-13 00:09:57 +02:00
Folkert
380e34d296
Merge remote-tracking branch 'origin/trunk' into tail-call-elimination
2020-08-12 15:46:50 +02:00
Folkert
8c86836101
add TCE
2020-08-12 14:03:55 +02:00
Folkert
bdd8751107
start work on tail recursion
2020-08-12 12:57:20 +02:00
Folkert
8444c1fe6d
always implicitly leak memory in tests (never free on the roc side)
2020-08-12 01:38:42 +02:00
Folkert
2963c44cc6
change tests after branching improvements
2020-08-12 01:36:38 +02:00
Chad Stearns
6e4c24735b
Use allocate_list in List.concat for combined_list_ptr
2020-08-11 19:04:59 -04:00
Chad Stearns
29c0bfa65d
Use allocate_list in clone_nonempty_list
2020-08-11 19:01:18 -04:00
Chad Stearns
77b4c5d8b6
Merge in remote trunk and resolve conflicts
2020-08-11 18:18:05 -04:00
Folkert
7603225fca
generate return earlier, causing more TCE
2020-08-11 22:30:34 +02:00
Richard Feldman
12ed20b5cd
Use fast calling convention internally
2020-08-11 09:02:26 -04:00
Folkert
84a8b69437
generate IR that uses uniqueness
2020-08-11 14:47:14 +02:00
Richard Feldman
8803cb9523
Remove an unnecessary newline diff
2020-08-10 23:22:47 -04:00
Richard Feldman
1e9f8e8764
Update test_mono expectations
2020-08-10 23:14:56 -04:00
Richard Feldman
2eab24015c
Diff lines on failed test_mono tests
2020-08-10 23:01:37 -04:00
Richard Feldman
b442b9c27a
Don't change env.home in specialize_all
2020-08-10 23:01:17 -04:00
Richard Feldman
49a6bd86b4
Procs now store pending specializations by default
2020-08-10 23:00:54 -04:00
Richard Feldman
497a5af72d
Avoid a clone
2020-08-10 22:59:14 -04:00
Richard Feldman
8d0c1ddc68
Drop obsolete mono::expr module
2020-08-10 21:25:47 -04:00
Richard Feldman
854f7bb35b
Improve an error message
2020-08-10 21:25:47 -04:00
Richard Feldman
c97317789e
Improve a comment
2020-08-10 21:25:47 -04:00
Richard Feldman
f4545e8bf7
Expose module thunks
2020-08-10 21:25:47 -04:00
Richard Feldman
35e132e6d7
Fix quicksort benchmark
2020-08-10 21:25:47 -04:00
Richard Feldman
1c828f7811
Have Procs store pending_specializations by default
2020-08-10 21:25:47 -04:00
Richard Feldman
e054131cdd
Refactor out a .clone()
2020-08-10 21:25:47 -04:00
Richard Feldman
ce2c2a1f5d
Expose all functions in .roc file to C
2020-08-10 21:25:47 -04:00
Richard Feldman
3cc36e5198
Drop unused field
2020-08-10 19:27:29 -04:00
Richard Feldman
582ed7eda6
Drop commented-out code
2020-08-10 19:27:20 -04:00
Richard Feldman
1e7b3de2c2
Drop obsolete comment
2020-08-10 19:27:02 -04:00
Folkert
25e96fcade
fix stack overflow in inc/dec
2020-08-10 22:31:20 +02:00
Folkert
ac6d72d077
fix some test failures
2020-08-10 21:41:47 +02:00
Folkert
79ea62b9d4
make uniqueness change codegen
2020-08-10 21:13:57 +02:00
Folkert
9e11526c1d
special-case List.len"
2020-08-10 21:06:28 +02:00
Folkert
b4c5c2f793
add variable to list
...
stores the list type, so we can know whether it is unique
2020-08-10 21:05:57 +02:00
Folkert
4de573b54b
use quicksort without closure for loading
...
the old version worked, but won't run yet because it uses a closure
2020-08-10 20:54:05 +02:00
Folkert
8f7d842d41
apply optimization passes
2020-08-10 13:34:28 +02:00
Folkert
9e75252ddb
centralize decision on what is refcounted
2020-08-10 12:59:10 +02:00
Chad Stearns
76a31fb945
Comply with clippyg
2020-08-10 02:10:04 -04:00
Chadtech
2d25f3db1b
Merge branch 'trunk' into organize-list-code-gen
2020-08-10 00:54:02 -04:00
Chad Stearns
331695b85c
Rename some indices
2020-08-10 00:53:50 -04:00
Chad Stearns
e65c0cafbb
Incrementing index loop helper, deleted some comments, refactored List.concat to avoid some duplicate code work
2020-08-10 00:45:29 -04:00
Richard Feldman
9d18112147
pattern_symbols no longer accepts a slice
2020-08-10 00:15:08 -04:00
Richard Feldman
695408e74e
Merge branch 'trunk' into refcount
2020-08-09 22:32:26 -04:00
Richard Feldman
5f73a0b7ca
Add builtin defs in load::file
2020-08-09 21:27:39 -04:00
Chad Stearns
9662ca6bd6
Use bounds_check_comparison more widely
2020-08-09 13:31:39 -04:00
Folkert
4caef70668
Merge remote-tracking branch 'origin/trunk' into refcount
2020-08-09 13:49:13 +02:00
Folkert
95a3d7fed4
disable mono tests with --release
2020-08-09 11:55:24 +02:00
Folkert
d927f1e83c
fix merge conflicts
2020-08-09 11:47:44 +02:00
Chad Stearns
8b315d8e4a
Moved list code gen into build_list module
2020-08-09 02:30:41 -04:00
Richard Feldman
0f8906b6d3
Make pattern_symbols be a slice
2020-08-08 21:54:16 -04:00
Richard Feldman
d4705f2f98
Merge branch 'trunk' into refcount
2020-08-08 19:54:10 -04:00
Richard Feldman
3fe2a4e3fd
Drop unused jump_counter
2020-08-08 19:53:21 -04:00
Folkert
ce3fefb5f0
fix trailing whitespace
2020-08-09 01:05:29 +02:00