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
7776883262
Unify functions fx vars
2024-11-07 18:54:13 -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
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
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
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
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
b489c44b19
Merge remote-tracking branch 'remote/main' into builtin-task
2024-07-19 19:51:50 +10:00
Anton-4
42a366481b
fix wasm repl warnings
2024-07-13 18:45:01 +02: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
f257c52634
clippy fix: no manual Option::map
2024-07-02 11:10:00 -03:00
Agus Zubiaga
f56239bd9b
Remove unnecessary ref
2024-07-02 11:10:00 -03:00
Agus Zubiaga
bc6a84a215
Report unexpected params
2024-07-02 11:09:59 -03:00
Agus Zubiaga
5ec4b042bb
Constrain and solve import params
...
No reporting yet
2024-07-02 04:10:46 -03:00
Agus Zubiaga
8f69e75a95
Contrain module params pattern
2024-07-02 04:10:46 -03:00
Agus Zubiaga
dd0e28240a
Add module param identifiers to solve's scope
2024-07-02 04:10:45 -03:00
Agus Zubiaga
717463079a
Add module params to module cache
2024-07-02 04:10:45 -03:00
Agus Zubiaga
c6e42ecf0c
Canonicalize module param patterns
2024-07-02 04:10:45 -03:00
shua
d90da3af52
rm TotallyNotJson
...
TotallyNotJson.roc now lives on the farm in virtual-dom-wip as Json.roc.
Any reference in stdlib or builtins has been removed, as well as the
last places it was used (in python/ruby-interop examples).
2024-07-01 20:37:23 +02:00
Sam Mohr
cd488300fd
Merge branch 'main' into builtin-task
2024-06-26 03:17:56 -07:00
Agus Zubiaga
ad6dde10af
Load packages of platform
2024-06-25 21:39:55 -03:00
Agus Zubiaga
c36595e60d
Load packages of packages
2024-06-25 21:29:21 -03:00
Sam Mohr
700c7ae9aa
Add Task as a built-in module/type
2024-06-25 00:03:56 -07:00
Richard Feldman
b79ee68729
clippy
2024-06-17 22:25:15 -04:00
Richard Feldman
d1a002f49e
Have file.rs use the new roc_worker
crate
2024-06-17 22:21:07 -04:00
Richard Feldman
4042fd8d52
Split out work.rs into its own crate
2024-06-16 22:26:58 -04:00
Agus Zubiaga
facae9d56c
Fix platform root module flag
...
When loading a platform module as the root, the `is_root_module`
flag in `HeaderInfo` would be set to `false`. This caused issues
with docs generation.
2024-06-12 19:00:15 -03:00