925 Commits

Author SHA1 Message Date
dylan_DPC
d673c84fb7 other 0.15.2 -> 0.16.0 change 0.16.0 2018-09-04 00:03:04 +05:30
dylan_DPC
b15fedcfd9 bumped version
update release docs
2018-09-03 21:26:35 +05:30
dylan_DPC
167d50ac24 bump petgraph to 0.4.13 2018-09-01 02:13:12 +05:30
Markus Westerlind
dc42bff787
Merge pull request #399 from Marwes/issue_394
fix: Don't generate reduce actions which do not fit in the integer size
2018-08-29 19:08:35 +02:00
Markus Westerlind
947765ef59 fix: Don't generate reduce actions which do not fit in the integer size 2018-08-29 08:42:01 +02:00
Markus Westerlind
1eac726aad
Merge pull request #398 from Marwes/attribute_lalrpop_mod
feat: Allow attributes to be specified in lalrpop_mod!
2018-08-29 08:41:21 +02:00
Markus Westerlind
bfa20cd896 Fix travis by updating minimum rustc and doing cargo update 2018-08-29 00:04:57 +02:00
Markus Westerlind
1cc15c2088 feat: Allow attributes to be specified in lalrpop_mod!
Seems to be intentional that attributes on the macro invocation does not
work so we instead allow attributes inside it.

https://github.com/rust-lang/rust/issues/28284
2018-08-27 23:58:58 +02:00
Markus Westerlind
b87e606372
Merge pull request #385 from snsmac/regex_syntax_0.6
Update regex_syntax to 0.6.0
2018-07-01 21:14:10 +02:00
jr
0e6611928a Remove comment at wrong position 2018-06-21 00:16:46 +02:00
jr
567973afd0 Fix compilation for 1.20 2018-06-20 23:58:02 +02:00
jr
737d4d1b41 Update regex_syntax to 0.6.0 2018-06-20 21:46:13 +02:00
Markus Westerlind
b01b032622
Merge pull request #375 from Marwes/regex
feat: Update to regex 1.0
2018-06-05 11:02:55 +02:00
Markus Westerlind
5766e5f3c2
Merge pull request #353 from ayosec/outdir-280
Generate files in OUT_DIR
2018-06-05 10:54:47 +02:00
Ayose
c200f10ad8 Remove dead code for unused attribute 2018-06-01 02:13:42 +01:00
Ayose
f937d812c6 Return an error when OUT_DIR is not available 2018-06-01 02:13:42 +01:00
Ayose
2060b3e085 Remove unnecessary entries in .gitignore 2018-06-01 02:13:42 +01:00
Ayose
6469cde9af Define public modules in lalrpop_mod macro 2018-06-01 02:13:14 +01:00
Ayose
fb6f9d796f Ignore example in the documentation of the lalrpop_mod macro 2018-06-01 02:13:14 +01:00
Ayose
bdea00f436 Update the book with the changes on the generate file paths 2018-06-01 02:13:14 +01:00
Ayose
4640004b92 Explanation of the lalrpop_mod macro 2018-06-01 02:13:14 +01:00
Ayose
7dc816b98c Option to keep output files in source tree 2018-06-01 02:13:14 +01:00
Ayose
e7db1ee2e2 Generate files in OUT_DIR by default
The macro lalrpop_mod! can be used to define the mod with the generated code.
2018-06-01 02:13:14 +01:00
Christoph Hegemann
867938d6ee Typo fix in tutorial 2018-05-22 14:19:01 +05:30
Markus Westerlind
139a767c18 Update to regex 1.0 2018-05-08 21:22:33 +02:00
Markus Westerlind
0e48a4f178
Merge pull request #374 from Eijebong/atty
Update atty to 0.2, bit-set to 0.5 and ena to 0.9
2018-05-07 20:18:48 +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
a93aa095ee
Merge pull request #371 from Marwes/version_0_15_2
Update RELEASES.md for version 0.15.2
2018-05-03 19:05:23 +02:00
Niko Matsakis
dc9b8994f1
Merge pull request #372 from sanxiyn/cargo-lock
Regenerate Cargo.lock
2018-05-02 05:23:33 -04:00
Seo Sanghyeon
da22b96e97 Regenerate Cargo.lock 2018-05-01 13:55:38 +09:00
Markus Westerlind
62c6fd4aaf Bump version to 0.15.2 0.15.2 2018-04-29 13:22:30 +02:00
Markus Westerlind
f1258b2b44 chore: Remove the unused lalrpop-intern crate 2018-04-29 13:22:04 +02:00
Markus Westerlind
d50209b9cd Update RELEASES.md for version 0.15.2 2018-04-28 12:28:06 +02:00
Markus Westerlind
dfd08d73a4
Merge pull request #355 from matklad/it-is-rust-and-not-c-plus-plus
Make semicolon after `}` in rules optional
2018-04-28 12:19:16 +02:00
Markus Westerlind
c223c1dbd7
Merge pull request #369 from psl8/master
Use hash to decide whether to recompile
2018-04-28 12:18:04 +02:00
Patrick Loughney
9a7b4d3453 Use hash to decide whether to recompile
Computes the SHA256 hash of the lalrpop file and compares it to a
comment in the generated Rust file

Closes #347
2018-04-26 23:58:49 -04: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
Markus Westerlind
d86c7cfdb8 Snapshot so lalrpop-snap gets compiled as a fast reduce function 2018-04-26 23:49:22 +05:30
Markus Westerlind
59b29acad4 Snapshot so lalrpop gets compiled as a fast reduce function 2018-04-26 23:49:22 +05:30
Markus Westerlind
f74f2915cf Emit the reduce functions outside of reduce
Cleans up `reduce` and avoids a potential problem with type parameters
shadowing eachother.
2018-04-26 23:49:22 +05:30
Markus Westerlind
c16b851101 fix: Improve compile times by reducing the size of the reduce actions 2018-04-26 23:49:22 +05:30
David Tolnay
2694da775d Clarify 0.15 upgrade instructions
The X in `parse_X` is not the same X as in `X::new()` -- for example in
my code I needed to go from `parse_Expr` to `ExprParser::new()`.
2018-04-09 11:03:23 +05:30
Niko Matsakis
7060a60d82
Merge pull request #361 from lalrpop/release/0.15.1
release 0.15.1
0.15.1
2018-04-05 04:31:42 -04:00
dylan_DPC
099827d55d release 0.15.1 2018-04-04 23:42:51 +05:30
Niko Matsakis
f0847ceafd
Merge pull request #359 from matklad/caret-precedence
Correctly anchor regex at the begining
2018-04-04 13:47:51 -04:00
Aleksey Kladov
fa596a367a Correctly anchor regex at the begining
^foo|bar is (^foo)|bar, and not ^(foo|bar). Adding parens should
fix it.

closes #358
2018-04-04 12:55:40 +03:00
Aleksey Kladov
74340d27eb Make semicolon after } in rules optional 2018-03-31 18:40:19 +03:00
Markus Westerlind
0d1d3b4cf2
Merge pull request #356 from 17cupsofcoffee/update-docs-for-0.15
Update docs for 0.15
2018-03-31 01:04:35 +02:00