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
Sergey Kvachonok
49e71cc3b1
Make action and state functions private.
...
Generated recursive ascent parser contains public functions
for every state and every action.
Only the top level state function(s) must be public.
2017-04-13 13:56:46 +03:00
Niko Matsakis
0f25622dbc
add support for char-literal patterns
2017-04-12 05:32:07 -04:00
Niko Matsakis
3037d7637b
publish 0.13.0
v0.13.0
2017-04-07 06:36:53 -04:00
Niko Matsakis
2d3de75fcf
Merge pull request #216 from nikomatsakis/release-0.13.0
...
Release 0.13.0
2017-04-07 06:28:25 -04:00
Niko Matsakis
2f1fc3c5ae
stop tracking match_section.rs
2017-04-07 05:56:53 -04:00
Niko Matsakis
fb9b843ed2
move to version 0.13.0
2017-04-07 05:55:42 -04:00
Niko Matsakis
30570e4cd3
update version.sh script to affect doc
contents
2017-04-07 05:52:18 -04:00
Niko Matsakis
94dda2e852
update release notes for 0.13
2017-04-07 05:45:06 -04:00
Niko Matsakis
c15a0154a1
more minor fixes to tutorial
2017-04-05 09:31:37 -04:00
Niko Matsakis
834acce37e
Merge pull request #215 from nikomatsakis/match-tutorial
...
remove excess text
2017-04-05 09:30:16 -04:00
Niko Matsakis
8842bed1ab
remove excess text
2017-04-05 09:27:08 -04:00
Niko Matsakis
3f0bb90222
Merge pull request #214 from nikomatsakis/match-tutorial
...
extend the tutorial to explain lexing vs parsing
2017-04-05 09:25:20 -04:00
Niko Matsakis
ece26d35b4
Merge pull request #213 from wieczyk/report_file
...
Report generation
2017-04-04 10:22:52 -04:00
Niko Matsakis
df0292aa64
run rustfmt
2017-04-04 10:22:05 -04:00
Niko Matsakis
e2ca68cdea
add some comments into the LALRPOP file
2017-04-04 06:29:14 -04:00
Niko Matsakis
248c752f62
extend the tutorial to explain lexing vs parsing
2017-04-04 06:24:38 -04:00
Pawel Wieczorek
382491d596
Report generation
...
Bison and Menhir are able to produce very nice and helpful reports about constructed automatons. I believe it could be also very useful for LALRPOP users. I would like to have it during work on lane-table.
nikomatsakis/lalrpop#204
2017-04-04 00:24:59 +02:00
Niko Matsakis
5cb728e5bb
Merge pull request #212 from nikomatsakis/fix-lane-table-unit-test
...
Fix lane table unit test
2017-04-03 11:22:01 -04:00
Niko Matsakis
5d30989369
ignore match_section.rs
2017-04-03 05:55:57 -04:00
Niko Matsakis
fa31cf265c
stop using test.sh and instead use cargo test --all
2017-04-03 05:54:43 -04:00
Niko Matsakis
3b3c1719f7
break apart the unit
tests into two
2017-04-03 05:54:43 -04:00
Niko Matsakis
5c0d15b40f
lane table: add EOF as lookahead when reducing start terminal
2017-04-03 05:54:43 -04:00
Niko Matsakis
c489c805d0
print the set of things we are interpreting
...
makes debugging easier
2017-04-03 05:54:43 -04:00
Niko Matsakis
f924cb857d
in Lane Table mode, we use fewer states
2017-04-03 05:54:43 -04:00
Niko Matsakis
dc08834f3a
only add !
to the set of terminals of we use it
2017-04-03 05:54:43 -04:00
Niko Matsakis
007d6a810e
Merge pull request #211 from nixpulvis/ignore-doc-generated-files
...
Remove and ignore generated files.
2017-04-01 21:10:58 -04:00
Nathan Lilienthal
5fb5c638bc
Remove and ignore generated files.
2017-03-30 13:11:27 -07:00