Commit graph

13739 commits

Author SHA1 Message Date
Folkert
0d28b5f475
disable printing of type clone count 2022-03-17 19:32:46 +01:00
Folkert
dfaf9c86c3
git ignore wasm files in benchmarks folder 2022-03-17 19:32:34 +01:00
Folkert
426bfe3ff1
implement solve crate 2022-03-17 19:31:54 +01:00
Folkert
b1612384c7
implement constrain crate 2022-03-17 19:17:52 +01:00
Folkert
34e566965d
implement can crate 2022-03-17 19:04:24 +01:00
Folkert
4545e76b76
implement in the types crate 2022-03-17 19:00:08 +01:00
Pierre-Henri Trivier
3e368a64ff Formatter should ignore non roc files
Fixes #2683
2022-03-17 18:55:15 +01:00
Folkert
3d5a93a4e6
make substitute use an explicit stack 2022-03-17 18:33:00 +01:00
Folkert
8144d7b390
the setup 2022-03-17 18:24:22 +01:00
Brian Carroll
9fc3c40379 Fix wrong import names 2022-03-17 13:22:40 +00:00
Brian Carroll
384a79ff84 Formatting 2022-03-17 10:50:30 +00:00
Brian Carroll
d9af141a47 repl_www: match text styling to CLI 2022-03-17 10:40:47 +00:00
Brian Carroll
aa19a0d525 repl_www: refactor setup for wasm_bindgen globals 2022-03-17 10:40:02 +00:00
Brian Carroll
0cae9a0e14 repl_www: get rid of separate build directory, it's too annoying when editing JS/CSS. 2022-03-17 09:52:50 +00:00
Brian Carroll
68222dfd50 repl: apply the relevant style codes in each REPL (web and terminal) 2022-03-17 09:46:52 +00:00
Brian Carroll
0d7a7fe34f reporting: generalise text styles to work with HTML as well as ANSI 2022-03-17 09:35:58 +00:00
Richard Feldman
dca9404772
Merge pull request #2731 from rtfeldman/wasm-build-options
Optimize Wasm build options
2022-03-16 22:29:07 -04:00
Brian Carroll
10d7d99dc6 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-build-options 2022-03-16 23:51:35 +00:00
Folkert
fc233d2a4f
clippy 2022-03-16 23:05:07 +01:00
Folkert
7c3f3585bb
fix spelling error 2022-03-16 23:02:38 +01:00
Folkert
b38ff78422
make extension check work again 2022-03-16 22:19:48 +01:00
Folkert
de37897df4
fix reporting tests compilation 2022-03-16 22:10:20 +01:00
Folkert
c5fb4f2e47
rewrite and fix builtin alias instantiation 2022-03-16 22:10:04 +01:00
Folkert
f868410a91
also skip opaque aliases for now 2022-03-16 22:09:39 +01:00
Folkert
7fd420bb95
optimize instantiation of builtins 2022-03-16 21:15:54 +01:00
Folkert
64287ea783
disable printing of type clone count 2022-03-16 18:38:55 +01:00
Folkert
d3c6f00c77
use custom default aliases 2022-03-16 18:35:42 +01:00
Folkert
144949b7ca
optimize Float types like integers in solve.rs 2022-03-16 18:35:04 +01:00
Folkert
ad6fd18b05
optimizations for known aliases and identity substitutions 2022-03-16 18:33:53 +01:00
Folkert
fde28033bc
gitignore wasm files in benchmarks 2022-03-16 18:32:55 +01:00
Folkert
dab804dca1
record how many clones of Type occur 2022-03-16 18:30:59 +01:00
Folkert
d187d43a0c
add a bunch of implementations of Type functions for DelayedAlias 2022-03-16 18:30:46 +01:00
Folkert
48b6cd09c7
conditionally use a DelayedAlias 2022-03-16 18:29:40 +01:00
Folkert
f24bfeea99
add some aliases to file.rs 2022-03-16 18:18:45 +01:00
Brian Carroll
8ca0b1cfcf Remove panic=abort from wasm flags in case of memory leaks 2022-03-16 17:11:15 +00:00
Folkert
7f63e09272
remember recursion variable when making alias recursive 2022-03-16 14:52:34 +01:00
Folkert
1dacf29879
make sure aliases are not forgotten 2022-03-16 14:36:24 +01:00
Brian Carroll
7542610953 Add comments about Wasm compiler flags 2022-03-16 12:51:24 +00:00
Folkert
b3dce7317d
hook up aliases 2022-03-15 22:23:40 +01:00
Folkert
7d8409f6a6
write Aliases implementation 2022-03-15 22:02:04 +01:00
Brian Carroll
52e17ae6b8 Further optimize wasm build for web REPL 2022-03-15 19:19:29 +00:00
Brian Carroll
72b620086f Set Cargo config to optimize Wasm builds for size (web REPL) 2022-03-15 19:02:15 +00:00
Brian Carroll
5b97823ba8 repl_wasm: prevent console_error_panic_hook slowing down non-wasm builds 2022-03-15 19:01:05 +00:00
Folkert de Vries
12203926c4
Merge pull request #2728 from rtfeldman/janbugs
Fix a few recent bugs submitted by Jan
2022-03-15 19:51:13 +01:00
ayazhafiz
8aaf614481 Improve error message 2022-03-15 11:18:02 -05:00
ayazhafiz
73396c0607 aliases->references in partial procs 2022-03-15 11:05:59 -05:00
ayazhafiz
787c8ee3a5 s/occurence/occurrence/g 2022-03-14 17:50:55 -05:00
ayazhafiz
8810a48a52 fmt 2022-03-14 17:47:29 -05:00
ayazhafiz
93804bb04c Unnecessary let binding 2022-03-14 17:44:07 -05:00
ayazhafiz
3da34fc843 Report unbound type variables in aliases, opaques
Closes #2726
2022-03-14 17:42:45 -05:00