Commit graph

463 commits

Author SHA1 Message Date
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
Chadtech
90b1c57f1f
Merge branch 'trunk' into generated-docs-folder 2021-03-25 00:28:31 -04:00
Chadtech
bf4b2b823f Put generated docs into generated-docs folder 2021-03-23 22:23:59 -04:00
Folkert
e3b65b1ce0 Merge remote-tracking branch 'origin/trunk' into import-builtin-mod 2021-03-23 15:40:27 +01:00
Folkert
589b579689 refactor 2021-03-23 14:31:35 +01:00
Richard Feldman
a8168a8022
Merge branch 'trunk' into repl-docs 2021-03-22 19:53:01 -04:00
Folkert
55cb780249 don't clone Layout 2021-03-22 14:08:48 +01:00
Chadtech
9f5ed5816b Cargo fmt 2021-03-22 01:31:23 -04:00
Chadtech
e38823b52a Delete commented out docs code 2021-03-22 00:54:07 -04:00
Chadtech
807250f3e3 Moved docs/src/main.rs to docs/src/lib.rs and imported it into the repl. Commented out doc code to avoid it deleting my entire roc project (which happened) 2021-03-21 22:37:39 -04:00
Folkert
e0c211081a remove update field from normal Record constructor 2021-03-20 16:49:14 +01:00
Richard Feldman
ba0f3be97b Report generated filename 2021-03-14 22:31:32 -04:00
Richard Feldman
6c124fdc14 Generate final executable in same dir as .roc file 2021-03-14 22:31:32 -04:00
Richard Feldman
978b3a901d Have --debug use .roc path for .ll and .bc 2021-03-14 22:31:32 -04:00
Richard Feldman
f6404d2ed5 Fix race condition in tempfile stuff 2021-03-14 22:31:32 -04:00
Richard Feldman
4023416c50 Don't use valgrind in macOS tests 2021-03-14 22:31:32 -04:00
Richard Feldman
2e865bf9b7 Tweak compilation success message 2021-03-14 22:31:32 -04:00
Richard Feldman
b97d387c38 Use tempfile for roc_app.o 2021-03-14 22:31:32 -04:00
Richard Feldman
ce6969d31f Only do the compiler_rt workaround on macOS 2021-03-14 22:31:32 -04:00
Chadtech
7d78de110b Added comptime import compiler_rt to several host.zig files 2021-03-14 22:31:32 -04:00
Eric Henry
3e4eb8d839 Clean up file and repl support for Num.maxI128 2021-03-12 17:48:55 -05:00
Anton-4
480666e4e3 removed unused dependencies using cargo-udeps #1036 2021-03-06 12:07:09 +01:00
Folkert
426dcc2561 adjust cli tests 2021-03-03 22:40:17 +01:00
Folkert de Vries
869d3d18d0
Merge branch 'trunk' into bytes 2021-02-26 12:14:52 +01:00