303 Commits

Author SHA1 Message Date
Niko Matsakis
6b43dbce28 Add a lalrpop-exe command that you can use to run LALRPOP manually. 2016-02-01 05:24:11 -05:00
Niko Matsakis
c7aeb106ad Add a Session object and thread some logging through LALRPOP. 2016-02-01 05:24:04 -05:00
Niko Matsakis
20b2ee8e56 Merge pull request #64 from nikomatsakis/relicense
Remove outdated LICENSE file.
2016-01-28 05:43:06 -05:00
Niko Matsakis
6bc1ebb6e8 Remove outdated LICENSE file. 2016-01-28 05:42:30 -05:00
Niko Matsakis
a5e107a869 Merge pull request #61 from nikomatsakis/relicense
Switch license to MIT/Apache2 instead of Unlicense
2016-01-28 05:41:35 -05:00
Niko Matsakis
728654dfa2 Switch license to MIT/Apache2 instead of Unlicense, in an effort to be
more uniform with the rest of the Rust ecosystem, and to evade the
various legal quandries associated with the concept of "public domain".
2016-01-24 04:52:05 -05:00
Niko Matsakis
b311a988c2 Merge pull request #60 from nikomatsakis/release-0.9.0
Release 0.9.0 and begin version 0.10.
2016-01-23 13:48:26 -05:00
Niko Matsakis
149bfdbb00 repair damage done by public script 2016-01-23 12:35:39 -05:00
Niko Matsakis
f0e0c2a91c fix bug in publish script that messed up dependencies 2016-01-23 12:35:30 -05:00
Niko Matsakis
a1f343039c add calculator tutorial to the travis config 2016-01-23 12:35:17 -05:00
Niko Matsakis
01ae27afe8 Bump to version 0.10.0 (in progress). 2016-01-23 11:45:29 -05:00
Niko Matsakis
eea6b63e71 Release version 0.9.0. 2016-01-23 11:43:36 -05:00
Niko Matsakis
e203016952 Merge pull request #59 from nikomatsakis/new-version
Bump version to 0.9.0
2016-01-23 11:41:21 -05:00
Niko Matsakis
2a95803383 Bump version to 0.9.0 2016-01-23 11:39:03 -05:00
Niko Matsakis
2ef8ad797e Update RELEASES.md with info about what has changed since 0.8 2016-01-23 11:37:02 -05:00
Niko Matsakis
8fafb028f5 Merge pull request #50 from nikomatsakis/new-snapshot
Move to a new snapshot
2016-01-22 15:48:28 -05:00
Niko Matsakis
b9f80bf2c6 Remove stray println. 2016-01-22 12:30:40 -05:00
Niko Matsakis
53c7e620c9 Update snapshot. 2016-01-22 12:30:22 -05:00
Niko Matsakis
636adee662 Merge pull request #56 from nikomatsakis/issue-55
Fix inlining when inlined symbol appears multiple times in one production
2016-01-22 08:33:20 -05:00
Niko Matsakis
9a121b78a0 Fix inlining so that different appearances of the same symbol can be
inlined in multiple ways.
2016-01-22 08:16:21 -05:00
Niko Matsakis
d17fdd8127 Merge pull request #51 from shahn/remove-term-dep
Remove term dependency
2015-12-27 10:19:24 -05:00
Niko Matsakis
5f6021c54a Merge pull request #52 from shahn/e0446
Make a few lexer structs pub to fix E0446
2015-12-27 10:19:07 -05:00
Sebastian Hahn
e70b23208a Remove term dependency 2015-12-25 10:39:55 +01:00
Sebastian Hahn
1c82d88a6b Make a few lexer structs pub to fix E0446 2015-12-24 17:04:37 +01:00
Niko Matsakis
6d17ccc9e4 Merge pull request #48 from pensivearchitect/master
fix some typos in the tutorial
2015-12-19 14:00:45 -05:00
Joshua Bell
c0e508b58c fix some typos in the tutorial 2015-12-19 00:03:15 -08:00
Niko Matsakis
e3b2f31e8e Merge pull request #46 from jonas-schievink/process_cwd
Start processing at the current working directory
2015-12-14 13:01:13 -05:00
Niko Matsakis
218d6e4df9 Merge pull request #44 from fhahn/recent-nightly
Do not use (..) for empty enum variants, closes #43
2015-12-09 18:26:35 -05:00
Niko Matsakis
8bc15954c4 Merge pull request #47 from jonas-schievink/alt-oom
Fix #41 by adding a missing self.bump()
2015-12-09 08:41:07 -05:00
Jonas Schievink
fb32be50e4 Add a regression test using the code from #41 2015-12-09 13:25:02 +01:00
Jonas Schievink
90849fffcf Fix #41 by adding a missing self.bump() 2015-12-09 00:48:28 +01:00
Florian Hahn
72e50ae574 Use .join() instead of deprecated .connect() 2015-12-08 23:26:42 +01:00
Jonas Schievink
d79f8146d1 Start processing at the current working directory
Fixes #45
2015-12-08 23:04:18 +01:00
Florian Hahn
bf6be4a166 Do not use (..) for empty enum variants, closes #43 2015-12-08 21:49:20 +01:00
Niko Matsakis
474d2be12d bump up version numbers in tutorial, and fix bug in publish script 2015-11-06 04:31:16 -05:00
Niko Matsakis
018f59d94f Merge pull request #38 from shahn/drop_rand_dep
Drop rand from required dependencies
2015-10-30 06:20:37 -04:00
Sebastian Hahn
a8155ad01c Drop rand from required dependencies
The rand crate pulls in a lot of dependencies which many users of
lalrpop probably wouldn't otherwise require. It is enough to require it
to run the tests, which means using lalrpop doesn't require this
anymore.

