Joshua Warner
|
d63405d824
|
Make Expr::List use a Collection
|
2021-11-13 07:38:11 -08:00 |
|
Joshua Warner
|
a4ca6a31a6
|
Use Collection in Expr::Record and related places
|
2021-11-13 07:36:05 -08:00 |
|
Chadtech
|
8e0fd1b4cd
|
Dont borrow sub_expr
|
2021-10-16 18:08:18 -04:00 |
|
Chadtech
|
5e2decf89a
|
Binops with parentheses keep their parentheses
|
2021-10-16 18:01:13 -04:00 |
|
Chadtech
|
2ca9dad156
|
Do not add parens around exprs if they are not needed in formatting
|
2021-10-16 13:30:32 -04:00 |
|
Chelsea Troy
|
051b511d87
|
Remove parentheses from unapplied tags
|
2021-10-11 20:42:07 -05:00 |
|
Folkert
|
e805e63db6
|
typos
|
2021-07-30 16:54:22 +02:00 |
|
Folkert
|
899cbeabd7
|
fix extra ampersands
|
2021-07-29 17:32:08 +02:00 |
|
Folkert
|
700e7d9686
|
parse expect
|
2021-04-22 23:00:44 +02:00 |
|
Folkert
|
28ba645121
|
parse underscores in expressions
|
2021-04-11 21:02:31 +02:00 |
|
Folkert
|
197835b6ed
|
remove nested in expr
|
2021-03-21 20:56:18 +01:00 |
|
Folkert
|
1871697b0f
|
remove BinOp variant
|
2021-03-20 23:01:12 +01:00 |
|
Folkert
|
6122b0650b
|
format binops
|
2021-03-20 22:29:02 +01:00 |
|
Folkert
|
d5ec66244f
|
use new binops
|
2021-03-20 21:19:10 +01:00 |
|
Folkert
|
e0c211081a
|
remove update field from normal Record constructor
|
2021-03-20 16:49:14 +01:00 |
|
Folkert
|
60265b5d2a
|
add dedicated RecordUpdate tag to parse ast
|
2021-03-20 16:06:07 +01:00 |
|
Folkert
|
0e7106280c
|
bump allocate precedence conflict
|
2021-03-20 15:59:06 +01:00 |
|
Folkert
|
d22acb521e
|
use record for PrecedenceConflict
|
2021-03-20 15:07:15 +01:00 |
|
Folkert
|
0be4704f94
|
checkpoint working parse tests
|
2021-03-13 15:49:07 +01:00 |
|
Folkert
|
214112d751
|
Revert "store is_negative for all number literals in the parse ast"
This reverts commit 182fd5201d .
|
2021-03-12 16:43:52 +01:00 |
|
Folkert
|
182fd5201d
|
store is_negative for all number literals in the parse ast
|
2021-03-12 16:11:46 +01:00 |
|
Folkert
|
3304f54ca8
|
format backpassing
|
2021-03-06 16:34:13 +01:00 |
|
Folkert
|
e2d08b8f78
|
make backpassing an expr
|
2021-03-06 16:05:18 +01:00 |
|
Folkert
|
e395d18e16
|
bunch of stuff
|
2021-02-28 23:36:27 +01:00 |
|
Folkert
|
4eea0aff7a
|
refactor parse AST to allow multiple if branches
|
2021-02-25 14:34:58 +01:00 |
|
Sébastien Besnier
|
965d151168
|
add tag union tests for trailing commas formatting
|
2020-12-28 18:57:45 +01:00 |
|
Sébastien Besnier
|
7692bd5671
|
add test... and fix missing final comments!
|
2020-12-28 18:41:48 +01:00 |
|
Sébastien Besnier
|
3d0a5aa89a
|
format multline litera list with trailing comma
|
2020-12-28 18:37:41 +01:00 |
|
Sébastien Besnier
|
83aa5c1642
|
add final_comments to List's AST
|
2020-12-28 18:17:56 +01:00 |
|
Sébastien Besnier
|
2f3d74e8bd
|
fix empty record with only comments in it
|
2020-12-28 17:54:35 +01:00 |
|
Sébastien Besnier
|
c692319fb9
|
correctly format multiline record type annotation
|
2020-11-21 20:36:26 +01:00 |
|
Sébastien Besnier
|
f9666d6efe
|
better code comments
|
2020-11-21 20:36:26 +01:00 |
|
Sébastien Besnier
|
c4bc98a81f
|
remove fmt_condition_spaces in favor of fmt_comments_only
|
2020-11-15 10:36:50 +01:00 |
|
Sébastien Besnier
|
25192fca10
|
make fmt_comments_only more general
|
2020-11-15 10:26:14 +01:00 |
|
Sébastien Besnier
|
bc203371be
|
refactor fmt_final_comments to be more generic
|
2020-11-15 09:57:29 +01:00 |
|
Sébastien Besnier
|
f647e8fcf0
|
clippy.... you sometimes are annoying!
|
2020-11-14 20:08:55 +01:00 |
|
Sébastien Besnier
|
6be94c5f29
|
add some tests.... and fix some bugs!
|
2020-11-14 18:51:43 +01:00 |
|
Sébastien Besnier
|
2000948765
|
format the final comments in records
|
2020-11-14 18:39:46 +01:00 |
|
Sébastien Besnier
|
ec975aac93
|
cargo fmt
|
2020-11-13 19:56:13 +01:00 |
|
Sébastien Besnier
|
adc1493e76
|
appease clippy
|
2020-11-13 19:36:52 +01:00 |
|
Sébastien Besnier
|
58acc59b01
|
correctly parse trailing commas in record
|
2020-11-13 19:02:26 +01:00 |
|
Sébastien Besnier
|
7ec161c415
|
add trailing comma in formatter for records
|
2020-11-13 19:01:46 +01:00 |
|
Sébastien Besnier
|
6ad1bb233a
|
add TrailingComma to Record & little formatter refactor
|
2020-11-13 19:01:46 +01:00 |
|
Folkert
|
ee23e5979d
|
pass argument by reference
|
2020-10-29 00:35:10 +01:00 |
|
Folkert
|
9f4b284f14
|
from vec to slice
|
2020-10-29 00:12:59 +01:00 |
|
Richard Feldman
|
7682e09b0a
|
Fix some fmt stuff
|
2020-08-31 23:13:50 -04:00 |
|
Richard Feldman
|
f35e43768a
|
Get things compiling
|
2020-08-31 23:13:50 -04:00 |
|
Folkert
|
6bc657616d
|
clean up comments
|
2020-07-12 00:37:05 +02:00 |
|
Folkert
|
d7b2dc7a3b
|
fix test failures caused by def reordering
|
2020-07-11 02:01:23 +02:00 |
|
Folkert
|
46639c5081
|
cleanup and comments
|
2020-07-11 01:51:38 +02:00 |
|