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
Markus Westerlind
669f883743
Merge pull request #487 from Michael-F-Bryan/module-visiblity
...
Update lalrpop_mod!() to match on any $vis pattern
2019-11-29 18:42:46 +01:00
Markus Westerlind
c531b74798
Merge pull request #489 from liigo/patch-1
...
fix Gleam grammar link
2019-11-20 10:34:21 +01:00
Liigo Zhuang
1e0df8f4d3
fix Gleam grammar link
2019-11-20 10:13:56 +08:00
Michael Bryan
ded43426c3
Update lalrpop_mod!() to match on any $vis pattern, not just pub
or private
2019-11-02 17:37:22 +08:00
Daniel Kahn Gillmor
5abb222fbf
try to make lalrpop depend on a more recent version of the unicode-xid crate
2019-10-22 20:21:15 -04:00
Markus Westerlind
4d7874dc9a
Merge pull request #482 from dmweis/patch-1
...
Fix typo
2019-09-17 02:53:40 -07:00
David Weis
4efeb134b0
Fix typo
2019-09-17 01:22:41 +01:00
Markus Westerlind
ad1e136003
Merge pull request #481 from guanqun/patch-1
...
Add link for issues
2019-09-16 11:57:47 -07:00
guanqun
9e7ae82505
Add link for issues
...
save one click for people :)
2019-09-16 23:48:11 +08:00
Markus Westerlind
7ccc0b6527
Merge pull request #479 from Marwes/0.17.2
...
Version 0.17.2
2019-08-21 22:10:09 +02:00
Markus Westerlind
7eb9261e1c
Version 0.17.2
0.17.2
2019-08-21 21:07:59 +02:00
Markus Westerlind
b4a815cf8d
Merge pull request #473 from CreepySkeleton/mut
...
Add support for <mut x:X> allowing for mutable x in action code.
2019-08-21 20:08:54 +02:00
CreepySkeleton
87c22efb6e
Document the contributing process
2019-08-21 19:24:15 +03:00
CreepySkeleton
14eeff42a5
Allow <mut name:E> in patterns
2019-08-21 19:24:15 +03:00
Ahmed Charles
2bd51e0888
Add support for <mut x:X> allowing for mutable x in action code.
...
Fixes #136 .
2019-08-21 19:24:11 +03:00
CreepySkeleton
abbc3aff54
Add a link to gitter lobby
...
It's surprisingly hard to google it when you don't know about it at all.
2019-07-09 17:31:14 +02:00
Markus Westerlind
f10b833634
Version 0.17.1 ( #471 )
2019-06-24 20:04:22 +02:00
Markus Westerlind
cba3a7463c
fix: Accept dyn Trait
as a type ( #469 )
...
* refactor: Run rustfix
* fix: Accept `dyn Trait` as a type
Rust has started warning about trait objects without dyn on nightly.
* fix: Accept Fn(A, B) -> Type as a type
* Fixup `dyn Trait` and `dyn Fn()` in tests
2019-06-24 18:42:09 +02:00
Ivan Enderlin
57f72944e3
doc(api) Fix intern_token
example ( #468 )
...
A very small fix. Thanks for the documentation!
2019-06-18 18:17:17 +02:00
Mr-Andersen
a879a3bd73
Added RustPython to README in Example Uses section
2019-06-12 12:52:18 +02:00
Markus Westerlind
8dd1631682
Version 0.17.0 ( #462 )
...
* Version 0.17.0
* Wait for lalrpop-util to be published
2019-05-08 10:16:49 +02:00