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
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