Anton-4
|
3742ef5f42
|
update basic-cli links to 0.10
|
2024-04-28 12:45:31 +02:00 |
|
Agus Zubiaga
|
a8a829aadd
|
Merge branch 'main' into inline-imports
|
2024-04-28 00:11:29 -03:00 |
|
Luke Boswell
|
8d88e3ab7f
|
update snapshots
|
2024-04-28 08:47:08 +10:00 |
|
Luke Boswell
|
2fe03e6c91
|
remove suffixed from Expr::Var
|
2024-04-28 08:47:08 +10:00 |
|
Joshua Warner
|
7c53cf0cd7
|
Fixup tests
|
2024-04-28 08:47:07 +10:00 |
|
Agus Zubiaga
|
f69bc2e46f
|
Merge branch 'main' into inline-imports
|
2024-04-23 18:57:20 -03:00 |
|
Anton-4
|
29e59dfec9
|
upgrade to basic-cli 0.9.1
|
2024-04-23 19:06:33 +02:00 |
|
Agus Zubiaga
|
4476277a56
|
Merge branch 'main' into inline-imports
|
2024-04-22 17:45:25 -03:00 |
|
Luke Boswell
|
6844df6c37
|
fix parsing lists in tag patterns
|
2024-04-21 13:27:50 +10:00 |
|
Agus Zubiaga
|
7ebfc6d06d
|
Support both inline and header imports
Load will now convert header imports to inline import defs, so that
we can support both temporarily.
|
2024-04-20 19:04:09 -03:00 |
|
Joshua Warner
|
a24daeaa57
|
Fix syntax fuzzer cargo config
|
2024-04-20 11:21:36 -07:00 |
|
Agus Zubiaga
|
3217e5a3f0
|
Allow dots in import module names
We found some issues with the private submodules part of the proposal [1],
and we decided to keep module directories for now.
[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit#heading=h.x84bh32l37em
|
2024-04-20 12:33:02 -03:00 |
|
Agus Zubiaga
|
d5a38a26db
|
Merge branch 'main' into inline-imports
|
2024-04-20 12:01:11 -03:00 |
|
Luke Boswell
|
c5cba98381
|
Merge remote-tracking branch 'remote/main' into suffixed-bang
|
2024-04-16 06:42:31 +10:00 |
|
Luke Boswell
|
f9771a9983
|
split test_utils
|
2024-04-15 20:30:34 +10:00 |
|
Luke Boswell
|
3cd1f13009
|
update test_syntax snapshot
|
2024-04-15 14:30:18 +10:00 |
|
Luke Boswell
|
93ef5e42dc
|
fix tests, make clippy happy
|
2024-04-14 13:45:07 +10:00 |
|
Luke Boswell
|
c32fa5b600
|
support optional suffied last def
|
2024-04-14 13:45:06 +10:00 |
|
Luke Boswell
|
d08a51b134
|
cargo fmt
|
2024-04-14 13:45:02 +10:00 |
|
Luke Boswell
|
b8ec53738a
|
fix desugar for suffixed nodes
|
2024-04-14 13:45:01 +10:00 |
|
Luke Boswell
|
ba22527e29
|
WIP parse statements correctly
|
2024-04-14 13:45:01 +10:00 |
|
Luke Boswell
|
997284e113
|
parse suffixed statements as defs
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
3c3e523b45
|
add suffixed to Identifer and QualifiedIdentifier
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
0a3b9c34b3
|
add suffixed:u8 to Expr::Var
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
56d91ce74c
|
support multiline suffixed statements
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
42fdcb7ff1
|
Make unit assignment optional for suffixed defs
|
2024-04-14 13:44:59 +10:00 |
|
Anton-4
|
e4e1d7116c
|
update to basic-cli 0.9.0
|
2024-04-13 12:28:16 +02:00 |
|
Jonathan Schear
|
ab4a5343a0
|
Update tests
|
2024-03-24 14:31:34 -04:00 |
|
Luke Boswell
|
4920ef8e7d
|
regenerate test snapshot
|
2024-03-22 20:44:35 +11:00 |
|
Luke Boswell
|
f48ac46ba1
|
remove formatted snapshot as there should be no change
|
2024-03-15 14:40:41 +11:00 |
|
Luke Boswell
|
e2557067c8
|
add nested snapshot for suffixed expr
|
2024-03-15 14:40:09 +11:00 |
|
Luke Boswell
|
8bbbd768ec
|
add snapshot test for suffixed expr
|
2024-03-15 14:39:21 +11:00 |
|
Richard Feldman
|
3e27e18566
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-01-29 07:23:58 -05:00 |
|
Richard Feldman
|
0681929d6d
|
Update snapshot syntax tests
|
2024-01-28 17:34:47 -05:00 |
|
Anton-4
|
30a5a2cfac
|
change hashtag formatting
|
2024-01-28 18:15:24 +01:00 |
|
Richard Feldman
|
bf660ad094
|
Remove Nat from tests
|
2024-01-26 16:19:52 -05:00 |
|
Richard Feldman
|
02bc54292f
|
Update fmt tests to not use Nat
|
2024-01-26 16:17:06 -05:00 |
|
Richard Feldman
|
09574203ce
|
Update to basic-cli 0.8.1
|
2024-01-26 16:02:30 -05:00 |
|
Agus Zubiaga
|
11e0202eb9
|
Parse inline imports and ingested files at the expression level
```
numbers =
import "numbers.json" as numbersJson : Str
import json.Decode exposing [decode, list, int]
numbersJson
|> decode (list int)
|> Result.withDefault []
```
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
2d93f0c3f1
|
Extract ModuleImport/IngestedFileImport into structs for reuse
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
4d6e641864
|
Parse and format inline ingested file imports
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
42e755677c
|
Simply import parsing and formatting by using header::KeywordItem
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
65ce811587
|
Parse and format import package shorthand
The original proposal [1] suggested dropping the package shorthand,
but we later decided to keep it [2] to improve UX.
[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit?usp=sharing
[2] 385104011
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
c56091ee3e
|
Module Params' proposal import syntax
I previously implemented the syntax in "Proposal: Module and Package Changes" [1]:
```
import [map, map2] from JsonDecode as JD
```
However, we decided [2] to use the one that appears in "Proposal: Module Params" [3]:
```
import JsonDecode as JD exposing [map, map2]
```
The new implementation also now supports comments and newlines between all the tokens.
[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
[2] 405410612
[3] https://docs.google.com/document/d/110MwQi7Dpo1Y69ECFXyyvDWzF4OYv1BLojIm08qDTvg/edit
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
5cd084b73c
|
Parse and format inline import with exposed names
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
76d799ea13
|
Parse and format aliases in import defs
|
2024-01-20 08:35:50 -03:00 |
|
Agus Zubiaga
|
933fde77a0
|
Parse and format top-level import defs with no alias or exposed members
|
2024-01-20 08:35:50 -03:00 |
|
Brian Teague
|
60c639b60e
|
Consolidate gitignore
Keep certain files with no file extension
Keep specific files with no file extension
Delete all gitignore files
|
2024-01-10 22:16:04 -05:00 |
|
Richard Feldman
|
ff2704056e
|
Fix some tests
|
2024-01-07 00:00:37 -05:00 |
|
Richard Feldman
|
163bde0c41
|
Update tests to use $(...) interpolation
|
2024-01-06 15:06:30 -05:00 |
|