Brendan Zabarauskas
701d609500
Run rustfmt on entire codebase
2018-03-01 16:50:36 +11:00
Ahmed Charles
3f6bd2a00e
Change parse_X to XParser::parse.
2018-02-15 10:25:29 +00:00
Ahmed Charles
b4de8d47a0
Fix warning when building calculator.
2018-02-07 15:00:38 +00:00
Niko Matsakis
df38c3e2ae
update all version numbers to 0.14.0
2018-01-24 05:53:03 -05:00
Joeri van Ruth
5c7f81b821
Move internal token to __intern_token.
...
Re-export it at the toplevel because client visible types
use it.
2017-10-05 16:54:45 +02:00
Joeri van Ruth
9d38aa4722
Use a Display'able token type in the internal tokenizer
2017-10-05 16:54:45 +02:00
Joeri van Ruth
d4669c1226
Change one more () into &'static str
2017-10-05 16:54:45 +02:00
Niko Matsakis
dcce320a88
bump version number to 0.13.1
2017-06-16 15:49:05 -04:00
Niko Matsakis
fb9b843ed2
move to version 0.13.0
2017-04-07 05:55:42 -04:00
Niko Matsakis
e2ca68cdea
add some comments into the LALRPOP file
2017-04-04 06:29:14 -04:00
Niko Matsakis
248c752f62
extend the tutorial to explain lexing vs parsing
2017-04-04 06:24:38 -04:00
Nathan Lilienthal
5fb5c638bc
Remove and ignore generated files.
2017-03-30 13:11:27 -07:00
king6cong
e570f44427
unify dep info
...
adjust doc cargo.toml so that publish.sh correctly unify dep version
2017-03-06 00:10:53 +08:00
Ahmed Charles
8c18b80841
Upgrade various packages to their latest versions.
2017-03-01 16:57:28 -08:00
Niko Matsakis
0705f422e7
remove DFA codegen and replace with regex-set
2017-02-27 10:12:39 -05:00
Niko Matsakis
826be9555c
publish 0.12.5
2017-02-11 08:19:16 +01:00
Niko Matsakis
a3144a1b88
publish 0.12.4
2016-11-29 14:47:11 -05:00
Niko Matsakis
ec63b4e8a7
publish 0.12.3
2016-11-29 13:51:21 -05:00
Niko Matsakis
69acad349d
release 0.12.2
2016-11-29 13:51:21 -05:00
Markus Westerlind
18b179660b
Use !
instead of error
to indicate error recovery
2016-11-22 23:03:56 +01:00
Markus Westerlind
6bf1c9e940
Store the tokens dropped during error recovery in the produced type
2016-11-22 22:37:19 +01:00
Niko Matsakis
fe854cc7fc
update tutorial wording, rm calculator6
2016-11-22 22:36:10 +01:00
Markus Westerlind
0811555dd4
Add basic documentation for error recovery
2016-11-22 22:36:10 +01:00
Markus Westerlind
ea31f3cdda
Merge the generation of error recovery as much as possible
...
The generated code is still duplicated but overall it is a miniscule
amount of code.
2016-11-22 22:36:10 +01:00
Markus Westerlind
80603e1e28
fix: Perform all reductions before shifting in error recovery
...
This fixes a problem in the newly added calculator7 test where error recovery would remove everything before the comma in `22 * 44 + 66, *3` as there would be no shift at that point. By first reducing the first expression the parser ends up in a state which properly has recovery installed and parsing can resume
2016-11-22 22:36:10 +01:00
Niko Matsakis
a02f7c533b
fix workspace in Cargo.toml for calculator
2016-08-16 19:44:35 -04:00
Niko Matsakis
0411ca9d48
update version numbers to latest published release
2016-08-05 07:35:19 -04:00
Ashley Williams
27a3003da4
fix spacing and add trailing commas to calc3 example
2016-06-29 13:55:03 -04:00
Niko Matsakis
969586b960
Bump the release number to 0.11.0
2016-02-28 05:36:50 -05:00
Niko Matsakis
9e5d0be696
Publish version 0.10
2016-02-19 05:50:21 -05:00
Niko Matsakis
149bfdbb00
repair damage done by public script
2016-01-23 12:35:39 -05:00
Niko Matsakis
eea6b63e71
Release version 0.9.0.
2016-01-23 11:43:36 -05:00
Niko Matsakis
d91e27c9f1
release 0.7.0
2015-10-15 13:10:49 -04:00
Niko Matsakis
623b36c56e
adjust version numbers
2015-10-13 05:40:28 -04:00
Niko Matsakis
564ac57d83
update version number to 0.6.1
2015-09-15 06:34:01 -04:00
Niko Matsakis
37296e4ac6
update README etc to use 0.6.0
2015-09-15 06:24:46 -04:00
Niko Matsakis
d79c37dd92
rework Cargo.toml in tutorial to reference crates.io, and adjust publish
...
script to tweak version number given in the tutorial so it stays up to
date
2015-09-11 07:29:47 -04:00
Niko Matsakis
0a8f00797f
add tests
2015-09-11 06:34:39 -04:00
Niko Matsakis
3510ba7e0c
add space
2015-09-11 06:32:38 -04:00
Niko Matsakis
9b556fd064
tweak wording
2015-09-11 06:30:40 -04:00
Niko Matsakis
4b8ff6e6a5
extend tutorial to cover macros
2015-09-11 06:29:10 -04:00
Niko Matsakis
cf73e590f2
add an example of building an AST
2015-09-11 06:08:20 -04:00
Niko Matsakis
617d06d7bd
initial stab at a tutorial
2015-09-10 09:53:57 -04:00