Agus Zubiaga
b80f44738f
Switch fx mode based on platform main too
2024-11-07 18:54:16 -03:00
Agus Zubiaga
01c94050c8
Detect fx mode based on hosted module
2024-11-07 18:54:15 -03:00
Agus Zubiaga
2cce5ad023
Allow unsuffixed statements in parser
...
Moves the "STATEMENT AFTER EXPRESSION" error from the parser to canonicalization.
We'll later use this to allow this case in effectful functions.
2024-11-07 18:54:14 -03:00
Agus Zubiaga
7776883262
Unify functions fx vars
2024-11-07 18:54:13 -03:00
Agus Zubiaga
7871ba182d
Remove irrelevant TODO
2024-11-07 18:54:12 -03:00
Agus Zubiaga
ef4eeb5c1a
Parse effectful arrow in function annotations
2024-11-07 18:54:11 -03:00
Richard Feldman
44d00e1f13
Updates for making soa
no_std
2024-10-21 22:10:43 -04:00
Brendan Hansknecht
a9d1327dd1
Enable multiple functions exposed to the host
2024-10-07 21:16:30 -07:00
Brendan Hansknecht
c61b7bf2a6
Remove requires type from the provides field
2024-10-07 21:16:30 -07:00
Brendan Hansknecht
bdb6651c13
Enable parsing multiple signitures for requires header
2024-10-07 21:16:30 -07:00
Omar Jatoi
3f318e2235
update existing calls to roc_cache_dir()
...
using `roc_cache_packages_dir()` instead, which will return "~/.cache/roc/packages", which was the existing functionality, but `roc_cache_dir()` will now return "~/.cache/roc"
2024-10-03 12:52:52 -04:00
Sam Mohr
aadc74a37b
Merge branch 'main' into repl-no-color-no-header-flags
2024-09-06 15:52:18 -07:00
Anton-4
e7a44430fd
update to basic cli 15
2024-08-31 14:30:07 +02:00
Anton-4
3c679f6338
Merge branch 'main' into lower-module-params
2024-08-30 16:29:46 +02:00
jamin-eisenberg
7429f8a970
Initial attempt (failing tests?)
2024-08-28 18:15:23 -04:00
Anton-4
7938e4bdc8
basic-cli 0.15, test fixes
2024-08-28 18:39:15 +02:00
Agus Zubiaga
287a8fa2e7
Merge branch 'main' into lower-module-params
2024-08-28 08:50:40 -03:00
Agus Zubiaga
e4352b913f
Do not remove params from errors in check mode
2024-08-27 19:11:50 -03:00
Agus Zubiaga
658c6963c5
Remove param arguments from TOO MANY ARGS error
2024-08-27 16:08:26 -03:00
Agus Zubiaga
0bf833dae9
Lower passed imported functions
2024-08-26 23:21:18 -03:00
Agus Zubiaga
4e35a68f98
Do not lower params for check and lang srv
2024-08-26 22:00:25 -03:00
Luke Boswell
10241b3f98
Merge remote-tracking branch 'remote/main' into builtin-task
2024-08-24 09:53:08 +10:00
Anton-4
44b8abdead
update to basic-cli 0.14
2024-08-23 15:50:05 +02:00
Agus Zubiaga
be4ebfe901
Lower passed top-level functions in a module with params
2024-08-21 20:07:08 -03:00
Sam Mohr
12df3a04de
Merge attempt
2024-08-19 23:34:05 -07:00
Agus Zubiaga
0adad85634
Move lower_params/lib to lower_params/lower
2024-08-17 16:23:17 -03:00
Agus Zubiaga
07ec24502e
Lower top-level value references in home module with params
2024-08-17 13:25:17 -03:00
Agus Zubiaga
519ff56a85
Create can::module::ModuleParams for convenience
2024-08-17 13:10:37 -03:00
Agus Zubiaga
97ddae7e3d
Lower params when calling imported functions
2024-08-17 01:03:34 -03:00
Sam Mohr
7e72541a79
Merge branch 'main' into builtin-task
2024-08-12 23:12:38 -07:00
Agus Zubiaga
b451e69b20
Merge branch 'main' into typecheck-module-params
2024-08-12 22:27:16 -03:00
Joshua Warner
d25c048d48
Move Full from fmt to parse and reorganize confusingly-named Module ast type
2024-08-07 23:01:49 -07:00
Agus Zubiaga
762799052e
Merge branch 'main' into typecheck-module-params
2024-08-07 18:55:33 -03:00
Sam Mohr
698bbc3cf1
Merge pull request #6968 from smores56/ignored-record-builder-fields
...
Ignore underscore-prefixed fields in record builders
2024-08-06 23:36:27 -07:00
Sam Mohr
cb8040f629
Ignore underscore-prefixed fields in record builders
2024-08-06 22:49:35 -07:00
Agus Zubiaga
7027547182
Load platform dependencies
...
We were dropping packages from the platform header while loading.
Closes #6931
2024-08-06 18:15:28 -03:00
Luke Boswell
eca453d07f
Merge remote-tracking branch 'remote/main' into builtin-task
2024-07-29 16:05:51 +10:00
Joshua Warner
4f32f43048
Implement block / indent based parsing
...
... and enforce that defs can only occur in blocks (or, inside parenthesized expressions)
2024-07-27 13:34:16 -07:00
Luke Boswell
b489c44b19
Merge remote-tracking branch 'remote/main' into builtin-task
2024-07-19 19:51:50 +10:00
Anton-4
7a288dd53b
Merge pull request #6893 from roc-lang/basic-cli-12-update
...
DO NOT MERGE YET update to basic-cli 0.12
2024-07-15 22:48:00 +02:00
Anton-4
42a366481b
fix wasm repl warnings
2024-07-13 18:45:01 +02:00
Anton-4
3a36d84c45
update to basic-cli 0.12
2024-07-10 20:07:03 +02:00
Agus Zubiaga
26fe91b02f
Always use "MODULE PARAMS" term in errors
...
The theory is that this will be more searchable
2024-07-06 22:07:29 -03:00
Agus Zubiaga
0cbb352a89
Move unexpected params warning to solve
2024-07-06 21:36:26 -03:00
Sam Mohr
6f5f5f431e
Merge branch 'main' into builtin-task
2024-07-03 13:37:46 -07:00
Agus Zubiaga
13ba59a4cb
Fix hang on qualified import with builtin name
2024-07-03 12:40:53 -03:00
Sam Mohr
f61b303a59
Merge branch 'main' into builtin-task
2024-07-03 00:42:48 -07:00
Agus Zubiaga
d23a8dc618
Fix importing of module params vars
2024-07-02 22:48:47 -03:00
Agus Zubiaga
89fc1104f0
Report import params mismatch
2024-07-02 11:10:00 -03:00
Agus Zubiaga
f257c52634
clippy fix: no manual Option::map
2024-07-02 11:10:00 -03:00