Commit Graph

3241 Commits

Author SHA1 Message Date
Richard Feldman
19ffa61f8f
Add a gray line after each repl output 2022-11-01 15:57:22 -04:00
Ayaz Hafiz
4b549ab24e
Apply clippy suggestions 2022-11-01 12:37:10 -05:00
Ayaz Hafiz
1d73560182
Add some more tests 2022-11-01 12:16:11 -05:00
Ayaz Hafiz
56bf50c331
Improve list pattern matching documentation 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
7652ea2828
Add more documentation 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
f696e8dd29
Clarify comment 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
342f9f2e02
Add correct redundancy checking and tests for list patterns 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
17920911e4
Implement list exhaustiveness checking 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
62edf9547e
Better printing of list patterns 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
99a4e21618
Improve exhaustiveness checking heuristics for list patterns 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
a58d128d9e
Cover mode when unifying variable slices 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
08d04e8c79
Update reporting tests 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
92a3c48ce5
Implement sketching and pattern specialization for list patterns 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
fbdf76e490
Report type errors in list pattern matches 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
f9cb71fcf7
Report list element pattern type mismatches 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
283f6e8e1e
Give localized region for expected list elem pattern 2022-11-01 12:06:59 -05:00
Anton-4
d7759bad16
Merge branch 'main' of github.com:roc-lang/roc into windows-tests 2022-11-01 17:27:51 +01:00
Ayaz
cb61f51814
Merge pull request #4441 from roc-lang/can-list-patterns
Canonicalization + Constraining of list patterns
2022-11-01 09:13:08 -05:00
Anton-4
05d48ec5d4
fixed macos retry zig 2022-11-01 09:32:36 +01:00
Brian Carroll
9ebf934ee7
Merge pull request #4444 from roc-lang/windows-cli-tests
Windows cli tests
2022-11-01 06:43:23 +00:00
Richard Feldman
fb799d1d24
clippy 2022-11-01 01:27:15 -04:00
Richard Feldman
211a5adcf6
fix a test 2022-11-01 01:26:22 -04:00
Richard Feldman
afa88bfd41
Don't shadow unnecessarily 2022-11-01 01:24:58 -04:00
Richard Feldman
560c984d30
Fix error filtering region math 2022-11-01 01:20:52 -04:00
Richard Feldman
167e8a40de
Print (filtered) warnings in the repl again 2022-11-01 00:25:11 -04:00
Richard Feldman
9854dceec8
Filter out warnings and errors for past defs 2022-11-01 00:24:49 -04:00
Richard Feldman
0980d2d357
Add Problem::region 2022-11-01 00:23:54 -04:00
Richard Feldman
4ace05ea5d
Revert "Start attempting to offset parse error regions"
This is going to be a bigger project than I want to take on right now.

This reverts commit 3304f37b78.
2022-10-31 23:25:32 -04:00
Richard Feldman
3304f37b78
Start attempting to offset parse error regions 2022-10-31 23:25:24 -04:00
Richard Feldman
50d9755758
Merge pull request #4429 from austinclem1/main
add missing indent when formatting single-quoted char in pattern
2022-10-31 17:56:06 -07:00
Richard Feldman
220c362671
Merge remote-tracking branch 'origin/main' into repl 2022-10-31 20:49:28 -04:00
Richard Feldman
5e00522a47
Merge pull request #4443 from joshuawarner32/move-min_indent-to-parse-pr
Refactor Parser trait to pass min_indent
2022-10-31 17:46:05 -07:00
Folkert
a44cd68419
update comments 2022-10-31 23:56:53 +01:00
Folkert
bb893a70a0
actually put in the chkstk helper 2022-10-31 23:47:06 +01:00
Folkert
708de4136b
add assembly bytes for ___chkstk_ms 2022-10-31 23:28:14 +01:00
Ayaz Hafiz
9ab5d0efb8
Constraining of list patterns 2022-10-31 17:05:08 -05:00
Ayaz Hafiz
7b87d0093e
Update reporting tests 2022-10-31 17:05:08 -05:00
Ayaz Hafiz
058d1f0b5d
Add tests for multiple rest pattern errors 2022-10-31 17:05:07 -05:00
Ayaz Hafiz
b0a8b85de3
Canonicalization of list patterns 2022-10-31 17:04:47 -05:00
Folkert
0cada70627
add comment about removeing \r 2022-10-31 22:48:50 +01:00
Folkert de Vries
55ea3bbea2
Merge pull request #4437 from roc-lang/windows-effect-loop-scratchpad
windows: working cli benchmark tests
2022-10-31 22:33:10 +01:00
Anton-4
4ec43d9964
Closes #4423, link build command refactoring 2022-10-31 21:32:38 +01:00
Joshua Warner
07be8ec000
Refactor Parser trait to pass min_indent
This removes the need to explicitly pass thru min_indent when using the parser combinators.

