269 Commits

Author SHA1 Message Date
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
Niko Matsakis
99e97cdff6 pass lookaround/lookbehind to action fns 2015-10-25 07:11:29 -04:00
Niko Matsakis
18502a0e57 bump version number to 0.8.0 2015-10-15 13:11:12 -04:00
Niko Matsakis
d91e27c9f1 release 0.7.0 2015-10-15 13:10:49 -04:00
Niko Matsakis
8c1625908d add release notes 2015-10-15 12:34:26 -04:00
Niko Matsakis
41048a6eac bump version number to 0.7.0 2015-10-15 12:31:47 -04:00
Niko Matsakis
2e253bad97 support unbalanced parens in code blocks that occur in // comments 2015-10-15 04:43:15 -04:00
Niko Matsakis
b95ec6a25d Skip over string literals in code constants properly. Fixes #25. 2015-10-14 17:03:09 -04:00
Niko Matsakis
798114af34 Fix main.rs link in tutorial.md. Fixes #33. 2015-10-14 05:58:10 -04:00
Niko Matsakis
9b9184ec15 Fix regular expression parsing when a . appears. Fixes #32. 2015-10-14 05:56:49 -04:00
Niko Matsakis
ae027da57e Place the implicit 'input parameter at the START of the list,
so that generic type parameters work in conjunction with the implicit
tokenizer. Fixes #34.
2015-10-13 06:22:20 -04:00
Niko Matsakis
623b36c56e adjust version numbers 2015-10-13 05:40:28 -04:00
Niko Matsakis
836fcd1259 Merge pull request #31 from dagit/windows_fixes_2
Copy brson's changes to lalrpop-snap to lalrpop and add windows times…
2015-09-28 05:39:04 -04:00
Jason Dagit
30b357530f Copy brson's changes to lalrpop-snap to lalrpop and add windows timestamp check 2015-09-27 23:12:13 -07:00
Niko Matsakis
1e5fb78d89 Merge pull request #30 from dagit/windows_fix
Add file time checking for windows (re)builds
2015-09-27 20:12:36 -04:00
unknown
221ecd8020 Add file time checking for windows (re)builds 2015-09-27 13:52:54 -07:00
Niko Matsakis
ad4d2c5967 Merge pull request #20 from brson/next
Fix build script error handling on windows
2015-09-16 17:41:08 -04:00
Brian Anderson
3f6e45e9fe Fix build script error handling on windows 2015-09-16 14:13:25 -07:00
Niko Matsakis
7c5b459870 Remove contributor message from tutorial; not that I'm not looking
around, but it seems unnecessary.
2015-09-16 06:11:19 -04:00
Niko Matsakis
308126530c add build status image 2015-09-16 06:03:36 -04:00
Niko Matsakis
a5c54133a1 adjust travis config 2015-09-16 05:51:31 -04:00
Niko Matsakis
66fb6717b9 experimental travis config 2015-09-16 05:40:54 -04:00
Niko Matsakis
64559ebece Merge pull request #19 from ahmedcharles/patch-1
Fix typo in regex.
2015-09-16 05:28:47 -04:00
Ahmed Charles
f4a921521e Fix typo in regex. 2015-09-15 22:29:15 -07:00
Niko Matsakis
564ac57d83 update version number to 0.6.1 2015-09-15 06:34:01 -04:00
Niko Matsakis
d23d71b1e1 update version number to 0.6.1 2015-09-15 06:25:38 -04:00
Niko Matsakis
c5f0351869 revert call of join in favor of connect so that things work on
stable, pending the next release
2015-09-15 06:24:52 -04:00
Niko Matsakis
37296e4ac6 update README etc to use 0.6.0 2015-09-15 06:24:46 -04:00
Niko Matsakis
1847518e36 Update snapshot. Fixes #12. 2015-09-15 06:15:40 -04:00
Niko Matsakis
011bf08c51 Walk the referenced parameters for a nominal type. Fixes #17. 2015-09-15 06:12:44 -04:00
Niko Matsakis
f389bd9346 update Rust and fix deprecation and other warnings 2015-09-15 05:42:39 -04:00
Niko Matsakis
37f5a24a99 propagate annotations from macro def to macro exp'n 2015-09-15 05:42:39 -04:00
Niko Matsakis
5163777bc5 add annotations, but right now they all result in an error 2015-09-15 05:42:39 -04:00
Niko Matsakis
0ccdd54fe2 Merge pull request #16 from ahmedcharles/patch-1
Fix section three with the code from the file.
2015-09-15 05:30:47 -04:00
Ahmed Charles
b10527ddfb Fix section three with the code from the file. 2015-09-15 00:25:38 -07:00