Commit graph

3569 commits

Author SHA1 Message Date
Folkert
2319b33794 use zig list/str type 2021-04-23 16:24:36 +02:00
Folkert
41c1878d8d use zig dict type 2021-04-23 15:19:15 +02: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
700e7d9686 parse expect 2021-04-22 23:00:44 +02:00
Folkert
50942325b9 add expect keyword 2021-04-22 21:17:09 +02: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
a93955fa6b
Merge pull request #1210 from rtfeldman/docs-work
Misc Docs Work
2021-04-18 20:12:41 -04:00
Chadtech
5c0c81978d Use Nat instead of Int in padGraphemes Str docs 2021-04-18 17:48:20 -04:00
Chadtech
406860f121 reference TypeAnnotation from ast as ast::TypeAnnotation so that the name TypeAnnotation can be reused in roc_load::docs 2021-04-18 16:17:59 -04:00
Folkert
cdf5b89f9a using hashbrown + bumpalo in practice 2021-04-18 15:35:43 +02:00
Folkert
383f35db5a bump bumpalo 2021-04-18 14:36:47 +02: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
fb5e5ddb2b fix alignment? 2021-04-14 20:17:24 +02:00
Folkert
5942f64b3c fix memory issue in the repl 2021-04-14 17:42:08 +02:00
Folkert
870adb20a8 use decref to deallocate RocStr in zig code 2021-04-14 16:53:36 +02:00
Folkert
6d941e242e check for staticness when incrementing 2021-04-14 16:36:34 +02:00
Folkert
5690794dc9 fix cast problem 2021-04-14 15:16:57 +02:00
Folkert
ca1bb20389 store string literals without allocation 2021-04-14 15:13:25 +02:00
Folkert
64bc92c746 basic parsing 2021-04-14 13:03:31 +02:00
Folkert
063c039003 report parse errors in the plaform module 2021-04-13 23:11:02 +02:00
Richard Feldman
27c663709f
Merge pull request #1192 from rtfeldman/type2-to-var
Type2 to var
2021-04-12 22:32:10 -04:00
Folkert
bffb9ab6fe initial solver for the editor's type constraints 2021-04-12 21:26:20 +02:00
Folkert
2bb1f2cca7 improve error reporting for underscore expr 2021-04-12 20:48:58 +02:00
Folkert
46ab922dd1 throw error in canonicalization 2021-04-11 22:19:00 +02:00
Folkert
28ba645121 parse underscores in expressions 2021-04-11 21:02:31 +02:00
Richard Feldman
6ce060bd25
Merge branch 'trunk' into fix-walk-backwards 2021-04-11 12:11:34 -04:00
Richard Feldman
04aa9f4faa Synchronize walkBackwards with walk 2021-04-11 12:10:45 -04:00
Richard Feldman
ce61fba122
Merge pull request #1181 from rtfeldman/make-shebang-work
accept comments before the header
2021-04-11 11:58:04 -04: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
Folkert
c79a691400 fix tests 2021-04-11 17:27:08 +02:00
Folkert de Vries
3d75410ddf
Merge branch 'trunk' into make-shebang-work 2021-04-11 17:22:24 +02:00
Folkert
1977e36459 accept comments before the header 2021-04-11 17:14:48 +02: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
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
9133dfa0fb
Merge branch 'trunk' into recursive-defs 2021-04-11 07:47:25 -04:00
Anton-4
47cdeb3e1d fmt 2021-04-11 10:18:10 +02:00
Folkert
aa8226d5d7 remove dbg print 2021-04-10 22:25:40 +02:00
Folkert
61ecc821aa Merge remote-tracking branch 'origin/trunk' into recursive-defs 2021-04-10 22:16:42 +02:00
Folkert
ebd6ee3f14 optimize cycleentry generation 2021-04-10 22:00:45 +02:00
Richard Feldman
7a774ae3cf Link with -framework Security on macOS 2021-04-10 15:52:54 -04:00
Folkert
112e97c4a2 improve circular definition error reporting 2021-04-10 21:39:20 +02:00
Folkert
d27b0337c5 fix formatting 2021-04-10 14:11:42 +02:00
Folkert
4a3e90fdef fix backpassing region 2021-04-09 12:02:50 +02:00