Commit graph

486 commits

Author SHA1 Message Date
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
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
Richard Feldman
da7dffe0e9 roc run passes through arguments and exit code 2021-04-15 18:32:57 -04:00
Richard Feldman
79b5af951b
Merge pull request #1197 from rtfeldman/parse-platform-rigids
Parse platform rigids
2021-04-14 22:12:58 -04:00
Folkert
c68cd2fb2d fix and test 2021-04-14 22:03:03 +02:00
Folkert
5942f64b3c fix memory issue in the repl 2021-04-14 17:42:08 +02:00
Richard Feldman
459c3dffec
Merge pull request #1180 from rtfeldman/licenses
Simplify authors in Cargo.toml for all crates
2021-04-11 11:57:31 -04:00
Richard Feldman
f1ddf775cb Use a constant for RocCallResult tag size 2021-04-11 09:44:59 -04:00
Richard Feldman
ab7d2d5912 Clean up some dbg calls 2021-04-11 09:44:59 -04:00
Richard Feldman
5116a99ddd Revert "Add a hack to work around #1176"
This reverts commit 5109329464.
2021-04-11 09:30:56 -04:00
Richard Feldman
5109329464 Add a hack to work around #1176 2021-04-11 09:30:54 -04:00
Folkert
ae17399741 fix issue 2021-04-11 15:29:51 +02:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Richard Feldman
a7bed0fb32 Remove obsolete cli/examples/ 2021-04-05 20:16:39 -04:00
Folkert
ff3f231155 remove Mode from stdlib 2021-04-01 21:42:38 +02:00
Richard Feldman
50638d5c41 Address a panic warning 2021-03-26 08:45:34 -04:00