Commit graph

443 commits

Author SHA1 Message Date
Joshua Warner
f25323e8a7 Implement platform header formatting 2021-11-25 08:19:31 -08:00
Joshua Warner
f4e29bd267
Merge pull request #2069 from rtfeldman/joshuawarner32/impl-app-header-formatting
Implement [more] app header formatting
2021-11-25 07:24:06 -08:00
Joshua Warner
24f7692a73 Implement [more] app header formatting
Also, refactor out a utility method to format a Collection. This method can currently
replace some of the formatting done in module headers - but the goal is eventually
to be able to replace the code in fmt_list as well, such that there is 'one true way'
to format collections.
2021-11-23 12:19:43 -08:00
Brian Carroll
98474a500a Add a list of starting points to get familiar with compiler code 2021-11-23 00:29:55 +00:00
Richard Feldman
763809805b Drop unused alias info 2021-11-21 13:35:23 -05:00
Folkert
991420731d rename function 2021-11-19 23:49:09 +01:00
Folkert
88a1a0fd40 rename variable 2021-11-19 23:30:12 +01:00
Folkert
71d2f1c17c generate error message when main has unresolved type variables 2021-11-19 23:21:29 +01:00
Folkert
640b4e2d0b cleanup 2021-11-19 22:25:37 +01:00
Folkert
74f073b3c6 use HostSpecializations from file.rs 2021-11-19 22:20:50 +01:00
Folkert
4a454eeb25 remove all_pending_specializations from file.rs State 2021-11-19 21:27:05 +01:00
Folkert
f9c81bffe0 make external specializations more efficient
- create fewer Subs values
- don't merge Subs if not needed
2021-11-17 23:09:20 +01:00
Joshua Warner
6fab6e20f5 Fix clippy 2021-11-14 10:40:09 -08:00
Joshua Warner
8c8bc910fd Convert exposes_modules to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
c4e70ca7aa Convert exposes_values to ccollection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
71cc8d4c4b Convert requires_rigids to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
df89fe7dd6 Make provides a Collection 2021-11-14 10:14:53 -08:00
Joshua Warner
23c75d2699 Allow trailing comments in imports decl 2021-11-14 10:14:53 -08:00
Joshua Warner
c10f403c94 Allow trailing comments in exposes decl 2021-11-14 10:14:52 -08:00
Joshua Warner
4df0880e7a Commit local changes (whoops!) 2021-11-11 18:57:26 -08:00
Joshua Warner
0e9d7d8b7b Fix clippy lints due to clones on now-Copy types 2021-11-10 19:55:11 -08:00
Folkert
c5005d3dd1 Merge remote-tracking branch 'origin/trunk' into partialproc-by-reference 2021-11-03 15:32:39 +01:00
Folkert
a15183a7d1 refactor 2021-11-03 14:09:04 +01:00
Folkert
74df66a472 make new PartialProcs struct 2021-11-03 13:59:00 +01:00
Folkert
54429162ad clippy 2021-11-01 23:19:47 +01:00
Folkert
05b5cd3429 specializations requested in file.rs are specializations for the host 2021-10-29 21:27:26 +02:00
Matthias Beyer
c47da13994 Fix indention
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 15:00:51 +02:00
Matthias Beyer
0c8db62533 Fix: Add missing space in error message
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 15:00:51 +02:00
Anton-4
39974ea039 Merge branch 'trunk' of github.com:rtfeldman/roc into function_closure_to_mark_node 2021-10-25 14:34:58 +02:00
Folkert
2e773e5f66 turn module_thunks into a slice 2021-10-22 22:59:00 +02:00
Folkert
6a6ea64323 abstract checking of is module thunk 2021-10-22 22:16:52 +02:00
Folkert
6400baf2c1 shrink Procs until the last moment 2021-10-22 21:42:53 +02:00
Folkert
eaaf3eb940 simplify monomorphization first steps 2021-10-22 18:12:46 +02:00
Folkert
0529d6dbc6 refactor insert_named 2021-10-22 17:22:15 +02:00
Folkert
9d343ab206 use vector instead of set 2021-10-22 16:57:14 +02:00
Anton-4
c7c421b2f5 fixed scope lookup bug 2021-10-19 16:45:28 +02:00
Folkert
5084fd533b only do type checing for roc check 2021-10-10 16:32:14 +02:00
Richard Feldman
e3a8d436cf
Merge pull request #1607 from rtfeldman/editor-let-value
file loading/saving/running, headers, top level defs
2021-10-03 15:45:08 -05:00
Anton-4
e0bd644c79 single threaded file loading with env var 2021-09-27 15:16:07 +02:00
Anton-4
bae7a12e9e Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-24 11:52:27 +02:00
Folkert
77911cb68a store closure data for bool/byte again 2021-09-18 01:01:38 +02:00
Richard Feldman
fc1be5d90b Fix total_problems calculation 2021-09-11 16:34:30 -04:00
Anton-4
f1af9df70b applied Folkert's fix 2021-09-10 12:04:07 +02:00
Anton-4
18901129fd platform temp fix, ready for demo 2021-09-09 20:06:29 +02:00
Anton-4
db4f788076 assertion failed solved_all 2021-09-09 16:55:30 +02:00
Folkert
f40949c64e pass correct argument to procs.get_specialized_procs_without_rc 2021-09-08 20:04:24 +02:00
Richard Feldman
828c5191cf Print a horizontal rule after the last error 2021-09-02 21:59:13 -04:00
Richard Feldman
1360b04227 Add severity to file loading reports 2021-09-02 21:59:13 -04:00
Folkert
af1051ef89 add ptr_bytes to the layout cache 2021-08-26 22:06:47 +02:00
Folkert
6284a90785 a working version 2021-08-18 17:36:27 +02:00