Sébastien Besnier
|
74dde77003
|
refactor use of fmt_comment
|
2020-11-15 09:17:31 +01:00 |
|
Sébastien Besnier
|
93b7ac5b0c
|
remove duplicated is_comment function
|
2020-11-15 09:01:24 +01:00 |
|
Sébastien Besnier
|
ccabc41489
|
thank you clippy
|
2020-11-14 21:09:02 +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 |
|
Richard Feldman
|
ef90103353
|
Update compiler/fmt/src/def.rs
|
2020-11-08 22:11:38 -05:00 |
|
Sébastien Besnier
|
014131dabe
|
handle AnnotatedBody everywhere. It compiles now!
|
2020-11-08 13:43:11 +01:00 |
|
Brendan Hansknecht
|
d00189530a
|
Add fuzzing to the parser.
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
|
2020-10-30 22:04:54 -07: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
|
dfa61b4c18
|
Parse platform headers
|
2020-10-18 23:55:49 -04:00 |
|
Richard Feldman
|
3c39a331d7
|
Remove obsolete parse::ast::TypedBody
|
2020-09-07 09:19:25 -04:00 |
|
Richard Feldman
|
453fc0e27c
|
REVERT THIS! Temporarily break block strings.
Also disable some tests because trimming inputs
revealed some bugs I don't want to fix in this PR!
|
2020-08-31 23:22:10 -04:00 |
|
Richard Feldman
|
7682e09b0a
|
Fix some fmt stuff
|
2020-08-31 23:13:50 -04:00 |
|
Richard Feldman
|
5b27e10095
|
Reproduce empty string parsing bug
|
2020-08-31 23:13:50 -04:00 |
|
Richard Feldman
|
f35e43768a
|
Get things compiling
|
2020-08-31 23:13:50 -04:00 |
|
Richard Feldman
|
9f9ce327d4
|
Lazily validate that input bytes are valid UTF-8
|
2020-07-27 01:10:04 -04:00 |
|
Folkert
|
29c3eebace
|
parse default optional expressions in pattern matches
|
2020-07-20 00:52:16 +02:00 |
|
Richard Feldman
|
3eea2c934e
|
Fix an annotation formatting regression
|
2020-07-18 22:17:41 -04:00 |
|
Richard Feldman
|
8b53ec15fe
|
Change guard to DestructType
|
2020-07-18 12:42:04 -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 |
|
Folkert
|
ba38d4ec14
|
cleanup
|
2020-07-10 23:54:00 +02:00 |
|
Folkert
|
d6bdb45c82
|
Back in working order
|
2020-07-10 23:54:00 +02:00 |
|
Folkert
|
9aa05fdc4c
|
WIP
|
2020-07-10 23:54:00 +02:00 |
|
Folkert
|
36ccafd8ab
|
cleanup
|
2020-07-10 23:54:00 +02:00 |
|
Folkert
|
d61b8c88a1
|
implement Formattable for Pattern
|
2020-07-10 23:54:00 +02:00 |
|
Folkert
|
e18d3bbfe4
|
use Parens type in pattern formatting
|
2020-07-10 23:54:00 +02:00 |
|
Folkert
|
1ac1dd1f8f
|
it does help when you add the new file
|
2020-07-09 18:05:17 +02:00 |
|
Folkert
|
672b67d527
|
initial version of annotation formatting
|
2020-07-09 17:41:21 +02:00 |
|
Folkert
|
9d67b11c0d
|
pretty error messages for integers
|
2020-07-07 22:10:23 +02:00 |
|
Richard Feldman
|
99dcda8603
|
Use inlinable_string 0.1
|
2020-05-31 20:14:19 -04:00 |
|
Richard Feldman
|
3dac73d8d0
|
Parse doc comments
|
2020-05-23 22:03:21 -04:00 |
|
Richard Feldman
|
4d8cbc4811
|
Drop obsolete contains_newline method
|
2020-05-23 21:41:11 -04:00 |
|
Richard Feldman
|
ce9e7a91f6
|
Clean up some Cargo.toml files
|
2020-05-03 21:37:59 -04:00 |
|
Richard Feldman
|
20648958eb
|
Revise some future fmt tests
|
2020-05-03 08:50:21 -04:00 |
|
Richard Feldman
|
101dc80ae5
|
Move parse::operator into module::operator
|
2020-05-01 21:58:53 -04:00 |
|
Chad Stearns
|
5ca1174f78
|
Another when condition test
|
2020-04-21 23:49:26 -04:00 |
|
Chad Stearns
|
73744b3b1d
|
Merge branch 'trunk' of github.com:rtfeldman/roc into format-precedence-conflict
|
2020-04-21 23:40:13 -04:00 |
|
Chad Stearns
|
8e86146963
|
Lots of new tests. Lots of commented-in tests. Tests that had a lot of assertions broken out into separate tests
|
2020-04-21 23:40:08 -04:00 |
|
Chad Stearns
|
ffdce07d29
|
fixed formatting error for if statement formatting
|
2020-04-21 23:39:22 -04:00 |
|
Chad Stearns
|
c3d296a026
|
fixed formatting error for when formatting
|
2020-04-21 23:38:04 -04:00 |
|
Chad Stearns
|
ac85f86b9e
|
Removed panics
|
2020-04-21 23:37:00 -04:00 |
|
Richard Feldman
|
1c1fee7e31
|
Trim trailing space off pretty_assertions dep
|
2020-04-16 19:24:24 -04:00 |
|
Chad Stearns
|
3f7d1cf33a
|
Merge branch 'trunk' of github.com:rtfeldman/roc into format-precedence-conflict
|
2020-04-13 22:30:34 -04:00 |
|
Folkert
|
8e8f93955e
|
cleanup
|
2020-03-31 23:54:14 +02:00 |
|
Richard Feldman
|
3ecbe0325c
|
Plain number literals (e.g. 5 ) are now Num *
|
2020-03-10 22:27:13 -04:00 |
|
Chad Stearns
|
3fc19e90e4
|
Precedence conflict tests
|
2020-03-08 16:26:17 -04:00 |
|
Richard Feldman
|
365c65a7d9
|
Fix lifetime problem with arena
|
2020-03-07 11:20:39 -05:00 |
|
Richard Feldman
|
0f79a3311d
|
Upgrade bumpalo to 3.2
|
2020-03-07 11:20:35 -05:00 |
|
Richard Feldman
|
5a129a506a
|
Move fmt
|
2020-03-06 18:24:37 -05:00 |
|