Commit graph

13104 commits

Author SHA1 Message Date
Folkert
01a7fe77d4
even more wip 2022-03-02 17:32:50 +01:00
Folkert
b8fd6992a2
More wip 2022-03-02 15:29:45 +01:00
Folkert
ec099bbdec
WIP 2022-03-02 14:46:30 +01:00
Folkert
fd8dfd284d
add Index and Slice to collections 2022-03-01 22:41:46 +01:00
Folkert
d54c98e1aa
Merge remote-tracking branch 'origin/trunk' into constraints-soa 2022-03-01 22:39:51 +01:00
Richard Feldman
d4cce420a8
Merge pull request #2619 from rtfeldman/netlify-scripts
Partially fix Netlify build scripts
2022-02-28 22:17:21 -05:00
Richard Feldman
d2980a0d8a
Merge pull request #2618 from rtfeldman/use-outdented-delimiters
Use outdented delimiters in tutorial and roc-for-elm-programmers
2022-02-28 22:14:29 -05:00
Richard Feldman
fbac24268b
Make an include_bytes! work on Netlify 2022-02-28 21:16:22 -05:00
Richard Feldman
02ecb63b48
Add NO_ZIG_INSTALLED check to Netlify build 2022-02-28 20:51:18 -05:00
Richard Feldman
737acd2ace
Delete some obsolete sections of roc-for-elm-programmers
First-class Opaque Types and Abilities both change these.
I'll revise these sections after Abilities land in `trunk`.
2022-02-28 20:11:15 -05:00
Richard Feldman
2d0d2b8376
Use outdented delimiters in roc-for-elm-programmers 2022-02-28 20:10:59 -05:00
Richard Feldman
887a07b455
Merge pull request #2596 from rtfeldman/joshuawarner32/listclosing-braces
Allow closing braces in collections to be at any indent level
2022-02-28 20:00:44 -05:00
Richard Feldman
1c116d71b3
Introduce www/netlify.sh 2022-02-28 19:43:50 -05:00
Richard Feldman
32058a3336
Format index.html 2022-02-28 19:17:55 -05:00
hafiz
b56022027e
Merge pull request #2615 from rtfeldman/solve-clone-env 2022-02-28 19:02:25 -05:00
Folkert
8b457a56c5
reduce cloning of Env 2022-03-01 00:08:56 +01:00
Folkert
d3bbf6d504
struct of arrays! 2022-03-01 00:00:50 +01:00
Folkert
1ef9546391
use Vec instead of MutMap 2022-02-28 23:54:35 +01:00
Folkert
9d82f795b7
make it abstract 2022-02-28 23:43:58 +01:00
Folkert
751ae125a5
remove aliases from solve Env 2022-02-28 23:41:07 +01:00
Folkert
c18befeccf
short-circuit aliases 2022-02-28 23:37:33 +01:00
Richard Feldman
8a719803ce
Merge pull request #2612 from rtfeldman/www-repl-go-live
Add a REPL page to the website at /repl/index.html
2022-02-28 17:34:53 -05:00
Brian Carroll
223a9edfd2 Add a REPL page to the website at /repl/index.html 2022-02-28 19:29:09 +00:00
Folkert de Vries
f30c07edd0
Merge pull request #2604 from rtfeldman/early-exhaustiveness-checking
Move out exhaustiveness checking to its own crate
2022-02-28 14:44:42 +01:00
Richard Feldman
b5c05ea5a4
Merge pull request #2605 from rtfeldman/minor-cleanup
Minor cleanup
2022-02-27 23:28:26 -05:00
Richard Feldman
71d9a384f4
Merge pull request #2601 from rtfeldman/wasm-repl-history
repl_www: use up and down arrows to navigate input history
2022-02-27 22:26:29 -05:00
Richard Feldman
8ec7b26a1c
Merge pull request #2547 from rtfeldman/simplify-editor
simplify editor
2022-02-27 21:43:09 -05:00
Richard Feldman
ef28dbad84
Drop unnecessary extern declaration 2022-02-27 21:08:08 -05:00
Richard Feldman
696ec3c83e
zig fmt 2022-02-27 21:07:36 -05:00
ayazhafiz
a62fd31ab6 Fix new clippy warnings 2022-02-27 20:41:07 -05:00
ayazhafiz
27a50a3e6b exhaustive_wrap -> exhaustive 2022-02-27 20:30:13 -05:00
ayazhafiz
b9a29bdb16 Make exhaustive checking its own crate
Prepares for moving exhaustiveness checking to the closer typechecking
phase. Doing this one step at a time so that git preserves the rename.
2022-02-27 20:28:25 -05:00
Brian Carroll
36bb59d9f8 repl_www: use up and down arrows to navigate input history 2022-02-27 22:39:52 +00:00
hafiz
d334ea301d
Merge pull request #2600 from rtfeldman/solve-worklist
Transition `solve` to use a worklist rather than always recursing
2022-02-27 17:36:25 -05:00
Joshua Warner
3db961106e Remove now failing tests 2022-02-27 14:16:06 -08:00
ayazhafiz
01da425851 Simplify solve worklist substantially 2022-02-27 16:41:31 -05:00
Richard Feldman
44e14e2bc2
Merge pull request #2599 from rtfeldman/str-parse-updates
Revise `Str` parsing primitives
2022-02-27 16:39:20 -05:00
ayazhafiz
69953c74ad Fix missing test annotation 2022-02-27 15:51:27 -05:00
ayazhafiz
56d4dc3480 Transition solve to use a worklist rather than always recursing
This should unblock some of @folkertdev's work on transitioning builtins
to pure Roc code. It's not perfect yet (we still make some recursions),
but it's a step, and it should avoid recursing on `Let`
`ret_constraint`s, which caused stack overflows when they became really
long before.
2022-02-27 15:51:19 -05:00
Richard Feldman
84ada96b63
Revise Str parsing primitives 2022-02-27 15:30:27 -05:00
Brian Carroll
dcf3c052af
Merge pull request #2594 from rtfeldman/wasm-repl-fixes
Wasm REPL bug fixes
2022-02-27 18:40:47 +00:00
hafiz
66278515d6
Merge pull request #2560 from rtfeldman/opaque-solve
Type inference and repl for opaque types
2022-02-27 13:22:32 -05:00
Brian Carroll
1c25ab515d repl_test: skip wasm validation for the compiler 2022-02-27 17:39:29 +00:00
ayazhafiz
cf628ed4ef Fix clippy warning 2022-02-27 12:21:20 -05:00
Brian Carroll
86aec0dbe2 Earthfile: move wasm REPL test command back to the script 2022-02-27 17:03:39 +00:00
ayazhafiz
39b0857049 Merge branch 'opaque-solve' of https://github.com/rtfeldman/roc into opaque-solve 2022-02-27 12:02:05 -05:00
ayazhafiz
720b7b49d2 Improve error pattern and fix tests 2022-02-27 12:01:12 -05:00
Folkert
fb717b4f55
fix merge conflict 2022-02-27 14:08:47 +01:00
Brian Carroll
07748b2b86 builtins: change mv to cp to prevent wasm build from crashing 2022-02-27 12:40:04 +00:00
Brian Carroll
8290fbfb1b Earthfile: override RUSTFLAGS when building wasm target 2022-02-27 12:33:32 +00:00