Sam Mohr
cb8040f629
Ignore underscore-prefixed fields in record builders
2024-08-06 22:49:35 -07:00
Agus Zubiaga
a8a829aadd
Merge branch 'main' into inline-imports
2024-04-28 00:11:29 -03:00
Luke Boswell
db4607125b
remove suffixed from Pattern
2024-04-28 08:47:08 +10:00
Agus Zubiaga
d5a38a26db
Merge branch 'main' into inline-imports
2024-04-20 12:01:11 -03:00
Luke Boswell
0143035dc0
cleanup, improve docs
2024-04-14 13:45:06 +10:00
Luke Boswell
b8ec53738a
fix desugar for suffixed nodes
2024-04-14 13:45:01 +10:00
Luke Boswell
3c3e523b45
add suffixed to Identifer and QualifiedIdentifier
2024-04-14 13:45:00 +10:00
Anton-4
3fadcf7bcb
style changes
2024-03-16 14:41:08 +01:00
faldor20
45d994d7d7
clippy
2024-03-12 00:18:01 +10:00
faldor20
ee264981b6
cleanup getting docs for symbol
2024-03-12 00:13:57 +10:00
faldor20
64c25cf4d5
remove prints
2024-03-11 15:35:36 +10:00
faldor20
0c463555f4
module docs
2024-03-11 11:10:35 +10:00
faldor20
0b56882785
Unannotated types hover
2024-03-11 11:10:35 +10:00
faldor20
cdf218fe7a
first working version of docs hover
2024-03-11 11:10:34 +10:00
Agus Zubiaga
710d62f754
Load and can new top-level imports
...
Previously, all imports were available in the header, so we could start
processing dependencies as soon as we parsed it. However, the new imports
are treated as defs, so we have to parse the whole module to find them.
This commit essentially moves the dependency resolution from the `LoadHeader`
phase to the `Parse` phase, and it updates canonicalization to introduce
module symbols into scope when a `ValueDef::ModuleImport` is encountered.
NOTE:
- The `imports` header still parses, but it's no longer wired up. I will remove
it in an upcoming commit.
- Ingested files and imports that appear in nested expressions are not
yet supported by load
2024-01-20 08:39:31 -03:00
Richard Feldman
9fe08cafd0
Render docs for abilities, tuples, and as
2023-08-11 20:59:40 -04:00
Bryce Miller
33c2b9dfdd
has -> implements in comments
2023-05-26 20:37:02 -04:00
Bryce Miller
ebbdae6c28
ast::HasClause -> ast::ImplementsClause
2023-05-20 08:20:44 -04:00
Joshua Warner
5a6be05ead
implement mono / lowering for tuples
2023-02-07 18:54:50 -08:00
Richard Feldman
5227b5ff43
c l i p p y
2022-12-27 00:31:54 -05:00
Richard Feldman
b749ac28c9
Use module-level comments for top-level docs
2022-12-26 23:55:54 -05:00
Richard Feldman
3171a15ed0
Parse header_docs
2022-12-26 23:15:48 -05:00
Richard Feldman
74e16c5293
Clarify a comment
2022-12-26 23:15:48 -05:00
Richard Feldman
5c80657bb2
Update some comments and docs
2022-12-24 22:32:16 -05:00
Richard Feldman
15d4c2ad68
Don't render undexposed types in docs
2022-12-24 22:32:13 -05:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file
2022-12-24 22:32:13 -05:00
Richard Feldman
49f8768271
Parse and format dbg
2022-11-22 21:08:26 -05:00
Ayaz Hafiz
fc6f7d2613
Basic support for multi-ability docs
2022-10-24 14:00:46 -05:00
Ayaz Hafiz
548a235c25
Support parsing multiple abilities in a clause
2022-10-24 13:56:06 -05:00
Folkert
bcbc8b4d50
basic canonicalization
2022-08-09 13:59:24 +02:00
Folkert
7597d11b59
parse the region of the preceding comment for an expect
2022-07-21 10:42:57 -04:00
Richard Feldman
81d2d46077
clippy
2022-07-08 20:18:36 -04:00
Richard Feldman
d56a1edd91
Don't generate docs for top-level expect
s
2022-07-08 20:17:18 -04:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00