Chris Wong
c57d41e1a6
Handle conditions which contain braces
2017-07-31 22:03:50 +12:00
Chris Wong
d3586a28f3
Remove braces from let expressions
...
Also improve spans by passing more of the input through directly
2017-07-31 21:48:11 +12:00
Chris Wong
3de5f7f3e9
Move lints into their own maud_lints crate
2017-07-30 22:18:26 +12:00
Chris Wong
99ee994143
Update CONTRIBUTING.md
2017-07-30 22:01:07 +12:00
Chris Wong
4a733993c8
Make let expression type ascription test a bit more elaborate
...
An overly strict parser would choke on the `=` in `Iterator<Item=u32>`,
so this case is worth keeping as a regression test.
2017-07-30 21:17:12 +12:00
Chris Wong
cf403b3f6e
Add test for type ascription in let expressions
2017-07-30 21:08:14 +12:00
Chris Wong
24d46d5db4
Update readme for new proc macro API
2017-07-30 16:25:44 +12:00
Chris Wong
f68e201ce9
Add proc macro update to change log
2017-07-30 14:22:45 +12:00
Chris Wong
2353a64ce9
Merge branch 'proc-macro'
2017-07-30 14:06:03 +12:00
Chris Wong
4f7189375e
Avoid using quote!
in parser
2017-07-30 13:59:35 +12:00
Chris Wong
565360f2d5
Travis: remove tab check
...
We should be using a more comprehensive formatting check based on
rustfmt instead.
2017-07-29 20:14:13 +12:00
Chris Wong
f1fbea181a
Reduce duplication in Travis config
2017-07-29 20:06:28 +12:00
Chris Wong
7dcc7d7063
Fix Clippy warnings
2017-07-29 20:06:28 +12:00
Chris Wong
2213c0dc32
Move escaping routines into a shared maud_htmlescape crate
2017-07-29 20:03:00 +12:00
Chris Wong
37419d9781
Implement match expressions and remove debugging stuff
2017-07-29 14:33:10 +12:00
Chris Wong
fd7e000cda
TokenTreeIter values can be cloned now
2017-07-29 13:24:40 +12:00
Chris Wong
513d7f3d73
Implement for expressions
2017-07-23 14:08:19 +12:00
Chris Wong
cd113be71b
Implement while expressions
2017-07-23 14:03:23 +12:00
Chris Wong
62bdd4b06a
Use literalext from crates.io
2017-07-23 14:00:49 +12:00
Chris Wong
798f9baee8
Implement if expressions
2017-07-23 13:58:42 +12:00
Chris Wong
af57ac41ce
Refactor backtracking mechanism
2017-07-23 13:58:42 +12:00
Chris Wong
748ce69f4d
Use loop-break-value
...
It's stable now!
2017-07-23 13:58:42 +12:00
Chris Wong
88c8a7e8c9
Revert "Silence collapsible_if
warnings ( #93 )"
...
This reverts commit a72877cb55
.
2017-07-23 13:58:42 +12:00
Chris Wong
3d1e82b20e
Implement let expressions
2017-07-23 13:58:42 +12:00
Chris Wong
e61385645e
Don't throw away spans
2017-07-23 13:58:42 +12:00
Chris Wong
6a593388ae
Fix maud_extras
2017-07-23 13:58:42 +12:00
Chris Wong
e0c7fcf055
Initial stab at porting to new proc macro interface
2017-07-23 13:58:42 +12:00
Chris Wong
7ac9c04f0e
Tweak changelog to link to Rocket 0.3 pull request
2017-07-15 12:50:26 +12:00
Brayden
70f55b9771
Update to Rocket 0.3 ( #94 )
...
Also fixes diff links in CHANGELOG.md.
2017-07-15 12:43:29 +12:00
Chris Wong
a72877cb55
Silence collapsible_if
warnings ( #93 )
2017-07-08 20:21:04 +12:00
Chris Wong
04eb61e870
Use docs.rs for hosting API documentation
2017-06-19 21:25:19 +12:00
Chris Wong
dfad8b3d03
Merge branch 'error_macro_to_function'
2017-06-03 12:42:47 +12:00
Chris Wong
a51a16bdc7
Minor tweaks
2017-06-03 12:42:36 +12:00
Alisha
61bbcfdb69
Remove error macro and make error function
2017-05-30 01:59:18 +10:00
Chris Wong
348712f3f4
Add #![doc(html_root_url = "...")] attribute
2017-05-13 14:16:41 +12:00
Chris Wong
be88fc39d5
Release 0.16.3
2017-04-22 20:00:21 +12:00
Chris Wong
0ec0950c5f
Remove FlattenNtFolder
...
The tests pass without it, so 🤷
2017-04-22 17:29:56 +12:00
Chris Wong
dde603757d
Rename PResult
to ParseResult
2017-04-22 17:29:56 +12:00
Chris Wong
dfe721c6b7
Update to rustc 1.18.0-nightly (1785bca51 2017-04-21)
...
Closes #80
2017-04-22 17:29:56 +12:00
Chris Wong
2e5147ca52
Link to source code for book in readme
...
[ci skip]
2017-03-17 20:56:46 +13:00
Ernestas Poskus
422163a2fe
Add MetaProperty element ( #79 )
2017-03-08 18:50:26 +13:00
Chris Wong
f08458b357
Add 0.16.2 changes to changelog
2017-03-07 22:04:17 +13:00
Chris Wong
d8440bd214
Release 0.16.2
2017-03-07 21:47:46 +13:00
Chris Wong
f8f0b0049f
Travis: show commit range in tab checker
2017-03-07 21:46:02 +13:00
Chris Wong
d8fa8b18fa
Travis: forbid tabs
2017-03-07 21:36:51 +13:00
Sander Maijers
fc13564a42
Update to rustc 1.17.0-nightly (b1e31766d 2017-03-03)
...
Closes #77
Squashed commit of the following:
commit f88e4dfa5a62f9d6e00ed0980b6fb6d41d36151c
Author: Chris Wong <lambda.fairy@gmail.com>
Date: Tue Mar 7 20:54:54 2017 +1300
Convert errant tabs to spaces
commit 65936efca738459412d8818f911601bf5a2870fa
Author: Sander Maijers <S.N.Maijers@gmail.com>
Date: Mon Mar 6 17:15:20 2017 +0100
Refactor to make more generic
commit dc16b665854f1d63f5dd8d4db5c3f9390b1e6cee
Author: Sander Maijers <S.N.Maijers@gmail.com>
Date: Thu Mar 2 16:47:52 2017 +0100
Adjust to make compatible with current `libsyntax`
Was broken since rustc nightly 2017-03-01.
2017-03-07 20:59:51 +13:00
Chris Wong
23399225c3
Add juicy metadata to Cargo.toml
2017-02-17 22:23:44 +13:00
Chris Wong
7b67fe1e3e
Release 0.16.1
2017-02-15 22:26:45 +13:00
Ferdinand Bachmann
8ab628faa2
Update Rocket dependency to version 0.2.0 ( #74 )
...
* Update Rocket dependency to version 0.2.0
* Change rocket dependency to version range
2017-02-14 22:54:27 +13:00
Chris Wong
fe08789e3f
Make PResult
type private
...
Not sure why it was public in the first place
2017-02-11 17:19:12 +13:00