Commit graph

48 commits

Author SHA1 Message Date
Sam Mohr
9263986433
Fix discordant u8 and u64 types 2024-08-29 19:04:06 -07:00
Sam Mohr
74f9b99388
Use HashMap to store false-interpreter files 2024-08-29 18:42:58 -07:00
Anton-4
7938e4bdc8
basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
Anton-4
ca7d1cb3fa
Revert "Avoid defining unsized platform Tasks"
This reverts commit d3732b4440.
2024-08-28 16:37:01 +02:00
Sam Mohr
d3732b4440
Avoid defining unsized platform Tasks 2024-08-26 15:04:31 -07:00
Sam Mohr
79cfcb072b
Pluralize PlatformTasks module 2024-08-26 00:05:09 -07:00
Sam Mohr
9511334167
Merge branch 'main' into builtin-task 2024-08-19 23:42:47 -07:00
Sam Mohr
12df3a04de
Merge attempt 2024-08-19 23:34:05 -07:00
Sam Mohr
f9008c3af0
Fix broken CLI tests 2024-08-16 23:37:31 -07:00
Sam Mohr
50f6e11423
Deprecate backpassing to prepare for eventual removal 2024-08-16 22:36:04 -07:00
Sam Mohr
0733863a81
Prefer false-interpreter for ? desugaring example 2024-08-14 23:23:45 -07:00
Luke Boswell
c6d2cfb7bc
replace with local paths for basic-cli 2024-07-19 20:50:07 +10:00
Sam Mohr
700c7ae9aa
Add Task as a built-in module/type 2024-06-25 00:03:56 -07:00
Agus Zubiaga
8dedd9f03c
New app header syntax
Implements the new app header syntax as discussed in Zulip [1].

    app [main] {
	cli: platform "../platform/main.roc",
	json: "../json/main.roc"
    }

Old headers still parse and are automatically upgraded to the new
syntax by the formatter.

[1] 418444862
2024-05-01 10:49:01 -03:00
Agus Zubiaga
057a18573a
New module header
Implements the new `module` header syntax as described in "module and package changes" [1]:

```
module [Request, Response, req]
```

The old syntax should still work fine, and is automatically upgraded to the new one
when running `roc format`.

[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
2024-05-01 10:39:12 -03:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat 2024-02-11 12:26:36 -05:00
Anton-4
3c7a834da1
update to new interpolation syntax 2024-02-02 13:39:10 +01:00
Richard Feldman
47561266d4
Update False interpreter to not use Nat 2024-01-26 16:06:07 -05:00
Brendan Hansknecht
f9c0d54688
Stop using "rlib"
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
I don't think this will fix anything, but I am half hopeful it will somehow fix #6121.
2024-01-16 22:36:10 -08:00
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Brendan Hansknecht
787d7f85ac
switch dbg arg ordering to make it backwards compatible 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
13d2238536
update roc_dbg in platforms 2023-12-02 21:18:31 -08:00
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Folkert
3d86ccf167
remove as Fx from platform types 2023-08-08 16:37:47 +02:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-14 01:01:26 +01:00
Brendan Hansknecht
dc1a7dcd12
try using roc_alloc and roc_dealloc (aka malloc and free) for buffers in false 2023-03-13 14:53:20 -07:00
Brendan Hansknecht
d88894c365
avoid zero sized allocation in false 2023-03-13 14:08:24 -07:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-08 19:46:00 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Folkert
86671d659c
work around allocation of size 0 2023-03-06 21:12:04 +01:00
Folkert
769a4c415b
update remaining cli tests 2023-03-05 16:57:51 +01:00
Richard Feldman
5958f50728
Drop obsolete mentions of roc_send_signal 2022-12-08 06:36:12 -05:00
Ayaz
b907f01f1f
Merge pull request #4507 from roc-lang/alias-analysis-rc-recursion
fix stack overflow in alias analysis
2022-11-12 12:54:06 -06:00
Folkert
9536d0b1a0
fixes for the False example 2022-11-12 13:55:13 +01:00
Richard Feldman
83e4eef475
Merge pull request #4492 from joshuawarner32/tuple-syntax-1
Implement initial tuple syntax
2022-11-11 17:55:25 -08:00
Joshua Warner
cdbdfeeaa4
Use closure syntax in parentheses in False.roc 2022-11-09 19:00:27 -05:00
Folkert
d9d88328d3
update rust platform build.rs 2022-11-06 16:34:15 +01:00
Folkert
0c9b49f5cd
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-11-02 23:02:22 +01:00
Ayaz Hafiz
cfe7c8e5ef
Warn on the presence of unnecessary wildcards in output positions 2022-10-31 09:38:20 -05:00
Richard Feldman
e6fd0c62fd
Do an explicit cast that doesn't make sense
I don't know why this is what the compiler wants,
given that the docs say it shouldn't need a cast,
but this is for some reason what the compiler wants.
2022-10-16 18:43:03 -04:00
Richard Feldman
bb1693556b
Drop some unnecessary imports 2022-10-16 18:40:17 -04:00
Folkert
f562d61505
int cast on macos 2022-10-16 18:32:55 +02:00
Folkert
19ea3489cb
provide more libc functions for the expect implementation 2022-10-12 20:59:18 +02:00
Anton-4
1d9a751606
cli_run test fixes 2022-09-24 20:14:59 +02:00
Anton-4
0ddc69e066
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-24 16:49:50 +02:00
Jan Van Bruggen
e84b43ddb6
Categorize FALSE interpreter as a CLI 2022-09-11 22:32:15 -06:00