Commit graph

14474 commits

Author SHA1 Message Date
Brian Carroll
9b6b81a438 WIP 2022-03-20 11:17:34 +00:00
Richard Feldman
00ef997be3
Add Elliot Waite to AUTHORS 2022-03-19 23:37:28 -04:00
Richard Feldman
849f573e14
Merge pull request #2756 from elliotwaite/small-text-fixes
Fix typos in intro material
2022-03-19 23:36:25 -04:00
elliotwaite
817ade6b52 Fix typos in intro material 2022-03-19 18:46:26 -07:00
Richard Feldman
32c1b5f0bf
Merge pull request #2751 from rtfeldman/remove-identstr-allocation
remove allocation in Symbol creation
2022-03-19 21:19:21 -04:00
Richard Feldman
92ec38cf3c
Document SMALL_STR_BYTES calculation 2022-03-19 21:18:02 -04:00
Folkert
f4cb2ec254
inline subs operations more aggressively 2022-03-20 02:07:48 +01:00
hafiz
3f07afe3b5
Merge pull request #2750 from rtfeldman/delay-instantiating-aliases-fix-limitations
Delay instantiating aliases fix limitations
2022-03-19 20:41:14 -04:00
hafiz
418e71e95c
Merge pull request #2755 from rtfeldman/dense-let-constraints
Constraint gen tweaks
2022-03-19 20:39:55 -04:00
Folkert
45863769eb
fix transitive imported aliases not being passed along 2022-03-20 00:03:20 +01:00
Folkert
7f92de69ab
some comments 2022-03-19 23:44:28 +01:00
Folkert
a1dbdf34d5
simplify empty let constraint 2022-03-19 23:41:56 +01:00
Folkert
a20a828ee1
refactor typed function constraint gen 2022-03-19 23:41:33 +01:00
Folkert
6aaef49aa7
don't create IsOpenType constraint for obvious non-types 2022-03-19 21:40:16 +01:00
Brian Carroll
22ccadccc9
Merge pull request #2699 from rtfeldman/wasm-zig-tests
Run Zig builtin tests on Wasm too
2022-03-19 20:36:54 +00:00
Folkert
f5ebc5bec9
add some Constraints statistics reporting 2022-03-19 20:50:22 +01:00
Folkert
9ac194a3b3
store Str.Str type in a compact way 2022-03-19 20:49:39 +01:00
Folkert de Vries
68195cc14e
Merge pull request #2753 from rtfeldman/introduced-variables-mapping
Introduced variables mapping
2022-03-19 19:57:31 +01:00
Folkert
147ab87e9c
disable type clone count atomic in release mode 2022-03-19 19:28:24 +01:00
Folkert
55d9dc745c
track if an alias is exposed 2022-03-19 17:10:29 +01:00
Folkert
62ca9ba8d0
make timing info available in check mode 2022-03-19 16:27:14 +01:00
Folkert
e914272bf5
Revert "idea (rejected): only generate work up to constraint gen, then look at what modules are actually used and generate Solve.. work based on that"
This reverts commit 2cbe5f5231.
2022-03-19 16:26:46 +01:00
Folkert
2cbe5f5231
idea (rejected): only generate work up to constraint gen, then look at what modules are actually used and generate Solve.. work based on that 2022-03-19 16:26:38 +01:00
Folkert
3db44af36f
make timing info available in check mode 2022-03-19 16:25:45 +01:00
Richard Feldman
5f2054aeb6
Merge pull request #2754 from rtfeldman/remove-type-solvedtype-conversion
Remove Type/Subs -> SolvedType conversion
2022-03-19 10:48:42 -04:00
hafiz
5eb0791bb3
Merge pull request #2752 from rtfeldman/type-nitpicks
various small type-related changes
2022-03-19 10:13:56 -04:00
Folkert
35e5a36ea4
Merge branch 'delay-instantiating-aliases-fix-limitations' into builtins-in-roc 2022-03-19 12:30:03 +01:00
Folkert
5a15a121ff
remove Content -> SolvedType conversion 2022-03-19 12:26:21 +01:00
Folkert
da0c6adff3
remove Type -> SolvedType conversion 2022-03-19 12:20:15 +01:00
Folkert
1429b105a1
use (name, variable) pair as the unique key 2022-03-19 12:13:13 +01:00
Brian Carroll
c9efeed17e wasm: add support for Expr::Reset 2022-03-19 09:37:45 +00:00
Brian Carroll
bb62571e3a wasm: reorder some code 2022-03-19 09:27:17 +00:00
Brian Carroll
4c7aeb69a4 mono: add rc reset procs to code_gen_help 2022-03-19 09:25:24 +00:00
Folkert
f804c88711
spelling 2022-03-19 00:29:57 +01:00
Folkert
dcd86711ec
combine aliases 2022-03-19 00:27:32 +01:00
Folkert de Vries
7589ab0c95
Merge pull request #2739 from rtfeldman/wasm-function-names
Wasm: add Roc procedure names to debug info
2022-03-19 00:13:25 +01:00
Folkert
94c72fce5e
remove unused import 2022-03-19 00:07:05 +01:00
Folkert
ce4f47d2e9
remove clones in IntroducedVariables clone 2022-03-19 00:03:30 +01:00
Folkert
4e315797b0
expose ImMap entry 2022-03-19 00:00:56 +01:00
Folkert
9b63e6a3a9
simplify IntroducedVariables 2022-03-18 23:47:39 +01:00
Folkert
988ab8775b
fix miscompilation for wasm 2022-03-18 23:11:28 +01:00
Folkert
21a51464f3
various small type-related changes 2022-03-18 22:35:12 +01:00
Folkert
bcd100e462
remove allocation in Symbol creation 2022-03-18 22:10:03 +01:00
Folkert
813b22a106
remove allocation in Symbol creation 2022-03-18 22:07:12 +01:00
Folkert
4e1197165b
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc-delayed-alias 2022-03-18 21:25:52 +01:00
Folkert
dfaa843e67
Merge remote-tracking branch 'origin/trunk' into delay-instantiating-aliases-fix-limitations 2022-03-18 20:46:03 +01:00
Folkert
bf063d1d57
use all aliases that are in scope (to support imported aliases) 2022-03-18 20:44:13 +01:00
Folkert
5196ae9df2
use old alias instantiation when checking for invalid recursion 2022-03-18 20:20:22 +01:00
Folkert
2b2db5e4fe
fix variable name 2022-03-18 20:13:48 +01:00
Folkert
83225cc469
ensure lambda set variables are freshly instantiated when instantiating an alias 2022-03-18 20:11:55 +01:00