Commit graph

13739 commits

Author SHA1 Message Date
Folkert
06ff93cace
Revert "remove clones in most cases in can/def"
This reverts commit 5e48577d29.
Will put it into a separate PR
2022-03-05 15:50:41 +01:00
Folkert
b421df2a28
transform TypedDef to use fewer clones 2022-03-05 15:50:00 +01:00
Folkert
5e48577d29
remove clones in most cases in can/def 2022-03-05 15:32:55 +01:00
Brian Carroll
0464da84c0 Rename CLI --backend to --target since that's what it has always meant 2022-03-05 14:22:59 +00:00
Folkert
80956061dd
fix formatting bug in type pretty-print 2022-03-05 15:03:59 +01:00
Folkert
48b0bbe874
cleanup 2022-03-05 14:55:45 +01:00
Folkert
97b0e3df9b
more efficient approach for finding new rigids 2022-03-05 14:50:23 +01:00
Folkert
6370a80c62
make sure lambda sets within aliases are in IntroducedVariables 2022-03-05 14:29:34 +01:00
Folkert
012a2d07a6
add Inferred variables to IntroducedVariables 2022-03-05 14:27:45 +01:00
Richard Feldman
bcafc6612e
Update Pierre-Henri's email in AUTHORS
As requested in 76b4e7ec2e (commitcomment-68027841)
2022-03-05 08:07:25 -05:00
Folkert
7c83e940bd
leave a TODO 2022-03-05 13:55:30 +01:00
Folkert
d7eee71402
track lambda set variables; only use annotation variables in annotations... 2022-03-05 13:47:01 +01:00
Folkert
9302f2ca5e
partially revert to working state 2022-03-05 13:18:35 +01:00
Folkert
477fe5a48e
Merge remote-tracking branch 'origin/trunk' into instantiate-rigids-speedup-again 2022-03-05 13:12:55 +01:00
Folkert de Vries
b86976be02
Merge pull request #2648 from rtfeldman/unused_roc_file
removed redundant roc_file.rs
2022-03-05 13:04:53 +01:00
Folkert de Vries
9d7ba11018
Merge pull request #2647 from rtfeldman/take-scratchpad-bug
Fix a bug taking a scratchpad arena
2022-03-05 13:04:10 +01:00
Anton-4
cbac0cf318
removed redundant roc_file.rs 2022-03-05 09:32:37 +01:00
Derek Gustafson
a021c09752
Implement RocDec to [u8] algorithm. 2022-03-04 22:52:13 -05:00
ayazhafiz
e0aa246c5e Merge remote-tracking branch 'origin/trunk' into instantiate-rigids-speedup-again 2022-03-04 21:55:16 -05:00
Folkert
d158702e1a
Merge remote-tracking branch 'origin/trunk' into take-scratchpad-bug 2022-03-05 02:15:46 +01:00
Folkert
8c321c1aa4
fix a bug with taking a scratchpad arena 2022-03-05 02:12:10 +01:00
Richard Feldman
76b4e7ec2e
Add Derek, Philippe, and Pierre-Henri to AUTHORS 2022-03-04 19:46:52 -05:00
Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Folkert
241dc5783e
remove VariablesIter, it was unused 2022-03-05 01:37:23 +01:00
Folkert
a79f6c6cdd
restructure and add comments 2022-03-05 01:29:21 +01:00
Richard Feldman
b9dee3a4df
Merge pull request #2642 from rtfeldman/issue-2586/formater-panics-on-multiline-hof-annotations
Fixes #2586
2022-03-04 19:26:44 -05:00
Folkert
c7d8ae6c79
make complex case tail-recursive 2022-03-05 01:02:27 +01:00
Folkert
3a1add6ce8
add LocalDefVarsVec::from_def_types 2022-03-05 00:53:27 +01:00
Folkert
41df04184e
make the simple case tail-recursive 2022-03-05 00:26:03 +01:00
Folkert
4ca9ea0b89
refactor After 2022-03-04 23:57:41 +01:00
Pierre-Henri Trivier
1d3aa26193 Fixes #2586 2022-03-04 23:50:00 +01:00
Derek Gustafson
dc92de7781
Add plumbing for displaying RocDec in the repl. 2022-03-04 17:32:09 -05:00
Folkert
39c4b878e5
remove comment 2022-03-04 23:27:05 +01:00
Folkert
db06c10b5f
be smarter 2022-03-04 23:02:10 +01:00
Brian Carroll
770155312c Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error 2022-03-04 21:22:08 +00:00
Brian Carroll
338961d202 wasm: go back to custom bytes->string transformation
CStr version is too hard to get working correctly. I get weird test failures
with random characters in the middle of strings.
2022-03-04 19:52:27 +00:00
Anton-4
37704323b1
basic highlighting flow using MarkupNodes 2022-03-04 20:19:05 +01:00
Folkert de Vries
cfccb92bf9
Merge pull request #2639 from rtfeldman/remove-morphic-from-web-repl
Move alias analysis to its own crate instead of roc_mono
2022-03-04 20:12:30 +01:00
Brian Carroll
20e46fbda4 wasm: address PR feedback 2022-03-04 19:12:18 +00:00
Brian Carroll
f2adf71873 Move alias analysis to its own crate instead of roc_mono
Shrinks roc_repl_wasm by 400kB (~8%)
2022-03-04 14:50:02 +00:00
Brian Carroll
4252f093ad Instructions about Shift+Enter 2022-03-04 13:26:49 +00:00
Brian Carroll
3867b2da01 www: Change download URL for pre-built web REPL
I'm making changes more frequently to the REPL than we are to the source code.
I want to be able to deploy it from a script rather than opening new GitHub issues,
so I decided to just commit the assets into a branch of a GitHub repo.
The repo was only used as a prototype for the web REPL so I don't use it anymore.
2022-03-04 13:12:56 +00:00
Brian Carroll
f8e23d93cc repl_www: nicer line spacing 2022-03-04 08:14:50 +00:00
Brian Carroll
79b65347fa repl_www: Improved UI for multiline input 2022-03-04 07:45:49 +00:00
Brian Carroll
485cbb4bd1
Merge pull request #2635 from rtfeldman/issues-2607/multiline-input-repl
Allow multi string in RePL
2022-03-04 07:40:17 +00:00
Folkert de Vries
874ce855bc
Merge pull request #2634 from rtfeldman/DecFromF64
Remove using a string as an intermediate form in Dec.fromF64.
2022-03-03 23:13:42 +01:00
Philippe Vinchon
8937356b0e Use textarea instead of input 2022-03-03 21:36:00 +00:00
Philippe Vinchon
b9365d06e3 Allow multi string in RePL 2022-03-03 21:15:01 +00:00
Derek Gustafson
b6ad04b0f1
Fix zig fmt error. 2022-03-03 11:14:58 -05:00
Derek Gustafson
6feac21b9b
Remove using a string as an intermediate form in Dec.fromF64. 2022-03-03 11:05:41 -05:00