Commit graph

28521 commits

Author SHA1 Message Date
Agus Zubiaga
2a8ecbba28
Do not drop import parse errors 2024-05-07 22:39:43 -03:00
Agus Zubiaga
9a66abf95f
Report ingested file colon syntax error 2024-05-06 23:46:38 -03:00
Agus Zubiaga
27a9f6051e
Report ingested file name syntax error 2024-05-06 23:46:06 -03:00
Agus Zubiaga
755e16cb10
Report exposing list end error in imports 2024-05-06 23:38:12 -03:00
Agus Zubiaga
dc18597a0e
Report unfinished exposing in imports 2024-05-06 23:24:56 -03:00
Agus Zubiaga
f81985533c
Report import lowercase alias 2024-05-06 23:16:18 -03:00
Agus Zubiaga
97ed8fdbbd
Report unfinished import as 2024-05-06 23:03:40 -03:00
Agus Zubiaga
bfb77b78cb
Report import ending syntax error 2024-05-06 22:22:00 -03:00
Agus Zubiaga
8418610dd9
Require newline after import 2024-05-06 22:15:52 -03:00
Agus Zubiaga
007e03891e
Report module name / path syntax error in imports 2024-05-06 21:00:17 -03:00
Agus Zubiaga
233310cabf
Report space problem in import 2024-05-06 20:26:07 -03:00
Agus Zubiaga
520dc389f3
Report ingested file annotation syntax error 2024-05-05 17:45:37 -03:00
Agus Zubiaga
56f12718f1
Only annotation spaces should be backtrackable 2024-05-05 17:39:49 -03:00
Agus Zubiaga
4b8b36529d
Remove unnecessary & ref 2024-05-05 17:08:34 -03:00
Agus Zubiaga
3c52edd0a0
Add ingested file no ann test 2024-05-05 17:00:05 -03:00
Agus Zubiaga
8a25e4aac4
Handle optional annotation in ingested files when canonicalizing 2024-05-05 16:57:56 -03:00
Agus Zubiaga
22716cea45
Format ingested file with optional annotation 2024-05-05 16:56:49 -03:00
Agus Zubiaga
fe2eb0f0a5
Parse optional ingested file annotation 2024-05-05 16:55:36 -03:00
Anton-4
f7011c8e33
Merge pull request #6644 from roc-lang/rust-1-76-0-upgrade
Rust 1.76.0 upgrade
2024-05-03 07:25:19 +02:00
Luke Boswell
7dfbed7fa9
Merge pull request #6706 from h2000/patch-1
Add Editor section to getting_started/README.md
2024-05-03 08:35:00 +10:00
Luke Boswell
22201e68cd
Update README.md
Updated for Eli's comments about also working Linux

Signed-off-by: Luke Boswell <lukewilliamboswell@gmail.com>
2024-05-03 08:30:46 +10:00
Alf Richter
70353b308b
Update README.md
Signed-off-by: Alf Richter <h2000@users.noreply.github.com>
2024-05-02 18:42:54 +02:00
Alf Richter
6c7aa68757
Add Editor section to getting_started/README.md
Signed-off-by: Alf Richter <h2000@users.noreply.github.com>
2024-05-02 18:33:39 +02:00
Richard Feldman
798dd77a64
Merge pull request #6701 from roc-lang/add-agus-sponsor
Add @agu-z to sponsors
2024-05-01 23:22:32 -04:00
Richard Feldman
efbdeb8bd5
Add @agu-z to sponsors. Thank you so much, Agus! 💜 2024-05-01 23:19:46 -04:00
Richard Feldman
b53017a733
Merge pull request #6683 from roc-lang/new-module-headers
New `app`, `module`, and `package` headers
2024-05-01 16:06:26 -04:00
Richard Feldman
aa79cfb845
Merge pull request #6699 from roc-lang/improve-opt-size
Improve `OptSize` implementation in Roc
2024-05-01 14:14:44 -04:00
Brendan Hansknecht
dc539f759d
Improve OptSize implementation in Roc
1. Use the llvm `Oz` pipeline.
2. Avoid adding extra optimization passes.

This shrunk rocci-bird by ~16%.
2024-05-01 08:25:34 -07:00
Richard Feldman
a323dd8e92
Merge pull request #6658 from roc-lang/inline-imports
New inline imports
2024-05-01 10:20:27 -04:00
Agus Zubiaga
e3b600c282
New package header syntax
Implements the new package header syntax as discussed in Zulip [1].

package [Csv] {
    parser: "../parser/main.roc"
}

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

[1] 418444862
2024-05-01 10:49:03 -03: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
Agus Zubiaga
7754dd7ef7
Fix www/InteractiveExample class import 2024-05-01 10:29:08 -03:00
Agus Zubiaga
eb8ef6241e
Merge branch 'main' into inline-imports 2024-05-01 10:25:17 -03:00
Agus Zubiaga
d8d56f6e49
Rename {Parsed,Constrained}Module.imported_modules to available_modules 2024-05-01 09:58:23 -03:00
Luke Boswell
c4ac4224fa
Merge pull request #6698 from andyferris/patch-1
Import pf.Task in first application example
2024-05-01 21:15:56 +10:00
Andy Ferris
f7945c8bda
Fix same problem in platforms.md
Signed-off-by: Andy Ferris <ferris.andy@gmail.com>
2024-05-01 20:39:34 +10:00
Andy Ferris
0660c94acb
Import pf.Task in first application example
As it is, the tutorial example does not compile due to a missing import.

Signed-off-by: Andy Ferris <ferris.andy@gmail.com>
2024-05-01 20:33:14 +10:00
Richard Feldman
156bbae81c
Merge pull request #6695 from faldor20/reduce-lsp-crashes
Reduce lsp crashes
2024-04-30 19:44:26 -04:00
Richard Feldman
6c21bdf91f
cargo fmt
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-04-30 16:22:11 -04:00
Richard Feldman
e2b4af8af5
fix typos in comment
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-04-30 16:21:48 -04:00
Anton-4
c3cabf7840
Merge pull request #6685 from roc-lang/repl-import
Support imports in REPL
2024-04-30 19:49:26 +02:00
Anton-4
c303be7553
Merge branch 'main' into rust-1-76-0-upgrade 2024-04-30 19:36:01 +02:00
Anton-4
ec874655dd
apply Ayaz review suggestions 2024-04-30 19:34:21 +02:00
Anton-4
475ed4e49b
Merge pull request #6692 from roc-lang/tutorial-css
Update tutorial CSS
2024-04-30 19:23:37 +02:00
faldor20
29864c2508
added timeout to analysis 2024-04-30 09:44:22 +10:00
faldor20
712d648cf0
reduce panics 2024-04-30 09:44:22 +10:00
Luke Boswell
db97e3ed22
Merge pull request #6694 from roc-lang/remove-inspect-from-plans
Remove `Inspect` from /plans
2024-04-30 09:04:53 +10:00
Richard Feldman
4b1433bfc6
Remove Inspect from /plans
It exists already!

Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-04-29 09:02:54 -04:00
Anton-4
e424f4bacc
Merge pull request #6691 from roc-lang/update-links-basic-cli-10
update basic-cli links to 0.10
2024-04-28 19:25:30 +02:00