Markus Westerlind
dd974b0b62
Version 0.18.1
0.18.1
2020-03-04 17:13:43 +01:00
Markus Westerlind
a9a775ebb8
fix: Remove eprintln which I thought were removed
2020-03-04 17:13:08 +01:00
Markus Westerlind
c044587f1d
Fix the version in RELEASE.md
0.18.0
2020-03-04 16:45:01 +01:00
Markus Westerlind
648185d3da
Mention that the lexer feature is needed
2020-03-04 16:39:59 +01:00
Markus Westerlind
df3f428e37
Version 0.18.0
2020-03-04 16:37:23 +01:00
Markus Westerlind
45ae391f3e
Add clog to version updating
2020-03-04 16:37:02 +01:00
Markus Westerlind
723678f364
Merge pull request #509 from Marwes/lexer_comment
...
feat: Allow the tokenizer to contain custom skip regexes/literals
2020-03-03 21:03:21 +01:00
Markus Westerlind
b22e892fc2
Update lrgrammar
2020-03-03 20:32:05 +01:00
Markus Westerlind
26932e85c0
Lower the required rust version
2020-03-03 20:30:43 +01:00
Markus Westerlind
4447616283
doc: Document lexer skipping
2020-03-03 20:30:43 +01:00
Markus Westerlind
ee2f7060e9
feat: Allow the tokenizer to contain custom skip regexes/literals
...
cc #14
2020-03-03 20:30:43 +01:00
Markus Westerlind
16194d5719
Update lrgrammar with MatchMapping
2020-03-03 20:30:43 +01:00
Markus Westerlind
a338f4c019
Merge pull request #510 from Marwes/shrink_generated
...
Improve the generated code slightly
2020-03-03 20:26:15 +01:00
Markus Westerlind
c156b4b2fd
feat: states does not need to be passed to reduce actions
2020-03-03 11:14:08 +01:00
Markus Westerlind
f69bce3080
feat: action does not need to be passed to reduce actions
2020-03-03 11:11:14 +01:00
Markus Westerlind
d0a3ccbacc
feat: Only generate simulate_reduce if error recovery is used
2020-03-03 11:01:56 +01:00
Markus Westerlind
781c6b4edb
refactor: Avoid matching on tokens without contents
2020-03-03 10:54:57 +01:00
Markus Westerlind
65421657bd
Remove unnecessary parens
2020-03-03 00:11:23 +01:00
Markus Westerlind
af88b698c2
Generate asserts to help LLVM
2020-03-03 00:03:18 +01:00
Markus Westerlind
9320f34bd4
refactor: Merge token to symbol alternatives
2020-03-02 23:58:24 +01:00
Markus Westerlind
a59b428694
Merge pull request #508 from Marwes/lexer
...
refactor: Move the generated lexer into lalrpop-util
2020-03-02 15:44:49 +01:00
Markus Westerlind
e2310c86f4
refactor: Move the generated lexer into lalrpop-util
...
Also puts generating a lexer under the `lexer` feature with a helpful
error message instead of implicitly requiring `regex` to be in
`Cargo.toml`
BREAKING CHANGE
Add the `lexer` feature to `lalrpop` if the generated lexer is used
Closes #373
2020-03-01 21:39:46 +01:00
Markus Westerlind
c3e1cda5c3
feat: Accept slices as types ( #507 )
...
* fix: Avoid emitting redundant parentheses
Fixes #493
* Update lrgrammar
* feat: Accept slices as types
* Update lrgrammar
2020-02-29 11:27:24 +01:00
Markus Westerlind
3746d5e3b9
Merge pull request #506 from Marwes/warnings
...
fix: Avoid emitting redundant parentheses
2020-02-29 09:47:08 +01:00
Markus Westerlind
86956c2b67
Update lrgrammar
2020-02-28 20:17:41 +01:00
Markus Westerlind
b165fc939b
fix: Avoid emitting redundant parentheses
...
Fixes #493
2020-02-28 20:08:15 +01:00
Niko Matsakis
de3360c0ee
Merge pull request #505 from HyeockJinKim/fix-link
...
Fix tutorial document link
2020-02-25 14:26:36 -05:00
Markus Westerlind
d2af4c4260
Merge pull request #504 from JustAPerson/update-regex
...
Update book to regex v1.0
2020-02-21 10:19:10 +01:00
HyeockJinKim
df662e6ddb
Fix tutorial document link
2020-02-21 15:17:03 +09:00
Jason Priest
13b2e1911d
Update book to regex v1.0
...
The v0.2 regex crate came out 3 years ago.
2020-02-20 18:25:55 -05:00
Tanuj
40e1c57dad
Fix broken .md links in tutorial index page
2020-01-20 16:16:11 +05:30
Markus Westerlind
2951c6b78b
Merge pull request #500 from seanyoung/solang
...
Add Solang to the list of examples
2020-01-13 17:17:50 +01:00
Sean Young
adfcf74c62
Add Solang to the list of examples
...
Solang uses lalrpop for parsing Solidity.
Signed-off-by: Sean Young <sean@mess.org>
2020-01-13 15:47:51 +00:00
Markus Westerlind
5eda0670cb
Merge pull request #498 from wash2/master
...
enable byte-based regular expressions #229
2020-01-07 07:37:09 +01:00
Ashley Wulber
398f09443a
use rust 1.36 in CI
2020-01-06 17:52:44 -05:00
Ashley Wulber
cae4e63b46
Merge branch 'master' of https://github.com/wash2/lalrpop
2020-01-06 17:49:06 -05:00
Ashley Wulber
f846b72f8c
add newline
2020-01-06 17:46:22 -05:00
Markus Westerlind
25e88edfe9
Merge pull request #496 from Sosthene-Guedon/doc-improvement
...
Doc improvement
2020-01-06 23:17:14 +01:00
Markus Westerlind
e3f2c7f501
Merge pull request #486 from dkg/unicode-xid-update
...
depend on a more recent version of the unicode-xid crate
2020-01-06 23:10:34 +01:00
Ash Wulber
246cb071e9
remove .vscode dir
2020-01-05 22:12:37 -05:00
Ashley Wulber
cc21b04524
remove error messages for byte literals and byte-regex, and implement
...
methods as necessary
2020-01-05 15:34:32 -05:00
Sosthène Guédon
9b24aea506
Fix compiling with version 1.32.0 of rust
2019-12-27 21:32:04 +01:00
Sosthène Guédon
85c0547658
Add more explanations
2019-12-27 18:29:46 +01:00
Sosthène Guédon
bd08b3bb14
Fix style
2019-12-27 18:09:30 +01:00
Sosthène Guédon
ad1a4f8863
Add tutorial for tokens with references
2019-12-26 23:58:47 +01:00
Sosthène Guédon
16363051e6
Add example for tokens with lifetimes
2019-12-26 22:58:42 +01:00
Sosthène Guédon
f1a8e2bd67
Finish state parameter example
2019-12-26 21:57:59 +01:00
Sosthène Guédon
a8d82ccde1
Add example grammar for state parameter
2019-12-23 23:44:14 +01:00
Sosthène Guédon
df0c7f1a8d
Add exemple for state parameters
2019-12-23 21:47:40 +01:00
Sosthène Guédon
847adbc5df
Update summary
2019-12-23 21:45:56 +01:00