Folkert
6c15284a8f
more wip; now we just need to generate the exposed procs at the right time
2023-02-08 22:56:38 +01:00
Joshua Warner
5a6be05ead
implement mono / lowering for tuples
2023-02-07 18:54:50 -08:00
Ayaz Hafiz
a16ea95a04
Always start off with an empty cache
...
Adding a cache layer can only be done with a snapshot and rollback.
This is necessary to prevent extra variables just lying around on the
toplevel of the layout cache.
2023-01-30 13:08:21 -06:00
J.Teeuwissen
957f44966c
start perceus reference count
2023-01-26 17:13:29 +01:00
Folkert
3417a0e059
fix silent merge request wrt record accessors
2023-01-25 00:02:19 +01:00
Folkert de Vries
8e5efe67b4
Merge pull request #4912 from roc-lang/remove-polymorphic-expression-compilation
...
Rip out polymorphic expression compilation
2023-01-24 21:35:08 +01:00
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65
2023-01-23 18:27:33 +01:00
J.Teeuwissen
b8f9684a01
fixed typo
2023-01-22 15:31:02 +01:00
Folkert
1ba4d9d735
WIP
2023-01-22 11:53:02 +01:00
Ayaz Hafiz
bfb7bc39a7
Register top-level accessors as functions
2023-01-21 12:37:09 -06:00
Ayaz Hafiz
f0ab9f77ca
Don't mark accessors as thunks
2023-01-21 12:37:09 -06:00
Folkert
bb44063419
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-01-18 20:06:26 +01:00
Anton-4
4b929cfdb3
rust 1.65 updates for wasm target
2023-01-17 20:11:38 +01:00
Folkert
ee99ae2372
WIP
2023-01-13 20:42:23 +01:00
Ayaz Hafiz
1960f429bd
Cleanup of lints
2023-01-11 14:39:12 -06:00
Ayaz Hafiz
fa8effd3e8
Make all layouts interned in mono
2023-01-11 14:38:41 -06:00
Ayaz Hafiz
e14a0abb99
Store target info on layout interners
2023-01-11 14:32:16 -06:00
Folkert de Vries
d8b2ff07f8
Merge pull request #4802 from roc-lang/valgrind-unit-tests
...
Valgrind unit tests
2023-01-11 19:45:28 +01:00
Folkert
a9cd6c6832
test forcing host-exposed always owning params
2023-01-10 19:17:39 +01:00
Folkert
e926bced10
refactor load/file logic
2023-01-09 23:31:19 +01:00
Folkert
1c1112ec35
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-01-04 20:45:01 +01:00
Ayaz Hafiz
b60d5c0251
Push wrapped layout interners through
2023-01-03 10:51:33 -06:00
Ayaz Hafiz
039bab65f5
Remove unused imports
2022-12-29 18:43:28 -06:00
Ayaz Hafiz
972046445b
Lift Niche from just captures-niche to generic niche
2022-12-29 18:43:26 -06:00
Ayaz
7076c889a5
Merge pull request #4828 from roc-lang/refactor-build
...
Refactor build
2022-12-29 18:41:22 -06:00
Ayaz
858670fac7
Merge pull request #4833 from roc-lang/intern-layouts
...
Intern all the layouts
2022-12-29 18:28:44 -06:00
Folkert
0eb41ad97f
another conditional compilation fix
2022-12-29 18:42:06 +01:00
Folkert
1995d8b3df
refactor cli/src/build.rs
2022-12-29 16:50:20 +01:00
Ayaz Hafiz
c03c0b2978
Fix mutability lint in debug mode
2022-12-28 19:05:03 -06:00
Ayaz Hafiz
62ac3545af
Avoid unneeded mut in release
2022-12-28 18:54:12 -06:00
Ayaz Hafiz
7045001f64
Intern captures layouts
2022-12-28 17:05:04 -06:00
Richard Feldman
5227b5ff43
c l i p p y
2022-12-27 00:31:54 -05:00
Richard Feldman
b749ac28c9
Use module-level comments for top-level docs
2022-12-26 23:55:54 -05:00
Richard Feldman
3171a15ed0
Parse header_docs
2022-12-26 23:15:48 -05:00
Richard Feldman
74e16c5293
Clarify a comment
2022-12-26 23:15:48 -05:00
Richard Feldman
8c40d72a1f
Don't add exposed modules to imported_modules
2022-12-26 04:35:23 -05:00
Richard Feldman
a663634e30
Add a comment
2022-12-25 17:15:53 -05:00
Richard Feldman
e5c5ae3e3f
Make a debug_assert! more precise
2022-12-25 17:13:42 -05:00
Richard Feldman
73fa34ba31
Only add extra imported modules when it's the root
2022-12-24 22:50:47 -05:00
Richard Feldman
1e0f5c2b28
Fix missing shorthands when importing packages
2022-12-24 22:49:40 -05:00
Richard Feldman
c925686443
Add some debug_assert! checks
2022-12-24 22:40:44 -05:00
Richard Feldman
5c80657bb2
Update some comments and docs
2022-12-24 22:32:16 -05:00
Richard Feldman
52bbe0062f
Drop an unnecessary scope block
2022-12-24 22:32:16 -05:00
Richard Feldman
34417f5692
clippy
2022-12-24 22:32:16 -05:00
Richard Feldman
c0dd801db6
Use VecMap over MutMap to store module docs
2022-12-24 22:32:15 -05:00
Richard Feldman
361d930f46
Load exposes
entries in addition to imports
2022-12-24 22:32:15 -05:00
Richard Feldman
d8d517d6f9
Support generating docs for packages too
2022-12-24 22:32:14 -05:00
Richard Feldman
15d4c2ad68
Don't render undexposed types in docs
2022-12-24 22:32:13 -05:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file
2022-12-24 22:32:13 -05:00
Richard Feldman
e549456668
Store exposed module IDs in file loading state
2022-12-24 22:32:13 -05:00