726 Commits

Author SHA1 Message Date
Niko Matsakis
920ee76fec even in parse table, error out if we hit EOF early 2017-08-29 05:46:22 -04:00
Niko Matsakis
f7d274a76a Merge pull request #251 from nick70/master
Add missing back-tick in tutorial.
2017-08-29 04:32:50 -04:00
Nicholas Farshidmehr
59d152fa59 Add missing back-tick in tutorial. 2017-08-01 15:54:26 -04:00
Niko Matsakis
9a343f7a04 Merge pull request #245 from mchesser/master
Embed LALRPOP version in generated files, and check it on rebuild
2017-07-17 05:27:11 -04:00
Niko Matsakis
690db010be Merge pull request #246 from fitzgen/unrecognized-token-with-expected
Ignore the possible expected token when we find an unrecognized token
2017-07-11 13:37:01 -04:00
Nick Fitzgerald
b50124ea54 Ignore the possible expected token when we find an unrecognized token
This will at least print an error message with the location, rather than
panicking, which is a lot more user-friendly :)
2017-07-02 09:55:04 -07:00
Michael Chesser
f0a88a823e Embed LARPOP version in generated files, and check it when rebuilding files. 2017-07-01 14:51:40 +09:30
Niko Matsakis
92055a1e2c gah fix regex version 2017-06-16 17:52:36 -04:00
Niko Matsakis
09d333ba11 Merge pull request #239 from nikomatsakis/release-0.13.1
Release 0.13.1
v0.13.1 v0.14.0
2017-06-16 15:56:22 -04:00
Niko Matsakis
735eb8779f update README and tutorial 2017-06-16 15:54:50 -04:00
Niko Matsakis
dcce320a88 bump version number to 0.13.1 2017-06-16 15:49:05 -04:00
Niko Matsakis
390125ea11 update RELEASES.md 2017-06-16 15:47:18 -04:00
Niko Matsakis
0d273fadc6 Merge pull request #235 from jchlapinski/master
Added version information for lalrpop executable
2017-06-16 15:07:47 -04:00
Niko Matsakis
f934229ed7 Merge pull request #236 from wieczyk/issue115_allow_shebang_in_lalrpop_files
Issue115 allow shebang in lalrpop files
2017-06-16 15:07:13 -04:00
Niko Matsakis
ba2cb48f36 Merge pull request #238 from nikomatsakis/petgraph-lanetable-snapshot
Petgraph lanetable snapshot
2017-06-15 15:10:20 -04:00
Niko Matsakis
d4a23b83c5 upgrade snapshot, remove #[LALR] annotation from lrgrammar.lalrpop 2017-06-15 11:06:08 -04:00
Niko Matsakis
714a251657 warn about using #[lalr] 2017-06-15 10:55:12 -04:00
Niko Matsakis
b1d1d939b9 make LALRPOP_LANE_TABLE the default
To opt out, you can do `LALRPOP_LANE_TABLE=disabled`
2017-06-15 10:50:55 -04:00
Niko Matsakis
e3ca9d35ad add missing #[cfg(test)] 2017-06-15 10:50:50 -04:00
Niko Matsakis
063d3c464b upgrade the snapshot 2017-06-15 09:04:53 -04:00
Niko Matsakis
611b209707 bump to petgraph 0.4.4 2017-06-15 08:59:42 -04:00
jc
79d96df948 added version information https://github.com/nikomatsakis/lalrpop/issues/224 2017-05-31 17:58:01 +02:00
Pawel Wieczorek
98699b7e64 End-user tests 2017-05-14 23:33:44 +02:00
Pawel Wieczorek
244988690c passing module annotations to repr::Grammar 2017-05-14 23:07:09 +02:00
Pawel Wieczorek
72d8efcc00 Added module_annotation to grammar 2017-05-14 22:55:27 +02:00
Pawel Wieczorek
8b0b06965c Support for shebang token 2017-05-14 22:23:43 +02:00
Niko Matsakis
1c586f9b9a Merge pull request #227 from withoutboats/remove-rustc-serialize
Remove dependencies on rustc-serialize.
2017-05-06 05:50:36 -04:00
Niko Matsakis
09a217521c Merge pull request #228 from wieczyk/issue226_ltgt_construct_should_work_with_named_input
Issue226 ltgt construct should work with named input
2017-05-03 05:04:03 -04:00
Niko Matsakis
f5293255b3 restore rustc-serialize to doc/pascal
It needs it for docopt
2017-05-03 04:55:34 -04:00
Niko Matsakis
b3c07c473b unrelated: fix unused warnings about issue 113 2017-05-03 04:48:44 -04:00
Niko Matsakis
8d3fc895d3 add an end-to-end test by tweaking expr_arena 2017-05-03 04:47:44 -04:00
Niko Matsakis
34ee05c808 nit: fix braces placement 2017-05-03 04:36:07 -04:00
Niko Matsakis
ee32a10dd7 tweak text of tutorial; eliminate redundant paragraph 2017-05-03 04:35:02 -04:00
Pawel Wieczorek
a620a8d20c Added missing tests 2017-04-28 22:58:32 +02:00
Pawel Wieczorek
523635eacc Fixes after review 2017-04-28 22:12:03 +02:00
Pawel Wieczorek
e265fa81fe Better span for error message 2017-04-28 20:50:09 +02:00
Pawel Wieczorek
0b87eb71e4 Added error message about using <> without naming values. 2017-04-28 20:50:09 +02:00
Pawel Wieczorek
3ee4b64f5d Aligned tutorial 2017-04-28 20:50:09 +02:00
Pawel Wieczorek
47cb2caa75 Better expanding <> construct
The construct can be expanded in presence of named expressions. It also
works in expanding macro in context of structure construction.

