39 Commits

Author SHA1 Message Date
Markus Westerlind
a8f17e6718 Version 0.19.1 2020-09-04 22:31:59 +02:00
Markus Westerlind
69aa2e09ce Bump version to 0.19 2020-05-11 23:49:25 +02:00
Markus Westerlind
11a50e70f7 fix: Don't include whitespace in the span with empty nonterminals
Empty non-terminals used to be spanned by the whitespace between the
previous and next token. If the non-terminal was the first thing in
another production this span would leak into that production, causing it
to have a to large span assigned.

This makes empty productions instead only point to the start of the
lookahead to avoid this problem.
2020-05-11 00:28:14 +02:00
Charles Lew
075150bc8e Bump dependency versions. 2020-04-19 13:06:36 +08:00
Markus Westerlind
dd974b0b62 Version 0.18.1 2020-03-04 17:13:43 +01:00
Markus Westerlind
df3f428e37 Version 0.18.0 2020-03-04 16:37:23 +01:00
Markus Westerlind
e2310c86f4 refactor: Move the generated lexer into lalrpop-util
Also puts generating a lexer under the `lexer` feature with a helpful
error message instead of implicitly requiring `regex` to be in
`Cargo.toml`

BREAKING CHANGE

Add the `lexer` feature to `lalrpop` if the generated lexer is used

Closes #373
2020-03-01 21:39:46 +01:00
Markus Westerlind
b165fc939b fix: Avoid emitting redundant parentheses
Fixes #493
2020-02-28 20:08:15 +01:00
Markus Westerlind
7eb9261e1c Version 0.17.2 2019-08-21 21:07:59 +02:00
Markus Westerlind
f10b833634
Version 0.17.1 (#471) 2019-06-24 20:04:22 +02:00
Markus Westerlind
8dd1631682
Version 0.17.0 (#462)
* Version 0.17.0

* Wait for lalrpop-util to be published
2019-05-08 10:16:49 +02:00
Markus Westerlind
6088e99082
Update ena and fix new warnings (#461)
* Update ena and fix new warnings

* Bump minimum rust version to fix docopt
2019-05-06 23:25:19 +02:00
Bastien Orivel
d384284d4e Update term to 0.5 and ascii-canvas to 2.0 (#456) 2019-04-30 18:49:31 +02:00
Markus Westerlind
27e5a0eef5 Version 0.16.3 2019-01-20 22:41:05 +05:30
Markus Westerlind
6805efedec Update dependencies 2019-01-20 17:06:11 +01:00
Niko Matsakis
548df5c9f8 bump petgraph to 0.4.14 (nightly complains?) 2018-11-29 19:57:56 +01:00
Markus Westerlind
1797a173c9 Version 0.16.2 2018-11-28 20:21:55 +01:00
Markus Westerlind
8e86f888df Version 0.16.1 2018-10-27 14:18:59 +02:00
Markus Westerlind
0a02931960 Update all dependencies
Only term is now on an old version (which depends on ascii-canvas which uses 0.4)
2018-10-27 13:30:45 +02:00
Markus Westerlind
82aa6387bd Remove lalrpop-snap 2018-10-21 14:22:00 +02:00
Markus Westerlind
fa5a4ae4a3 Update lalrpop-snap 2018-10-21 14:21:40 +02:00
dylan_DPC
d673c84fb7 other 0.15.2 -> 0.16.0 change 2018-09-04 00:03:04 +05:30
Markus Westerlind
bfa20cd896 Fix travis by updating minimum rustc and doing cargo update 2018-08-29 00:04:57 +02:00
jr
737d4d1b41 Update regex_syntax to 0.6.0 2018-06-20 21:46:13 +02:00
Markus Westerlind
139a767c18 Update to regex 1.0 2018-05-08 21:22:33 +02:00
Bastien Orivel
b1954a2453 Update ena to 0.9 2018-05-07 18:23:32 +02:00
Bastien Orivel
1e55bfac8b Update bit-set to 0.5 2018-05-07 18:12:07 +02:00
Bastien Orivel
fffa5ca306 Update atty to 0.2 2018-05-07 18:00:09 +02:00
Markus Westerlind
f1258b2b44 chore: Remove the unused lalrpop-intern crate 2018-04-29 13:22:04 +02:00
Markus Westerlind
b16795d155 chore: Commit Cargo.lock so 1.20 will build against string_cache 0.7.1 2018-04-26 23:49:22 +05:30
Niko Matsakis
d82b794bbe Move lalrpop code into a subdirectory 2015-06-24 05:53:24 -07:00
Niko Matsakis
13bc31f0ee add a random parse tree generation facility, use it to provide random inputs 2015-06-20 18:02:52 -04:00
Niko Matsakis
f282b943ba normalize away all repeat actions in macro expansion 2015-06-17 17:16:44 -04:00
Niko Matsakis
411c1be63f Add a macro facility and add the ability to escape out so we can
write some tests for the intermediate results.
2015-06-15 19:01:40 -04:00
Niko Matsakis
5283f62df7 Add support for conditions 2015-06-15 16:58:59 -04:00
Niko Matsakis
30e3274477 Playing around with examples, syntax, etc 2015-06-15 06:42:56 -04:00
Niko Matsakis
fb57e6295a Parser builds 2015-06-13 21:10:40 -04:00
Niko Matsakis
476c115293 Expand def'n, add some parsing 2015-06-12 15:41:06 -04:00
Niko Matsakis
ce6a58de65 Start playing around with how tokens might be specified 2015-06-12 09:49:37 -04:00