Niko Matsakis
6efc75b2a5
Update Cargo.toml to v0.11.0
2016-02-25 14:44:11 -05:00
Niko Matsakis
729e61d4ef
Merge pull request #95 from nikomatsakis/locations-without-conflicts
...
Locations without conflicts
2016-02-25 07:51:30 -05:00
Niko Matsakis
cb53eb34f0
Fix lookahead test
2016-02-25 06:55:39 -05:00
Niko Matsakis
bcbf3c228d
update release notes
2016-02-25 05:59:32 -05:00
Niko Matsakis
a9ec498c9e
extend with some further tests where @R and @L are used in weird ways to
...
try and get assertion errors etc
2016-02-25 05:55:00 -05:00
Niko Matsakis
396b123f51
add a comment explaining how action code looks
2016-02-25 05:55:00 -05:00
Niko Matsakis
e79e2c4858
extend the loc_issue_90 test a bit more
2016-02-25 05:55:00 -05:00
Niko Matsakis
3d4d097373
stop carrying lookbehind around and just extract it from the top of the stack
2016-02-25 05:55:00 -05:00
Niko Matsakis
7e8602562e
do not pass lookahead/lookbehind to actions if there are symbols
2016-02-25 05:54:59 -05:00
Niko Matsakis
7431af506d
add a regression test for loc #90
2016-02-25 05:54:59 -05:00
Niko Matsakis
93a2a48219
enable inlining of $L and $R (and fix some bugs)
2016-02-25 05:54:59 -05:00
Niko Matsakis
cc37797eaa
package up each nonterminal as a (L, T, L) pair
2016-02-25 05:54:56 -05:00
Niko Matsakis
df60aefc30
change lookahead to be passed unconditionally
2016-02-25 05:54:56 -05:00
Niko Matsakis
68c79f79f2
change lookbehind to stop passing around an option everywhere
2016-02-25 05:54:56 -05:00
Niko Matsakis
9fc995c5f2
just pass lookahead position, not entire triple
2016-02-25 05:54:52 -05:00
Niko Matsakis
122994f530
apply rustfmt to action.rs
2016-02-24 09:26:03 -05:00
Niko Matsakis
2c9e28f56d
add spanned_type
helper
2016-02-24 09:25:48 -05:00
Niko Matsakis
64dadba6c0
Merge pull request #92 from nikomatsakis/optimize-lr1
...
Make LR(1) less naive
2016-02-24 06:22:32 -05:00
Niko Matsakis
2c531f2ffc
mention improvement in release notes
2016-02-24 06:07:28 -05:00
Niko Matsakis
5f10d65eed
add more profiling when using verbose output mode
2016-02-24 05:41:47 -05:00
Niko Matsakis
71a2e29036
compute closure for each state not each transition
2016-02-24 05:17:15 -05:00
Niko Matsakis
ddf1654ab2
make multimap generic over the kind of collection
2016-02-24 04:55:39 -05:00
Niko Matsakis
e860cecd30
move map/set/multimap from util into collections
2016-02-24 04:40:10 -05:00
Niko Matsakis
c0bfb6aba5
Make status updates appear more often
2016-02-24 04:21:45 -05:00
Niko Matsakis
3647ea657a
Merge pull request #86 from fhahn/remove-intern
...
Remove unused module `intern` from lalrpop/src
2016-02-22 13:31:12 -05:00
Niko Matsakis
f83b9afe2d
Mention regex-syntax
crate in the release notes
2016-02-22 13:14:20 -05:00
Niko Matsakis
e49939a1f2
Merge pull request #87 from nikomatsakis/regex-syntax
...
Convert to use the `regex-syntax` crate
2016-02-22 13:10:41 -05:00
Niko Matsakis
a68997a5fc
implement AnyCharNoNL correctly
2016-02-22 11:13:04 -05:00
Niko Matsakis
24f962c5cf
detect and report error for unsupported regex
2016-02-22 11:10:15 -05:00
Niko Matsakis
7cb07f97e6
Move the Test type to nfa
2016-02-21 21:08:00 -05:00
Niko Matsakis
d6d5eef928
Fix case-insensitive literals
2016-02-21 20:59:18 -05:00
Niko Matsakis
f255a56035
Move over to use regex_syntax's parser
2016-02-21 20:43:11 -05:00
Florian Hahn
4bac4a47eb
Remove unused module intern
from lalrpop/src
2016-02-22 00:02:54 +01:00
Niko Matsakis
a425b4ada2
incomplete NFA construction from regex_syntax
2016-02-20 08:28:56 -05:00
Niko Matsakis
c2cf7a74e8
tweak some unused imports
2016-02-20 08:28:48 -05:00
Niko Matsakis
96e004b20a
change re::Test to be a character range
2016-02-20 07:27:34 -05:00
Niko Matsakis
237793cdb5
code to divide overlapping ranges into disjoint sets of ranges
2016-02-20 07:03:28 -05:00
Niko Matsakis
262b2d77ff
Write tests for dfa with |
2016-02-20 06:13:39 -05:00
Niko Matsakis
04f6c44385
Merge pull request #84 from nikomatsakis/better-inline-suggestions
...
Improve the suggestions for inlining
2016-02-20 06:01:34 -05:00
Niko Matsakis
4ee33f2a14
Merge pull request #81 from nikomatsakis/publish-0.10.0
...
Publish version 0.10
2016-02-19 22:20:37 -05:00
Niko Matsakis
deabff9ea6
Improve inline suggestions
...
Inline suggestions were not triggering for the case of this Java
grammar:
```
pub ImportDecl: () = {
"import" <Path> ";" => (),
"import" <Path> "." "*" ";" => (),
};
Path: () = {
<head: Ident> <tail: ("." <Ident>)*> => ()
};
```
This commit makes the inline suggestion a lot smarter and it now catches
this scenario; but I suspect it still needs a lot of tuning. I tried to
make it only suggest if it KNOWS it will help, except for the case of
suggesting `X?`. It may be worth doing a more intense analysis.
2016-02-19 22:18:02 -05:00
Niko Matsakis
38c888daf7
Update README to tout new error messages, remove reference to
...
lalrpop-exe
2016-02-19 05:53:01 -05:00
Niko Matsakis
9e5d0be696
Publish version 0.10
2016-02-19 05:50:21 -05:00
Niko Matsakis
79fc3debbb
Merge pull request #80 from nikomatsakis/issue-57-partial-rs-file
...
Buffer output and only write to .rs file if successful
2016-02-19 05:04:42 -05:00
Niko Matsakis
a9e03641a2
Update .rs
files for tests to not have comments
2016-02-19 04:26:49 -05:00
Niko Matsakis
07fa481cf8
Add fix for #57 to release notes.
2016-02-19 04:26:32 -05:00
Niko Matsakis
088f14d674
Kill another unused import.
2016-02-19 04:25:42 -05:00
Niko Matsakis
1ccbb5685d
Build the temporary result into a buffer first
...
This avoids incomplete files. Fixes #57 .
2016-02-19 04:24:39 -05:00
Niko Matsakis
311d5d2d68
Kill some unused imports
2016-02-19 04:23:51 -05:00
Niko Matsakis
50832ba465
Disable comments unless explicitly enabled
...
I doubt anyone is reading these
2016-02-19 04:16:07 -05:00