This will come to full fruition eventually when a new lalrpop snapshot
is created, until then rand will still be pulled in.
2015-10-30 08:27:41 +01:00
Niko Matsakis
2729ee1042 Merge pull request #36 from nikomatsakis/inline
Implement inlining of nonterminals
2015-10-25 07:36:10 -04:00
Niko Matsakis
dc91cd88fa Update release notesX 2015-10-25 07:34:08 -04:00
Niko Matsakis
1fa3bc6832 remove the lowering tests because they are annoying to maintain and
don't add anything over lalrpop-test really
2015-10-25 07:11:49 -04:00
Niko Matsakis
63c9c2efc9 patch up the macro expansion test case now that * and ? are inlined 2015-10-25 07:11:48 -04:00
Niko Matsakis
f125c75926 fix tests 2015-10-25 07:11:48 -04:00
Niko Matsakis
ddadce60fb refashion inlining so that it actually works, and also factor out action
code into its own file, rather than embedding strings all over the place
2015-10-25 07:11:48 -04:00
Niko Matsakis
7329aa8be7 implement first draft at inlining, add a simple test 2015-10-25 07:11:29 -04:00
Niko Matsakis
70787e268c write scaffolding for actually doing inlining 2015-10-25 07:11:29 -04:00
Niko Matsakis
3eb40dcec8 check that pub items are not marked inline 2015-10-25 07:11:29 -04:00
Niko Matsakis
015450c275 implement check for cyclic inlines, and determine proper order to
do the inlining in
2015-10-25 07:11:29 -04:00
Niko Matsakis
9383e3e948 move annotations into repr::grammar 2015-10-25 07:11:29 -04:00
Niko Matsakis
7648a9214f simplify the grammar model so that all actions are just action fns; move
the lookahead/lookbehind action code into lower
2015-10-25 07:11:29 -04:00
Niko Matsakis
263717b3e8 compute the prefix from the input source text, rather than scouring the
grammar; this way it is available during normalization
2015-10-25 07:11:29 -04:00