nikomatsakis/lalrpop#226
2017-04-28 20:50:09 +02:00
Niko Matsakis
fa72a9d2e7 Merge pull request #218 from nikomatsakis/char-literal
add support for char-literal patterns
2017-04-26 05:32:05 -04:00
Without Boats
b5405ade75 Remove dependencies on rustc-serialize.
rustc-serialize is deprecated and is not actually used in lalrpop
right now anyway.
2017-04-22 16:22:17 -07:00
Niko Matsakis
2b434f4869 Merge pull request #221 from ruuda/rust113
Restore Rust 1.13 compatibility
2017-04-20 15:01:09 -04:00
Ruud van Asseldonk
701808e23a rename test to avoid shadowing module name
The test name matching the module name caused an error on Rust 1.13 (but
not on 1.16 and later). It can be avoided easily by renaming the test,
which also avoids ambiguity.
2017-04-19 20:14:24 +02:00
Ruud van Asseldonk
85e6cf4b3a put minimal supported Rust version in CI config 2017-04-19 20:14:18 +02:00
Ruud van Asseldonk
86b8c8ddc8 ensure everything compiles with Rust 1.13 stable
With a few slight adjustment, Rust compatibility can be increased from
1.16 onwards to 1.13 onwards. 0.13 was a regression in this regard.
2017-04-19 20:13:28 +02:00
Niko Matsakis
ed82f669fb Merge pull request #223 from minijackson/user_uses_intern_token
Add user uses in generated mod intern_token
2017-04-19 06:53:26 -04:00
Minijackson
d3607d2783
Extendto lalrpop-snap + allow unused imports + ensure internal token use in test 2017-04-17 17:24:10 +02:00
Niko Matsakis
cd39586c5d Merge pull request #222 from ravenexp/rec-ascent-priv-states
Make action and state functions private.
2017-04-17 09:13:58 -04:00
Minijackson
4ecd594e51
Add a test for a nicer pull request!
It's true because it rhymes
2017-04-17 14:18:19 +02:00
Minijackson
1b206d1665
Add user uses in generated mod intern_token (should fix #113) 2017-04-17 14:04:41 +02:00