Commit graph

124 commits

Author SHA1 Message Date
Ayaz Hafiz
ce7c61eb09
Propogate render target forward 2022-04-12 16:18:07 -04:00
Folkert
0dd2cec09a
update with new clippy lints 2022-03-31 19:34:51 +02:00
Folkert
311e464b70
add load_internal 2022-03-23 15:18:22 +01:00
Folkert
d8fa2b8d92
stop passing stdlib (use lazy_static) 2022-03-22 19:53:02 +01:00
Anton-4
d373085386
Merge pull request #2675 from rtfeldman/new-syntax-highlight
peg grammar, tokenizer, new syntax highlighting
2022-03-14 17:20:14 +01:00
Folkert
c79ecec56e
make SubsByModule opaque 2022-03-11 20:16:55 +01:00
Anton-4
c8fd1836c9
clippy+fmt 2022-03-07 19:59:45 +01:00
Anton-4
ec1e2cd1d0
finished if highlighting 2022-03-07 19:44:24 +01:00
Anton-4
37704323b1
basic highlighting flow using MarkupNodes 2022-03-04 20:19:05 +01:00
Folkert
957140df64 remove builtin lookup function being passed around 2022-02-14 20:32:31 +01:00
Anton-4
d6681f4e0a
Merge pull request #2160 from rtfeldman/editor-comments
support tld comments in docs and editor(reading only)
2022-02-10 11:49:10 +01:00
Folkert
c663a35e16 final phase 2022-01-26 15:44:24 +01:00
Joshua Warner
f22f96843e Refactor ParseProblem
* Remove the `pos` field, which was always being assigned Position::default()
* Remove one use of this `pos`, by removing the never-used SyntaxError::ConditionFailed variant
* Adjust the other use to do what was probably intended - which is to say, pointing to the beginning of the def with the error
* Rename to FileError, reuse `SourceError` as an inner field, to avoid duplicating the `bytes`
2022-01-03 20:10:50 -08:00
Anton-4
f941e30b86 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-comments 2022-01-01 11:10:54 +01:00
Joshua Warner
4d7070ce3b Always combine line,column into Position 2021-12-22 20:32:46 -08:00
Joshua Warner
49818343dd extract state 2021-12-16 17:13:53 -08:00
Anton-4
b3420d793f removed dbg, disabled comment_after test 2021-12-04 15:22:45 +01:00
Anton-4
5bd776f972 debugging inline comment bug 2021-12-01 16:57:28 +01:00
Anton-4
30c1d218a7 started on supprting comments in editor+docs 2021-11-23 20:03:25 +01:00
Anton-4
4f0526c8f9 fmt 2021-10-19 18:13:48 +02:00
Anton-4
bb715e0f84 cleanup 2021-10-19 17:51:47 +02:00
Anton-4
c7c421b2f5 fixed scope lookup bug 2021-10-19 16:45:28 +02:00
Anton-4
0a77b3f334 debugging wrong id in docs test 2021-10-18 19:58:03 +02:00
Anton-4
a272765fc7 started using scope properly, improved error backtrace conversion 2021-10-16 19:37:20 +02:00
Anton-4
2158686a0a fmt, improved todo 2021-10-15 19:29:48 +02:00
Anton-4
e003725f21 cleanup unwrap 2021-10-15 19:01:41 +02:00
Anton-4
d3f2b95f7a addes test to docs for function 2021-10-15 15:02:37 +02:00
Anton-4
78e3609498 minor cleanup 2021-10-05 14:51:57 +02:00
Anton-4
4324b08a30 cleanup+fmt+clippy 2021-10-05 11:58:11 +02:00
Anton-4
548d806a88 def->MarkupNode working 2021-10-04 19:26:31 +02:00
Anton-4
c6066cc629 expr working, debugging def 2021-10-02 19:47:46 +02:00
Anton-4
bc50280c0e markup to html progress 2021-10-01 19:53:51 +02:00
Anton-4
f63c276a5f docs flow working with mocked markup to html 2021-10-01 18:22:27 +02:00
Anton-4
28cf11a1d9 started on docs to markup to html 2021-09-29 20:05:03 +02:00
Chadtech
1ff614b2f1 Merge branch 'trunk' of github.com:rtfeldman/roc into docs-parse-code-blocks 2021-08-22 15:54:28 -04:00
Chadtech
9e12f6d3ec ToHtml trait for docs and some rudimentary syntax highlighting that is definitely a work in progress 2021-08-22 15:53:26 -04:00
Chadtech
c72400c619 Merge branch 'trunk' of github.com:rtfeldman/roc into docs-parse-code-blocks 2021-08-10 00:31:06 -04:00
Chadtech
d7b347bd1d Compute annotation instead of NoTypeAnn in docs code 2021-08-10 00:21:21 -04:00
Chadtech
68147e7703 docs Syntax highlight function set up, and test set up for syntax highlighting 2021-08-09 20:21:03 -04:00
Richard Feldman
235a68d332 Fix relative fragments for DocDef 2021-08-08 23:32:37 -04:00
Richard Feldman
457c85e5aa Restyle code links in docs 2021-08-08 23:25:43 -04:00
Richard Feldman
0291d5d0c0 Emit code blocks for auto-links in docs 2021-08-08 23:25:33 -04:00
Richard Feldman
c1e65ce340 Update a comment 2021-08-08 15:48:58 -04:00
Richard Feldman
4bfa82b679 Fix asset links for docs 2021-08-08 00:44:26 -04:00
Richard Feldman
1018cdce37 Load search.js from the correct dir 2021-08-08 00:30:46 -04:00
Richard Feldman
d37e30560b Add a base href root to docs links 2021-08-07 23:40:49 -04:00
Richard Feldman
4c0c09374d Improve error message for a docs problem 2021-08-07 21:46:20 -04:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Richard Feldman
9fb0a7946e
Merge pull request #1512 from rtfeldman/docs-exposed-values-in-sidebar
Sidebar only shows exposed values
2021-08-01 22:02:15 -04:00
Chadtech
f3c009d653 Filter side nav items by what the module exposes 2021-08-01 14:14:21 -04:00