Commit graph

34 commits

Author SHA1 Message Date
Richard Feldman
91247f9c28
Add SortedArrayBuilder and ExposedItems 2025-07-26 20:38:18 -04:00
Luke Boswell
760280fa17
WIP refactor parse module 2025-07-26 09:19:34 +10:00
Luke Boswell
6d80c50848
refactor reporting and compile into Zig modules 2025-07-26 08:16:11 +10:00
Richard Feldman
3467990adc
Fix lints 2025-07-25 00:38:28 -04:00
Richard Feldman
36e6dcc42f
Merge origin/main 2025-07-24 09:16:11 -04:00
Richard Feldman
58684b64a7
Delete some unnecessary comments 2025-07-23 23:39:48 -04:00
Richard Feldman
88989927d5
Update snapshots 2025-07-23 23:38:11 -04:00
Richard Feldman
cee71e9b39
Fix lots of tests etc. 2025-07-23 16:32:40 -04:00
Richard Feldman
55bd8a3a68
Fix def output structure in canonicalized IR
Remove wrapper nodes (pattern) and (expr) from d-let output to match
origin/main structure. Also sync Kind enum between canonicalize/CIR.zig
and compile/CIR.zig to include stmt and ignored variants.
2025-07-23 10:32:02 -04:00
Richard Feldman
ef9d7426ef
Fix some module docs 2025-07-22 22:54:26 -04:00
Richard Feldman
0ccc4690e0
Update some comments 2025-07-22 22:25:01 -04:00
Richard Feldman
88df53c651
Fix all non-skipped tests 2025-07-22 20:29:09 -04:00
Richard Feldman
6040400480
wip 2025-07-22 15:41:11 -04:00
Richard Feldman
d68651974f
Get all CIR functionality into ModuleEnv 2025-07-22 13:41:25 -04:00
Richard Feldman
619668ebc0
Move all CIR fields into ModuleEnv 2025-07-22 13:06:42 -04:00
Richard Feldman
53e74634a3
move ModuleEnv to src/compile/ 2025-07-22 12:54:36 -04:00
Joshua Warner
582dd9d2af
Update source ownership and make source come from a consistent place
* ModuleEnv no longer owns the source - instead it expects a higher-level component to own that
* Removes dups from many callsites! (mostly tests)
* When we have a ModuleEnv, get the source directly from that rather than making it be passed in redundantly
2025-07-19 19:29:50 -07:00
Luke Boswell
860c8e1b49
refactor to use Zig modules 2025-07-18 14:30:52 +10:00
Luke Boswell
d30468d7d0
remove exitOnOom 2025-07-14 15:07:44 +10:00
Richard Feldman
83ebe56c20
Drop unused module_path from ModuleEnv 2025-07-12 15:07:33 -04:00
Richard Feldman
047fdeeda7
Clarify ownership on cache misses 2025-07-12 14:31:25 -04:00
Richard Feldman
7af1570527
Improve some caching stuff 2025-07-12 14:14:28 -04:00
Richard Feldman
e82b73b7d3
Make some impossible states impossible 2025-07-11 09:59:17 -04:00
Richard Feldman
0508a4984a
Fixes 2025-07-10 23:13:24 -04:00
Luke Boswell
c8a5330280
support for WASI 2025-07-10 14:28:05 +10:00
Luke Boswell
22984b5a48
improvements for module cache 2025-07-10 13:41:27 +10:00
Richard Feldman
8df217f5e1
Merge remote-tracking branch 'origin/main' into check-imported-types 2025-07-09 22:10:40 -04:00
Richard Feldman
fa056b8420
Update some imports 2025-07-09 21:43:15 -04:00
Luke Boswell
32e02c42ec
also check munmap for Windows 2025-07-10 08:26:29 +10:00
Luke Boswell
48216f9dcd
improve support for Windows 2025-07-10 08:20:42 +10:00
Luke Boswell
1c1ffd99d2
fix file_size on 32-bit systems 2025-07-10 08:14:07 +10:00
Luke Boswell
8375eac261
disable CRC checksum on cached modules 2025-07-10 08:11:08 +10:00
Luke Boswell
1800fec82e
try fix for linux 2025-07-09 19:10:29 +10:00
Luke Boswell
3df0c67360
wire cache into roc check 2025-07-09 18:53:38 +10:00
Renamed from src/cache/Cache.zig (Browse further)