Commit Graph

861 Commits

Author SHA1 Message Date
Alex Crichton
b24e47eacf Allow running tests on all channels 2017-07-14 06:41:17 -07:00
Alex Crichton
401d776008 Tweak travis config, run tests on nightly 2017-07-14 06:27:22 -07:00
Alex Crichton
74bf645efa Bump to 0.1.2 2017-07-14 06:23:20 -07:00
Alex Crichton
6e81d76f2a Use raw isize and usize constructors
These have been added upstream!
2017-07-14 06:09:31 -07:00
Alex Crichton
7f460623ef Bump to 0.1.1 2017-07-05 18:10:06 -07:00
Alex Crichton
1a16c78659 Expose isize/usize constructors of Literal 2017-07-05 18:06:36 -07:00
Alex Crichton
f8ec9c2a7b Fill out README fields 2017-07-05 18:01:47 -07:00
Alex Crichton
babc99e74f Crate docs 2017-07-05 18:00:29 -07:00
Alex Crichton
040be633b9 Use more upstream apis on unstable where we can 2017-07-05 17:56:48 -07:00
Alex Crichton
1bc895e2d1 Update the README 2017-07-05 17:53:06 -07:00
Alex Crichton
1a7f762859 Update to rust-lang/rust's proc_macro API 2017-07-05 17:47:15 -07:00
David Tolnay
8ad3e3e7c9
More useful Debug for Symbol
Fixes #26.
2017-06-03 16:45:00 -07:00
David Tolnay
cb1b85f2ab
Forward Debug and Display for newtype wrappers 2017-06-03 16:42:02 -07:00
David Tolnay
64bb1b3f1d
Update unicode-xid 2017-06-03 12:17:33 -07:00
David Tolnay
24b004c243 Merge pull request #25 from alexcrichton/ss
Remove Send and Sync for Symbol
2017-06-03 09:50:47 -07:00
David Tolnay
bf558fec24
Compiletest requires nightly 2017-06-03 09:47:37 -07:00
David Tolnay
e0d809e7e9
Test that Symbol is neither Send nor Sync 2017-06-03 09:41:46 -07:00
David Tolnay
041bcd4f98
Remove Send and Sync for Symbol 2017-06-03 09:18:04 -07:00
Alex Crichton
a5d12d3895 Merge pull request #23 from alexcrichton/unstable
Fill out an unstable implementation
2017-06-02 15:26:40 -05:00
Alex Crichton
cbec8ec2f1 Fill out an unstable implementation
This is verified to compile and work against the current version of
rust-lang/rust#40939.
2017-06-02 13:22:18 -07:00
David Tolnay
4b726486b4 Merge pull request #22 from mystor/eq
Derive Eq and PartialEq on OpKind and Delimiter
2017-06-02 08:09:04 -07:00
Michael Layzell
5372f4b1bf Derive Eq and PartialEq on OpKind and Delimiter 2017-06-02 10:29:31 -04:00
David Tolnay
9045817247 Merge pull request #21 from alexcrichton/tests
Move tests out of stable module
2017-06-01 15:36:17 -07:00
David Tolnay
e5806852c3
Move tests out of stable module
In the future this will help test that stable and unstable expose the same API.
2017-06-01 13:37:50 -07:00
David Tolnay
7d455f548d Merge pull request #20 from alexcrichton/keyword
Reject keyword as lifetime name
2017-06-01 13:37:34 -07:00
David Tolnay
214c94c7fb
Reject keyword as lifetime name 2017-06-01 12:43:50 -07:00
David Tolnay
f583d9d1b3 Merge pull request #18 from alexcrichton/lifetime
Disallow space between tick and lifetime name
2017-06-01 12:32:26 -07:00
David Tolnay
a202d50924
Disallow space between tick and lifetime name 2017-06-01 12:26:55 -07:00
David Tolnay
8e976c610a
Parse the publicly exported types directly 2017-06-01 12:12:29 -07:00
David Tolnay
643177b2c9
Simplify token_kind parser 2017-06-01 12:02:44 -07:00
David Tolnay
e227d5b4f8
Simplify token_stream parser 2017-06-01 11:57:10 -07:00
David Tolnay
8994629fff Merge pull request #16 from alexcrichton/suffix
Check for word boundary after numeric suffixes
2017-06-01 11:53:14 -07:00
David Tolnay
744a6b8486
Check for word boundary after numeric suffixes 2017-06-01 11:48:56 -07:00
David Tolnay
8323b56189 Merge pull request #14 from alexcrichton/result
Switch from IResult<I, O> to Result<(I, O), LexError>
2017-06-01 11:23:41 -07:00
David Tolnay
1218e124e0
Switch from IResult<I, O> to Result<(I, O), LexError> 2017-06-01 11:19:36 -07:00
Alex Crichton
a412cd11da Merge pull request #13 from alexcrichton/punctuation
Punctuation is joint if followed by other punctuation
2017-06-01 08:34:04 -05:00
David Tolnay
ea75c5f397
Punctuation is joint if followed by other punctuation 2017-05-31 23:40:33 -07:00
David Tolnay
071a6e3b3a Merge pull request #4 from alexcrichton/strnom
Drop dependency on synom
2017-05-31 18:01:16 -07:00
David Tolnay
3382a91894 Merge pull request #11 from alexcrichton/debug
Derive debug
2017-05-31 17:54:54 -07:00
David Tolnay
977f828f3e
Derive debug 2017-05-31 17:51:16 -07:00
David Tolnay
b09eee89ed Merge pull request #8 from mystor/ui128
Accept u128 and i128 suffixes when parsing integers
2017-05-31 16:55:41 -07:00
Michael Layzell
30e3589b06 Accept u128 and i128 suffixes when parsing integers 2017-05-31 19:50:30 -04:00
David Tolnay
98afa0e638 Merge pull request #7 from mystor/int_overflow
Don't check integer literals for overflow when parsing
2017-05-31 16:49:24 -07:00
Michael Layzell
9ee75c96e4 Don't check integer literals for overflow when parsing
Fixes #6
2017-05-31 19:45:33 -04:00
David Tolnay
b1032664bb
Drop dependency on synom
Synom will need to depend on proc-macro2 as it transitions to parsing tokens
instead of strings. And all of this code is being removed from synom anyway.
2017-05-31 15:52:38 -07:00
Alex Crichton
2d0cf0bcc3 Compat with older rust 2017-05-26 14:00:16 -07:00
Alex Crichton
7ed6d28a8f Fix raw byte strings 2017-05-26 13:42:50 -07:00
Alex Crichton
3131662d23 Raw string literals 2017-05-26 12:54:47 -07:00
Alex Crichton
43881256b9 Make as_str public 2017-05-26 08:51:06 -07:00
Alex Crichton
9c2fb0a75c Minor API tweaks 2017-05-26 08:49:31 -07:00