My ultimate goal here is to evolve the current parser closer toward a purely combinator-based parser,
at which point we can more easily transition smoothly to a formal(ish) grammar, or expand the meanings of combinators
to include things like:
* Incremental (re)parsing
* Unified parsing and formatting code
* Better error recovery
* Using the main parser directly for syntax highlighting
2022-10-31 13:31:47 -07:00
Richard Feldman
c3641d38d2
Add targets for repl_test 2022-10-31 16:14:59 -04:00
Richard Feldman
0be3632da3
fix some wasm repl tests 2022-10-31 16:08:46 -04:00
Richard Feldman
367d4fbb71
Use the right wasm feature flags 2022-10-31 15:26:10 -04:00
Richard Feldman
bc2ec738a0
Merge pull request #4281 from lucacervello/suggest-lambda-operator
Add suggest lambda operator instead of when
2022-10-31 10:29:46 -07:00
Ayaz Hafiz
5e891a3501
Add comment on when heuristic can be removed 2022-10-31 09:48:25 -05:00
Ayaz Hafiz
04e8e26faf
Fix env var typo 2022-10-31 09:46:07 -05:00
Ayaz Hafiz
bb02104436
Fix typo 2022-10-31 09:44:22 -05:00
Ayaz Hafiz
b3956569a6
Add comment on inlining 2022-10-31 09:43:28 -05:00
Ayaz Hafiz
07f5d0c7fd
Clarify TODO 2022-10-31 09:39:29 -05:00
Ayaz Hafiz
508ee8d428
Update repl test with OIOP 2022-10-31 09:38:23 -05:00
Ayaz Hafiz
a526fd92aa
inferred extension vars are material if they're not flex or empty 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
4f367e2608
Clippers lose to the Thunder, I lose to Clippy 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
9854f5f2ac
Print alias's underlying structures if OIOP vars are material 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
e1b6e0334b
Generate OIOP vars correctly 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
f37868256d
Update repl test 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
985bd7d23f
Format the codes 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
bedb26124d
Update load tests 2022-10-31 09:38:21 -05:00
Ayaz Hafiz
debe6332c5
Support OIOP for type aliases 2022-10-31 09:38:21 -05:00
Ayaz Hafiz
6ee2fb496d
Do not check named arguments in both alias args and real typ 2022-10-31 09:38:21 -05:00
Ayaz Hafiz
aa8a7b1ebc
Less aggressive inlining in debug builds
Being too aggressive about inlining in debug builds can result in huge
stack frames building up when inlined functions are contained in
non-tail-recursive, non-inlined function calls. This easily hits stack
overflows, so avoid it.
2022-10-31 09:38:21 -05:00
Ayaz Hafiz
91dd47c5e4
Store OIOP variables in a unique buffer 2022-10-31 09:38:21 -05:00
Ayaz Hafiz
cfe7c8e5ef
Warn on the presence of unnecessary wildcards in output positions 2022-10-31 09:38:20 -05:00
Ayaz Hafiz
d55dbbf0ae
Update load test to work around constraining bug 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
b98cfa3bd6
Update roc_ast constraining tests 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
85e58440de
Allow too many args 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
8d5678151d
Implement open-in-output-position for non-alias type annotations 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
0707739cfc
Prefer "tags are missing" error messages 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
ec4285c1dd
Work around constraining bug in gen test 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
42058c3067
Add note on bug in constraining 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
e7c7eb623e
Fail builds if builtins have type errors 2022-10-31 09:37:41 -05:00
Ayaz Hafiz
bb1f4cd5e8
Fix bug in closing heuristic 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
7b9ce492c3
Better estimate polarity in exhaustiveness checking 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
69114cc820
Apply a heuristic for opening/closing types before exhaustiveness checking 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
895bf932db
Decide usages contextually based only on one type at a time 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
34be486a9e
Print wildcard in output position correctly 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
f3623b1e47
Close extension types extended wiht uninhabited types after their extension 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
4d48ea7c2f
Materialize extension variable polarity in error type reporting 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
3c15ff4694
Correctly print wildcards as appropriate in error messages 2022-10-31 09:37:39 -05:00
Ayaz Hafiz
d77080529a
Introduce polarity for extension variable printing 2022-10-31 09:37:39 -05:00
Richard Feldman
81254ecb77
Drop unused import in wasm repl test 2022-10-31 09:20:34 -04:00
Richard Feldman
e9e4e710e2
clippy 2022-10-31 08:05:32 -04:00
Richard Feldman
eaa0824347
Fix wasm repl multiline string test 2022-10-31 08:03:22 -04:00
Richard Feldman
50ebffad5a
Fix Windows Readline error 2022-10-31 07:28:24 -04:00
Richard Feldman
9265d6480d
clippy 2022-10-31 07:12:57 -04:00
Richard Feldman
71bb6b3e7d
Update format_answer call in repl_wasm 2022-10-31 07:09:00 -04:00
Richard Feldman
7f1efae6e0
Drop obsolete test 2022-10-31 07:06:31 -04:00
Richard Feldman
664526a167
Fix repl multiline string test 2022-10-31 07:05:18 -04:00
Richard Feldman
212090769f
Fix repl handling of invalid layouts 2022-10-31 06:57:52 -04:00
Richard Feldman
d6853519d8
Expand repl TIPS 2022-10-31 06:53:27 -04:00
Richard Feldman
cb7ee6a43a
Have repl error eagerly on confirmed syntax errors 2022-10-31 06:40:38 -04:00
Richard Feldman
e6bd2a5f30
Handle syntax errors in repl 2022-10-31 06:22:35 -04:00
Richard Feldman
6227e37559
Ignore shadowing repl test for now 2022-10-31 06:17:48 -04:00
Richard Feldman
2b89f53e76
Right-align var_name if terminal under 80 chars 2022-10-31 06:14:43 -04:00
Richard Feldman
ea67b729c3
Fix a bunch of repl test trimming issues 2022-10-30 15:10:49 -04:00
Richard Feldman
8b4e864a90
Support opaques, aliases, and abilities in repl 2022-10-30 15:03:59 -04:00
Richard Feldman
9f7a38408a
Only consider the last line of stdout in repl tests 2022-10-30 14:54:28 -04:00
Richard Feldman
5fdca82519
Fix a test 2022-10-30 14:44:58 -04:00
Richard Feldman
23974dc753
Drop unused lifetime annotation 2022-10-30 14:42:00 -04:00
Richard Feldman
d7fd72c905
Fix eval-ing functions in repl 2022-10-30 14:41:57 -04:00
Richard Feldman
eebf973f11
repl treats whens as incomplete until blank line 2022-10-30 13:48:06 -04:00
Richard Feldman
fccc2ed497
Update panic message in repl 2022-10-30 13:35:49 -04:00
Richard Feldman
0c8f6a0a72
Fix annotated defs in repl 2022-10-30 13:34:38 -04:00
Richard Feldman
daa87093ca
Don't drop defs that would be shadowed 2022-10-30 12:42:20 -04:00
Richard Feldman
e38ae00c65
Expose macros for joining up AnnotatedBody nodes 2022-10-30 12:36:10 -04:00
Folkert
dbd0d30893
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-10-30 15:57:07 +01:00
Folkert
bbab077b16
make ret instruction finding more robust 2022-10-30 14:53:17 +01:00
Folkert
e14904bbe3
carriage return 2022-10-30 14:45:32 +01:00
Folkert
8816db1ff1
make paths consistent in cli tests 2022-10-30 14:40:39 +01:00
Folkert
9620140079
use timer instead of CLOCK in zig platforms 2022-10-30 13:46:21 +01:00
Folkert
7e1b2b8141
typo 2022-10-30 13:40:28 +01:00
Folkert
f91e358aff
don't use max-threads on windows 2022-10-30 13:28:09 +01:00
Folkert
ef9f2a4bdc
search for roc.exe on windows 2022-10-30 12:51:17 +01:00
Folkert
3865d94fb4
disallow valgrind on windows 2022-10-30 12:49:49 +01:00
Richard Feldman
c39ac00659
Add annotated_body repl test 2022-10-30 07:23:49 -04:00
Richard Feldman
99f4d99771
Revert "Attempt a refactor, but run into lifetime issues"
This reverts commit 4a9b44aaaf.
2022-10-30 07:22:32 -04:00
Richard Feldman
4a9b44aaaf
Attempt a refactor, but run into lifetime issues 2022-10-30 07:22:31 -04:00
Richard Feldman
fcfd9fa709
Move exhaustiveness_problem to repl state test 2022-10-30 07:22:31 -04:00
Richard Feldman
e0e25a48bf
Add comment_str 2022-10-30 07:17:10 -04:00
Folkert
7b449516ad
strip carriage return differently 2022-10-30 11:50:26 +01:00
Folkert
22e91e62c6
carriage return fixes for windows 2022-10-30 11:38:43 +01:00
Folkert
69fe0464f5
round up reloc image if on boundary 2022-10-30 11:15:01 +01:00
Richard Feldman
a574dff481
Don't print repl output if there were errors 2022-10-30 05:57:21 -04:00
Richard Feldman
062d532fa4
Fix most repl tests 2022-10-30 05:47:05 -04:00
Richard Feldman
752e315ada
Add persisted defs and auto defs repl tests 2022-10-30 05:40:43 -04:00
Richard Feldman
c09fd8b7c5
Update repl state tests 2022-10-30 05:34:19 -04:00
Richard Feldman
08cf8e727f
have the repl eval named defs 2022-10-30 03:58:44 -04:00
Richard Feldman
4d8a3ba3d7
Don't persist defs if they have errors 2022-10-30 03:42:30 -04:00
Richard Feldman
60d2d00651
Drop some unused comments 2022-10-30 03:42:15 -04:00
Richard Feldman
51cb51d485
Gracefully recover from malformed closure in repl 2022-10-30 03:31:54 -04:00
Richard Feldman
e93d9b81d8
Report repl compile errors as bugs 2022-10-30 03:19:47 -04:00
Richard Feldman
9ed13eb97b
Don't panic when repl code crashes 2022-10-30 03:14:46 -04:00
Richard Feldman
0190787f7b
Revert "send panics to the repl more gracefully"
Now doesn't seem like the right time to do a change this invasive.

