Commit graph

3906 commits

Author SHA1 Message Date
Richard Feldman
e23d526a4c Go back to monomorphic Str 2021-04-26 21:18:43 -04:00
Richard Feldman
63fe9e0f2e Expose a bunch of things from Bytes 2021-04-26 08:07:18 -04:00
Richard Feldman
01bf309e38 Add parsePast functions 2021-04-26 07:57:54 -04:00
Richard Feldman
72d5cc6351 Add warning on Bytes.inStr 2021-04-26 01:05:42 -04:00
Richard Feldman
f56636ac7e Revert "Try out NBO and RBO terminology"
This reverts commit 4c51ed2dd3.
2021-04-26 01:02:46 -04:00
Richard Feldman
4c51ed2dd3 Try out NBO and RBO terminology 2021-04-26 00:43:58 -04:00
Richard Feldman
41ba015dcd Drop host endianness helpers 2021-04-26 00:35:24 -04:00
Richard Feldman
59b4d65880 s/native/host endianness
The term "host" seems to be more commonly used.
2021-04-26 00:29:40 -04:00
Richard Feldman
2ef6594710 Remove Parser builtin module 2021-04-26 00:21:03 -04:00
Richard Feldman
3b1c9da544 Add Bytes builtin 2021-04-26 00:21:03 -04:00
Richard Feldman
bd1f0a39b6 Bool parser doesn't make sense 2021-04-26 00:21:03 -04:00
Richard Feldman
1780e2bf19 Try giving Str a type parameter 2021-04-26 00:21:03 -04:00
Richard Feldman
421a625515 Add List.startsWith and endsWith 2021-04-26 00:21:03 -04:00
Richard Feldman
0f2eb12aa8 Add Parser builtin docs 2021-04-26 00:21:03 -04:00
Richard Feldman
218dff19cc Add Str.lines 2021-04-26 00:21:03 -04:00
Richard Feldman
7c50f3d5c4
Merge pull request #1236 from rtfeldman/list-join-zig
move List.join to zig
2021-04-25 17:52:22 -04:00
Folkert
42d065af45 move List.join to zig 2021-04-25 21:43:15 +02:00
Chadtech
be557d6147 Render label only record fields as they appear in the code 2021-04-25 14:12:47 -04:00
Chadtech
f7491cd9e9 Comply with clippy 2021-04-24 18:40:06 -04:00
Chadtech
09aad833d5 Do not show record type signature if it contains at least one private tag 2021-04-24 18:14:43 -04:00
Chadtech
6050776ff8 More while statements refactored to for loops 2021-04-24 18:14:31 -04:00
Chadtech
0a42a04765 Records in docs rendering 2021-04-24 18:06:41 -04:00
Richard Feldman
c77127e6fb
Merge pull request #1227 from rtfeldman/use-zig-types
Use zig types in LLVM codegen
2021-04-23 21:03:38 -04:00
Richard Feldman
b517528a09
Merge pull request #1226 from rtfeldman/expr-expect
Expr expect
2021-04-23 20:57:02 -04:00
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
Folkert
b01377f868 save the stack 2021-04-23 11:49:32 +02:00
Folkert
95fbc15373 add test 2021-04-23 11:27:36 +02:00
Folkert
2dab9c81d1 use invoke 2021-04-23 11:22:32 +02:00
Folkert
6633f8ca9f add ExpectTrue lowlevel 2021-04-23 10:16:30 +02:00
Folkert
01c5b0dd66 codegen expect to boolean not 2021-04-23 10:00:36 +02:00
Folkert
903583f1d4 implement basic type error reporting 2021-04-23 09:41:49 +02:00
Folkert
4dd0ee6543 constrain expect 2021-04-23 09:36:12 +02:00
Folkert
ed7906ccbb fix canonicalization 2021-04-23 09:24:11 +02:00
Folkert
1d440fb5f6 another try 2021-04-23 09:09:09 +02:00
Richard Feldman
660437557b
Merge branch 'trunk' into validate-platform-signature 2021-04-22 22:01:34 -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
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 de Vries
15def2db65
Merge branch 'trunk' into validate-platform-signature 2021-04-22 21:14:53 +02:00
Folkert
7e9cea9283 hopefully fix data race 2021-04-22 16:14:27 +02:00
Folkert
ae6e99152f store the requires typed ident for later use 2021-04-22 14:12:36 +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