Commit Graph

28623 Commits

Author SHA1 Message Date
Agus Zubiaga
e5a09b5de6
Parse module params in import 2024-05-09 07:42:07 -03:00
Agus Zubiaga
08825a9e90
Add module with optional param syntax test 2024-05-09 07:27:58 -03:00
Agus Zubiaga
370013b960
Format module header with params 2024-05-09 07:27:58 -03:00
Agus Zubiaga
760ffaf68f
Report module params parse error 2024-05-09 07:27:58 -03:00
Agus Zubiaga
5b1a3c8f03
Parse params in module header
module {echo, read} -> [menu]

Formatter isn't implemented yet.
2024-05-09 07:27:43 -03:00
Jan Van Bruggen
60134855d1
Fix a path typo in www/README
This fixed it for me :)

Signed-off-by: Jan Van Bruggen <JanCVanB@users.noreply.github.com>
2024-05-09 01:42:48 -06:00
Joshua Warner
d667e3c2d8
Simplify task await bang parsing to no longer require suffixed_found 2024-05-08 20:48:33 -07:00
Anton-4
b8d9367029
Merge pull request #6718 from roc-lang/repl-prompt-color
adjust repl prompt color
2024-05-09 02:43:01 +02:00
Ayaz
c36f4fdd36
Merge pull request #6735 from h2000/patch-2
Update install.md to include Zed and others Editors
2024-05-08 19:41:30 -05:00
Anton-4
92cca9f32f
copy executable
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-08 18:30:12 +02:00
Anton-4
3f141484b8
valgrind dbg
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-08 17:37:20 +02:00
Alf Richter
5eea864a90
Update install.md to include Zed and others Editors
Signed-off-by: Alf Richter <h2000@users.noreply.github.com>
2024-05-08 15:08:30 +02:00
Agus Zubiaga
bb0ada0956
Add description to render_language_server doc 2024-05-08 09:32:06 -03:00
Agus Zubiaga
fb24111190
Narrow language server reports for load 2024-05-08 09:28:44 -03:00
Agus Zubiaga
accba0b75a
Narrow headers for language server reports 2024-05-08 09:24:56 -03:00
Anton-4
16f3969fc3
minor style improvements 2024-05-08 14:06:14 +02:00
Ayaz
010aed88f9
Merge pull request #6732 from roc-lang/import-parse-reporting
Friendly reporting of import syntax errors
2024-05-07 21:29:58 -05:00
Ayaz
cc1bc68eb4
Merge pull request #6717 from roc-lang/optional-ingested-ann
Optional annotation in ingested file imports
2024-05-07 21:18:12 -05:00
Agus Zubiaga
2a8ecbba28
Do not drop import parse errors 2024-05-07 22:39:43 -03:00
rrrodzilla
d43037602e
Merge branch 'main' into main 2024-05-07 19:32:58 -06:00
Anton-4
c978780ffa
Merge pull request #6731 from roc-lang/abilities-dead-link
Fix dead link
2024-05-07 19:22:56 +02:00
Anton-4
d92b4c4e72
Merge pull request #6730 from roc-lang/json-utf8
Update homepage example to use Json.utf8
2024-05-07 18:28:54 +02:00
Anton-4
46a219d640
Fix dead link
Closes #6727 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-07 18:15:59 +02:00
Richard Feldman
3db9702fc8
Update homepage example to use Json.utf8 2024-05-07 11:23:19 -04:00
Anton-4
16db390d5f
Merge pull request #6725 from roc-lang/hello-world
Add `!` to homepage Hello World example
2024-05-07 15:23:10 +02: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
Roland Rodriguez
fae1e4b51e
fix: ensure tests explicitly cleanup temp files 2024-05-06 19:20:43 -06: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
Michał Kukieła
8e2b030b16
Add missing titles and descriptions
Signed-off-by: Michał Kukieła <53443372+kukimik@users.noreply.github.com>
2024-05-06 23:55:10 +02:00
Richard Feldman
bd6019f25c
Add ! to homepage Hello World example 2024-05-06 14:24:19 -04:00
Anton-4
9ed0067248
Merge pull request #6720 from kukimik/patch-1
Fix typos in tutorial.md
2024-05-06 18:18:58 +02:00
Roland Rodriguez
89f8798a37
close #6723: Update format_files to list all files
Changed the behavior of the format_files function in the Roc formatter to accumulate and list all files that require reformatting instead of stopping at the first file. This update improves the user experience by providing a comprehensive report of all files that need attention after a format check, allowing for more efficient batch updating of files to conform to formatting standards.
2024-05-06 09:54:39 -06:00
Michał Kukieła
657ab5fc07
Fix typos in tutorial.md
Signed-off-by: Michał Kukieła <53443372+kukimik@users.noreply.github.com>
2024-05-06 15:33:55 +02:00
Anton-4
6cf04496d4
add forgotten pre tag
Without pre this was a different color (in light mode) compared to other code snippets.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-06 11:44:09 +02:00
Anton-4
4e070b7d96
adjust repl prompt color
This color improves the contrast with the background. It's also the same color as the repl prompt on the home page.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-06 11:13:19 +02:00
Anton-4
128f396ebc
Merge pull request #6715 from roc-lang/update-glue-syntax
Update glue platform files to new syntax
2024-05-06 11:03:31 +02:00
Anton-4
5984e4c585
Merge pull request #6713 from hristog/add-repl-prompt-css
Re-add REPL prompt CSS to tutorial
2024-05-06 10:55:21 +02: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