Commit graph

800 commits

Author SHA1 Message Date
Lucas
0258c29201
Merge branch 'trunk' into add_all_nums_to_repl 2021-05-30 23:42:11 -04:00
rvcas
216a945e28 feat(repl): add the rest of the Nums 2021-05-30 23:42:02 -04:00
Folkert
3636e18a18 centralize inkwell imports 2021-05-29 21:46:33 +02:00
rvcas
5ae269659a feat(repl): implement Builtin::Int32 formatting 2021-05-29 13:26:44 -04:00
rvcas
1fbd52bb8d feat(repl): add formatting function for i32 2021-05-29 13:26:17 -04:00
Anton-4
05645088b7 run benchmarks with input 2021-05-28 15:08:46 +02:00
Anton-4
6db9247509 setup for all benchmarks except quicksort 2021-05-26 19:51:18 +02:00
Folkert
e2b200b84f simplify list layout 2021-05-26 14:28:56 +02:00
Folkert
bfe49d2188 remove Pointer 2021-05-26 14:18:19 +02:00
Folkert
ca5e9518d9 remove PhantomEmptyStruct 2021-05-26 14:14:53 +02:00
Richard Feldman
0b3715ebee Rearrange arg order for roc_alloc etc 2021-05-24 21:01:12 -04:00
Richard Feldman
7d7588ca19 Merge remote-tracking branch 'origin/trunk' into roc_alloc 2021-05-24 20:10:26 -04:00
Folkert de Vries
513a624d28
Merge branch 'trunk' into roc_alloc 2021-05-24 18:22:47 +02:00
Folkert
e81087f913 Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:17:28 +02:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Folkert
06bf614437 fix recursion layout issue 2021-05-24 14:15:52 +02:00
Richard Feldman
6c4ba49086 Move add_intrinsics back 2021-05-23 23:46:09 -04:00
Richard Feldman
ebad3597c9 Call add_intrinsics after add_default_roc_externs
This is necessary to prevent defining things twice
2021-05-23 23:46:09 -04:00
Richard Feldman
e6ece40f76 Extract externs helpers into gen 2021-05-23 23:46:09 -04:00
Richard Feldman
3eb75619ea Provide roc_alloc etc imlementations to repl 2021-05-23 23:46:09 -04:00
Richard Feldman
18df7fd24f Make alignment be a u32 2021-05-23 23:46:09 -04:00
Richard Feldman
24e22bc31b Have roc_alloc return a nullable pointer 2021-05-23 23:46:09 -04:00
Richard Feldman
06cc873c0a Fix cli_run tests 2021-05-23 23:46:09 -04:00
Richard Feldman
7a408e44da s/Pkg-Config/Package-Config/g 2021-05-22 15:29:18 -04:00
Folkert
9b02165f00 remove unused function 2021-05-22 19:08:25 +02:00
Folkert
955d39a91e re-enable tests 2021-05-20 22:38:37 +02:00
Folkert
87b9f866d3 WIP fixing the borrowing in HOFs 2021-05-19 15:28:20 +02:00
Anton-4
07ad061ac0 fixed iai benchmarks 2021-05-19 14:32:59 +02:00
Anton-4
38f08e33ce fmt 2021-05-18 18:50:52 +02:00
Anton-4
8d0d1a0758 put cli helpers in cli_utils crate, added bench_utils.rs for sharing functions between benchmarks, added iai benchmarks 2021-05-18 18:48:59 +02:00
Anton-4
9a50ba37ce criterion benchmarks for examples/benchmarks, moved cli helpers 2021-05-17 17:15:10 +02:00
Folkert
691fa56d50 make repl evaluate 0-argument thunk 2021-05-16 00:23:04 +02:00
Folkert
558fb3e1bf clippy + top level thunks 2021-05-15 23:19:08 +02:00
Folkert
c5759d36b3 update hosts 2021-05-15 00:34:32 +02:00
Folkert
180d162b13 Revert "update hosts"
This reverts commit 0bcedb53a3.
2021-05-15 00:33:11 +02:00
Folkert
0bcedb53a3 update hosts 2021-05-15 00:32:42 +02:00
Folkert
e63eea7389 WIP 2021-05-13 00:26:41 +02:00
Folkert
fecb83b9c2 fixes 2021-05-07 11:00:15 +02:00
Basile Henry
f6179404d1 Remove dependency on test module 2021-05-03 15:21:55 +02:00
Basile Henry
6459b8d8cf Setup multiline prompt in the REPL 2021-05-03 14:19:28 +02:00
Basile Henry
5e0a4f04bd Use rustyline fork for continuation prompt 2021-05-03 14:19:28 +02:00
Basile Henry
309a4e8ad0 Accept defs in REPL
by parsing the input as part of the validation (on Enter). This is a
reliable way to determine if the input so far could become a valid
expression with more input lines.
2021-05-02 22:31:06 +02:00
Folkert
04fd250fe5 report more info on assert fail 2021-05-01 20:17:37 +02:00
Richard Feldman
65296b9446 Intentionally leak arena for batch builds 2021-04-28 21:47:51 -04:00
Richard Feldman
60be120fc1 Rename COPYRIGHT_DETAILS to LEGAL_DETAILS
Turns out GitHub's `Licensee` gem treats any file with the word
"copyright" in it as a potential license, and therefore doesn't
recognize and list Roc's license as UPL-1.0 because it thinks
there might be two licenses or something.

d274e47c71/lib/licensee/project_files/license_file.rb (L26)
2021-04-22 21:52:07 -04:00
Richard Feldman
f34a75f26e Rename COPYRIGHT file to COPYRIGHT_DETAILS
This way, GitHub's license finder doesn't get confused.
(They use the `Licensee` Ruby gem, which looks for files like
LICENSE, which we have, but also COPYRIGHT - and it apparently
gets confused if it sees both.)
2021-04-22 21:41:11 -04:00
Folkert
b4f6b1a0e4 Merge remote-tracking branch 'origin/trunk' into inkwell-llvm-11-bump 2021-04-22 12:43:41 +02:00
Folkert
3cc4e5fea6 bump inkwell version 2021-04-22 12:43:26 +02:00
Richard Feldman
a11b849d45 Reference the COPYRIGHT file inline 2021-04-21 19:24:45 -04:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00