This reverts commit a36ddbf6cb.
2022-10-30 03:12:53 -04:00
Richard Feldman
a36ddbf6cb
WIP send panics to the repl more gracefully 2022-10-30 03:12:41 -04:00
Richard Feldman
45e800c328
Don't print warnings in the REPL 2022-10-30 03:12:27 -04:00
Richard Feldman
875a2181a0
Right-align var_name output in repl (at 80 cols) 2022-10-30 02:47:26 -04:00
Richard Feldman
aa1dcee709
Hackily filter out UNUSED warnings in repl 2022-10-30 02:18:52 -04:00
Folkert
bb5864c2b8
allow llvm warning in cli tests 2022-10-30 01:34:19 +02:00
Folkert
748b2cf23a
make condition stricter 2022-10-30 00:51:42 +02:00
Folkert
21a2f6f103
remove relocation entry logic 2022-10-30 00:46:58 +02:00
Folkert
5a67687bba
deal with a stack probe symbol on windows 2022-10-29 23:19:45 +02:00
Folkert
b3f151fd53
deal with carriage return when getting a number from stdin 2022-10-29 21:13:28 +02:00
Folkert
a9d36431ba
don't put in relocations ?! 2022-10-29 17:01:51 +02:00
Anton-4
499177736c
Merge branch 'main' of github.com:roc-lang/roc into windows-tests 2022-10-29 16:58:21 +02:00
Anton-4
fda3b44315
windows flake is different than on macos 2022-10-29 16:57:32 +02:00
Anton-4
b1fff17730
fix typo
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-29 16:32:38 +02:00
Anton-4
4ce978a7c0
fix typo
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-29 16:31:36 +02:00
Anton-4
ddcb5d3742
add flaky windows error
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-29 16:30:06 +02:00
Anton-4
ae1a9e4dd6
Merge pull request #4403 from lukewilliamboswell/rust-docs
adding crates/README.md for rust docs
2022-10-29 08:30:20 +02:00
Austin Clements
5d19d28e56 formatting 2022-10-28 18:13:03 -05:00
Folkert de Vries
9f62e65892
Merge pull request #4406 from roc-lang/windows-effect-loop
Windows effects.roc
2022-10-29 00:29:35 +02:00
Austin Clements
ec81ce5ebc add test for formatter: single-quoted char pattern 2022-10-28 16:36:24 -05:00
Austin Clements
87041f8cd7 add missing indent when formatting single-quoted char in pattern 2022-10-28 14:49:50 -05:00
Anton-4
ecff894036
more links, small improvements 2022-10-28 20:14:46 +02:00
Anton-4
c99a1e0d7b
added Luke's editor ideas
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-28 17:40:27 +02:00
Anton-4
e2186ceae6
added extra newlines 2022-10-28 16:24:09 +02:00
Anton-4
3229f0fc98
fixed editor Ctrl+R 2022-10-28 12:49:48 +02:00
Richard Feldman
b7d3c77b76
Have the repl eval anyway if there are errors 2022-10-27 18:47:32 -04:00
Richard Feldman
f841cdb2c0
Persist defs 2022-10-27 18:47:32 -04:00
Richard Feldman
90e79379cb
Remove test dependency on rustyline 2022-10-27 18:47:32 -04:00
Richard Feldman
5b36d2c41c
Drop pending_src, fix repl tips 2022-10-27 18:47:32 -04:00
Richard Feldman
6038965cb6
Fix some repl state machine bugs 2022-10-27 18:47:32 -04:00
Richard Feldman
f11b2d21cb
Drop an unused Result 2022-10-27 18:47:31 -04:00
Richard Feldman
6fbafad3ff
Share code between validation and step 2022-10-27 18:47:31 -04:00
Richard Feldman
0a80b543b4
Add first ReplState test 2022-10-27 18:47:31 -04:00
Richard Feldman
a6c1667d37
Reorganize repl modules 2022-10-27 18:47:31 -04:00
Richard Feldman
9f498add60
Reorganize some REPL modules 2022-10-27 18:47:27 -04:00
Richard Feldman
2e873d6a9a
Add linked_list_extra 2022-10-27 18:46:15 -04:00
Richard Feldman
4c02a38a99
Drop some apparently-unreachable code 2022-10-27 18:46:15 -04:00
Richard Feldman
63c7b90113
Have repl validator accept top level defs 2022-10-27 18:46:15 -04:00
Richard Feldman
ba6457779d
Fix :help newline 2022-10-27 18:46:15 -04:00
Richard Feldman
f85c10c4bb
Colorize ctrl-v + ctrl-j in repl instructions 2022-10-27 18:46:14 -04:00
Richard Feldman
8a29d50f4e
Swap when TIPS and SHORT_INSTRUCTIONS print 2022-10-27 18:46:14 -04:00
Richard Feldman
de6e7840cb
Merge pull request #4410 from roc-lang/editor_ideas
more editor ideas
2022-10-27 08:15:02 -07:00
Luke Boswell
f644566aeb
included more comments 2022-10-27 18:01:58 +11:00
Brendan Hansknecht
00687edbc7
Merge pull request #4380 from roc-lang/dummy-lib
Add a roc subcommand for generating the stub shared lib
2022-10-27 03:06:19 +00:00
Richard Feldman
67a8bbd6a2
Merge pull request #4414 from roc-lang/i4412
Parse and format list patterns
2022-10-26 19:49:12 -07:00
Richard Feldman
c894d522c3
Drop some commented-out lines
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-26 22:48:37 -04:00
Richard Feldman
93c6b65a4d
Merge pull request #4409 from roc-lang/parse-single-def
Extract parse_single_def
2022-10-26 19:44:35 -07:00
Richard Feldman
719387bb0a
Merge pull request #4387 from lukewilliamboswell/std-lib-bool
updated docs for Bool.roc
2022-10-26 19:43:51 -07:00
Richard Feldman
9d5705146d
Merge pull request #4392 from lukewilliamboswell/std-docs-box-and-dict
updating docs for Box and Dict
2022-10-26 19:39:44 -07:00
Ayaz Hafiz
89867a4dc5
Add parsing error reporting for list patterns 2022-10-26 18:05:52 -05:00
Ayaz Hafiz
9bb523ce97
Format list patterns 2022-10-26 17:08:10 -05:00
Ayaz Hafiz
4d35ab9957
Parse list patterns 2022-10-26 17:03:22 -05:00
Luke Boswell
81e0ceebc8
updated with ayaz's comments 2022-10-27 08:55:47 +11:00
Richard Feldman
40498d71c3
clip clap clorp 2022-10-26 16:11:30 -04:00
Anton-4
04899675e4
more editor ideas 2022-10-26 20:21:07 +02:00
Folkert de Vries
02a76bb8bd
Merge pull request #4399 from roc-lang/no-types-in-constraining-api
Have most constraining APIs take a type index rather than `Type`
2022-10-26 19:45:55 +02:00
Richard Feldman
c748d88c0d
Fix typo in docs 2022-10-26 13:44:13 -04:00
Richard Feldman
785e0d5ef6
Revise things to be more concise 2022-10-26 13:44:13 -04:00
Richard Feldman
9b19ed8b3b
Refactor out Next 2022-10-26 13:44:12 -04:00
Richard Feldman
a1104ce5fa
Refactor out Next::Fixup 2022-10-26 13:44:12 -04:00
Richard Feldman
107f37219f
Document Fixup 2022-10-26 13:44:12 -04:00
Richard Feldman
131c4b2bb1
Extract parse_single_def 2022-10-26 13:44:12 -04:00
Ayaz
316ae7d30b
Merge pull request #4398 from roc-lang/emplace-type-variables
Leave variables behind when converting `Type`s to variables
2022-10-26 12:41:55 -05:00
Folkert
548ef1358d
remove debug print 2022-10-26 19:09:16 +02:00
Folkert
bb19644d40
make inc/dec private on non-windows 2022-10-26 16:47:12 +02:00
Folkert
38d7e57248
make refcounting functions link as External 2022-10-26 16:41:20 +02:00
Folkert
7c91aa79c9
when encountering memcpy, actually look for roc_memcpy 2022-10-26 16:37:59 +02:00
Folkert
5311d9a02b
Revert "redirect libc functions to their roc equivalents"
This reverts commit 4a75b5ad5827999592ebc0f66debe90f09e87bf5.
2022-10-26 16:36:10 +02:00
Folkert
73796f2b05
rename 2022-10-26 16:34:04 +02:00
Folkert
e6c75ea3b6
make relocation calculation more robust 2022-10-26 16:33:10 +02:00
Folkert
2ad7dc0ca0
redirect libc functions to their roc equivalents 2022-10-26 16:32:37 +02:00
Folkert
52404a4085
fix wrong flag passed to zig 2022-10-26 16:31:20 +02:00
Anton-4
dc93985281
fmt 2022-10-26 13:23:59 +02:00
Anton-4
5e67aa0a63
improve doc comment
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-26 13:22:00 +02:00
Anton-4
35f248d718
update doc comment
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-26 13:21:27 +02:00
Anton-4
12f46bb5eb
general improvements
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-26 13:20:33 +02:00
Luke Boswell
04903295f8
adding crates/README.md for rust docs 2022-10-26 14:41:25 +11:00
Brendan Hansknecht
7189d79572
remove clap from linker deps 2022-10-25 15:41:00 -07:00
Anton-4
5ea5d9830e
minor cleanup 2022-10-25 20:09:42 +02:00
Anton-4
64ae063022
strip debug before sha 2022-10-25 18:08:14 +02:00
Luke Boswell
90a9103413
fix doc comments examples breaking tests 2022-10-25 21:20:00 +11:00
Luke Boswell
344ffc5542
fix the formatting for CI 2022-10-25 19:28:49 +11:00
Luke Boswell
d4d654f850
add spaces to doc comments to format correctly when rendered 2022-10-25 19:24:32 +11:00
Anton-4
c7e46df57d
minor corrections
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-25 10:00:33 +02:00
Anton-4
d342815494
add space
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-25 10:00:09 +02:00
Luke Boswell
01da174c2f
Merge remote-tracking branch 'upstream/main' into std-docs-box-and-dict 2022-10-25 18:15:14 +11:00
Luke Boswell
3d2bdff0e1
adding more descriptions for Dict.roc 2022-10-25 18:09:00 +11:00
Luke Boswell
74a337d508
updated description for Boxing from Zulip discussion 2022-10-25 17:20:27 +11:00
Luke Boswell
dc77e9a6cd
formated Bool.roc for CI 2022-10-25 17:07:34 +11:00
Brendan Hansknecht
e25475e7a1
dummy -> stub. Also minor help message update. 2022-10-24 18:52:11 -07:00
Brendan Hansknecht
dead264798
add macho dummy lib generation with ld 2022-10-24 18:47:12 -07:00
Brendan Hansknecht
d6bdd2aec7
create a roc sub command for generating a dummy lib 2022-10-24 18:47:11 -07:00
Richard Feldman
9bb45f5856
Merge pull request #4381 from roc-lang/windows-rust-platforms
Windows rust platforms
2022-10-24 18:27:26 -07:00
Ayaz Hafiz
a4d7ee33c1
Apply lints 2022-10-24 18:23:36 -05:00
Ayaz Hafiz
084393c326
store_index is now redundant 2022-10-24 18:21:05 -05:00
Ayaz Hafiz
bff3d534f6
Store expects type index 2022-10-24 18:20:18 -05:00
Ayaz Hafiz
278754506f
lookup expects type index 2022-10-24 18:14:28 -05:00
Ayaz Hafiz
97d47cc05f
includes_tag expects type index 2022-10-24 18:08:45 -05:00
Ayaz Hafiz
556222caa1
is_open_type expects type index 2022-10-24 17:51:39 -05:00
Ayaz Hafiz
0f0c02965a
pattern_presence expects type index 2022-10-24 17:49:02 -05:00
Ayaz Hafiz
0990eda0cb
equal_pattern_types takes type index 2022-10-24 17:41:13 -05:00
Ayaz Hafiz
c53e08f63c
equal_types_with_storage takes type index 2022-10-24 17:35:09 -05:00
Ayaz Hafiz
cca5f53e98
equal_types_var requires a type index 2022-10-24 17:30:04 -05:00
Ayaz Hafiz
91eb9aaea4
Rename variables 2022-10-24 14:30:50 -05:00
Ayaz Hafiz
83e35fa40d
Get rid of another clone 2022-10-24 14:29:05 -05:00
Ayaz Hafiz
0b8ac07287
Get rid of more type clones 2022-10-24 14:25:19 -05:00
Ayaz Hafiz
7c3fe5bc44
Remove some type clones 2022-10-24 14:11:53 -05:00
Ayaz Hafiz
55d7f3f658
Require type and expected indices in equal_types constraints 2022-10-24 14:05:19 -05:00
Ayaz Hafiz
1f498b52d5
Better name solve test 2022-10-24 14:02:38 -05:00
Ayaz Hafiz
fc6f7d2613
Basic support for multi-ability docs 2022-10-24 14:00:46 -05:00
Ayaz Hafiz
1053c11907
Basic formatting of multi-abilities 2022-10-24 14:00:46 -05:00
Ayaz Hafiz
0642952d05
Remove some resolved todos 2022-10-24 14:00:46 -05:00
Ayaz Hafiz
66e75b8660
Simplify instantiation of bound able variables in non-delayed aliases 2022-10-24 14:00:46 -05:00
Ayaz Hafiz
3f5a86ded3
Update ability bindings 2022-10-24 14:00:46 -05:00
Ayaz Hafiz
0da72df5e9
Add ability slice to eq obligation checker 2022-10-24 14:00:46 -05:00
Ayaz Hafiz
2961d1a8be
Remove redundant reference 2022-10-24 14:00:45 -05:00