524 Commits

Author SHA1 Message Date
Markus Westerlind
b9c9ea33bc Ignore .rs files generated for tests 2016-11-09 21:14:55 +01:00
Niko Matsakis
a29ca97d26 Merge pull request #151 from nikomatsakis/release-0.12.1
Release 0.12.1
2016-09-29 19:43:30 -04:00
Niko Matsakis
4764a1d286 bump version number to 0.12.1 2016-09-29 05:38:06 -04:00
Niko Matsakis
956f6222aa update release notes 2016-09-29 05:37:48 -04:00
Niko Matsakis
07d6b9b428 Merge pull request #150 from nikomatsakis/issue-144
Compute transitive closure correctly
2016-09-29 05:33:38 -04:00
Niko Matsakis
a0e6de2eb2 fix transitive closure algorithm
The old algorithm was still based in the `{Item->Token}` world and was
not handling the new mapping from `Item->TokenSet` correctly. Seems like
we should move away from `Vec<Item>` as the canonical representation and
towards `Multimap<LR0Item,Lookahead>`, but that can wait for later.
2016-09-29 04:58:06 -04:00
Niko Matsakis
ce4fdf42e2 make a test for #144 (which fails) 2016-09-29 04:58:05 -04:00
Niko Matsakis
0013c6a1ae make Multimap able to tell you if it has changed 2016-09-29 04:58:05 -04:00
Niko Matsakis
902c122e7f Merge pull request #131 from malleusinferni/master
Rough draft of lexer tutorial
2016-08-31 21:59:16 -04:00
Mako
ae20b9f0b3 Lexer tutorial: Explicit parser input example 2016-08-22 11:42:49 -04:00
Mako
0fb11ddb50 Lexer tutorial: extern can go anywhere in file 2016-08-22 11:32:59 -04:00
Mako
5b19632f2a Lexer tutorial: Iterator impl style fixes 2016-08-22 11:29:56 -04:00
Mako
84636a985f Fix filename mention in lexer_tutorial.md 2016-08-17 18:30:00 -04:00
Mako
5d6608353a Rough draft of lexer tutorial 2016-08-17 17:03:53 -04:00
Niko Matsakis
324bbf0e9d Merge pull request #129 from nikomatsakis/issue-104
allow type parameters not constained by arguments
2016-08-16 20:23:50 -04:00
Niko Matsakis
a02f7c533b fix workspace in Cargo.toml for calculator 2016-08-16 19:44:35 -04:00
Niko Matsakis
d07c355e6a install LR1 TLS earlier
Fixes #126
2016-08-16 19:30:34 -04:00
Niko Matsakis
3fc5b2d02b allow type parameters not constained by arguments
In the older code, type parameters that were not constrained by some
argument would fail to be threaded through. We now pass `PhantomData`
arguments and/or specify the type parameters manually so that this all
works out fine.

Fixes #104.
2016-08-16 07:58:04 -04:00
Niko Matsakis
17fef82dc2 Merge pull request #128 from nikomatsakis/issue-101
push "alternate" edges in one swoop
2016-08-08 06:23:51 -04:00
Niko Matsakis
125cf975e3 push "alternate" edges in one swoop
We are supposed to push all edges from a given node together.

Fixes #101.
2016-08-08 05:40:40 -04:00
Niko Matsakis
1d62b20950 Merge pull request #125 from nikomatsakis/table-driven
update version numbers to latest published release
2016-08-05 07:34:52 -04:00
Niko Matsakis
0411ca9d48 update version numbers to latest published release 2016-08-05 07:35:19 -04:00
Niko Matsakis
544cafe44a Merge pull request #124 from nikomatsakis/table-driven
bump version number to 0.12.0
2016-08-05 06:52:25 -04:00
Niko Matsakis
4ae77fc70c update README to mention Configuration 2016-08-05 05:32:29 -04:00
Niko Matsakis
7a5ffa6f20 update release notes to be more comprehensive 2016-08-05 05:27:49 -04:00
Niko Matsakis
70a438357a bump version number to 0.12.0 2016-08-05 05:20:30 -04:00
Niko Matsakis
391641d89d Merge pull request #123 from nikomatsakis/table-driven
upgrade snapshot to use table-driven parser
2016-08-04 20:58:37 -04:00
Niko Matsakis
9b10730fab upgrade snapshot 2016-08-04 13:28:01 -04:00
Niko Matsakis
dbc9cedc56 Merge pull request #122 from nikomatsakis/table-driven
Add support for table-driven parsers
2016-08-03 07:32:27 -04:00
Niko Matsakis
1462b2a649 fix pascal example 2016-08-03 06:29:50 -04:00
Niko Matsakis
334ada7f55 don't emit quite so many comments 2016-08-03 06:29:06 -04:00
Niko Matsakis
5001e137e0 do not use TLS in normalize::lower to get session 2016-08-03 06:28:52 -04:00
Niko Matsakis
faded2d169 add table-driven to release notes 2016-08-03 05:20:25 -04:00
Niko Matsakis
1da9ee7d99 enable annotations to select algorithm etc 2016-08-03 05:20:25 -04:00
Niko Matsakis
98f4159c8b add test_all that runs both ascent/table-driven
It then asserts that the results are equal.
2016-08-03 05:20:11 -04:00
Niko Matsakis
e72c397c69 use common codegen infrastructure for ascent 2016-08-03 05:20:11 -04:00
Niko Matsakis
2517a138b0 remove printlns 2016-08-02 21:46:09 -04:00
Niko Matsakis
8dd44e9739 factor codegenerator code out 2016-08-02 21:46:09 -04:00
Niko Matsakis
81a37faeb1 stop dumping out the state machine 2016-08-02 21:46:09 -04:00
Niko Matsakis
6374ddc729 implement a parse-table-driven output 2016-08-02 21:46:09 -04:00
Niko Matsakis
761faa036f Merge pull request #118 from dflemstr/master
Don't emit module-level attributes
2016-08-02 13:59:31 -04:00
Niko Matsakis
12350838ee Merge pull request #120 from larsluthman/bugfix-overlap-panic
Fix panicking bug in add_range().
2016-08-02 13:31:24 -04:00
Niko Matsakis
ef35c74d3d Merge pull request #121 from serprex/master
Replace time with std::time
2016-07-25 18:43:53 -04:00
Demur Rumed
306714dc51 Replace time with std::time 2016-07-17 03:12:28 +00:00
Lars Luthman
75d20857e6 Fix panicking bug in add_range(). 2016-07-12 04:21:06 +02:00
David Flemström
8b1d8723e1 Fully qualify lalrpop_util uses in generated code 2016-07-06 21:48:13 +02:00
David Flemström
25da66e6ca Allow unused_variables for each action function 2016-07-06 21:37:13 +02:00
Niko Matsakis
4893ddacc6 Merge pull request #116 from ashleygwilliams/calc3
fix spacing and add trailing commas to calc3 example
2016-06-29 21:24:49 +03:00
Ashley Williams
27a3003da4 fix spacing and add trailing commas to calc3 example 2016-06-29 13:55:03 -04:00
Niko Matsakis
04be5f9a8c Merge pull request #114 from nikomatsakis/lane-table
Towards lane table support
2016-06-01 05:32:06 -04:00