Commit Graph

138 Commits

Author SHA1 Message Date
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
ayazhafiz
5e1103dd91 Fix docs tests 2022-01-30 21:42:41 -05:00
Folkert
afd11e1cb1 move target -> roc_target 2022-01-26 23:33:29 +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
Jan Van Bruggen
d03a51c75b Rename base package to pf everywhere, to match tutorial 2021-12-12 05:57:39 -07:00
Anton-4
9a2187ecd2 fixed newline issues 2021-12-09 13:55:18 +01:00
Anton-4
b3420d793f removed dbg, disabled comment_after test 2021-12-04 15:22:45 +01:00
Anton-4
d6a27d1e53 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-comments 2021-12-04 11:00:03 +01:00
Anton-4
5bd776f972 debugging inline comment bug 2021-12-01 16:57:28 +01:00
rvcas
40090f20e6 test: update tests to use Num.toStr 2021-11-30 14:56:08 -05:00
Anton-4
30c1d218a7 started on supprting comments in editor+docs 2021-11-23 20:03:25 +01:00
Folkert
f3cfd4d552 fix formatting 2021-11-13 16:25:59 +01:00
Folkert
d18c09a21d misc other clippy things 2021-11-13 16:04:50 +01:00
Brendan Hansknecht
73e2cbcb1e Make versions numbers consistent and matching the lock files 2021-11-06 13:24:45 -07:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Anton-4
a3fc724df3 removed unused maplit 2021-11-03 10:50:25 +01:00
Richard Feldman
386c890b57 Drop unused roc_fmt dep 2021-11-02 19:37:05 -04:00
Anton-4
9650736f49 can read escaped newlines correctly inside a string 2021-10-26 18:01:32 +02:00
Anton-4
45df20cb17 can now convert builtin calls to markup 2021-10-26 16:43:03 +02: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