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
7a9b6e7117
Only generate code for error recovery if it is used
...
Since error recovery requires cloneable tokens we avoid emitting the error recovery code unless it is actually needed. Note that this change still keeps the error terminal in the generated tables.
2016-11-23 19:44:51 +01:00
Markus Westerlind
1fe5cf46c4
Add missing path dependency on the pascal demo
2016-11-22 23:20:04 +01: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
Markus Westerlind
e055a9a480
fix: Rename "hello. " to be friendlier for windows
2016-11-18 22:15:16 +01: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
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
Niko Matsakis
1462b2a649
fix pascal example
2016-08-03 06:29:50 -04:00
Demur Rumed
306714dc51
Replace time with std::time
2016-07-17 03:12:28 +00:00
Ashley Williams
27a3003da4
fix spacing and add trailing commas to calc3 example
2016-06-29 13:55:03 -04:00
Niko Matsakis
78779edfa9
add preliminary Pascal grammar and test harness
...
Caveats: requires uppercase keywords, cannot handle
comments, somewhat dated grammar
2016-03-22 04:42:17 -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
Joshua Bell
c0e508b58c
fix some typos in the tutorial
2015-12-19 00:03:15 -08:00
Niko Matsakis
474d2be12d
bump up version numbers in tutorial, and fix bug in publish script
2015-11-06 04:31:16 -05:00
Niko Matsakis
d91e27c9f1
release 0.7.0
2015-10-15 13:10:49 -04:00
Niko Matsakis
798114af34
Fix main.rs
link in tutorial.md
. Fixes #33 .
2015-10-14 05:58:10 -04:00
Niko Matsakis
623b36c56e
adjust version numbers
2015-10-13 05:40:28 -04:00
Niko Matsakis
7c5b459870
Remove contributor message from tutorial; not that I'm not looking
...
around, but it seems unnecessary.
2015-09-16 06:11:19 -04:00
Ahmed Charles
f4a921521e
Fix typo in regex.
2015-09-15 22:29:15 -07: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
Ahmed Charles
b10527ddfb
Fix section three with the code from the file.
2015-09-15 00:25:38 -07:00
Niko Matsakis
2493b77558
include the full signature of the parse fn
2015-09-11 09:46:33 -04:00
Niko Matsakis
0705d018f1
edit tutorial text some more
2015-09-11 09:41:37 -04:00
Niko Matsakis
801ce274e6
switch to stable link names
2015-09-11 09:40:57 -04:00
Niko Matsakis
f602744511
restore link
2015-09-11 09:38:54 -04:00
Niko Matsakis
79e6ccbf9e
further experimentation
2015-09-11 09:38:37 -04:00
Niko Matsakis
a80d58806c
experiment with <a id> for more stable links
2015-09-11 09:37:51 -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
d0fc29ee47
fix irc link
2015-09-11 07:13:42 -04:00
Niko Matsakis
f4a3158d10
adjust links
2015-09-11 07:12:48 -04:00
Niko Matsakis
0932a01db0
update tutorial and readme
2015-09-11 06:50:39 -04:00
Niko Matsakis
9b3462c5e1
indicate topics yet to be covered
2015-09-11 06:40:25 -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