John-John Tedro
5b8cf548f7
Convert existing documentation to mdbook
2018-01-31 12:34:59 +01:00
johannes
71df807949
update version strings in README.md and doc/tutorial.md to 0.14.0
2018-01-24 17:25:28 +01:00
Niko Matsakis
df38c3e2ae
update all version numbers to 0.14.0
2018-01-24 05:53:03 -05:00
Niko Matsakis
a83d4f9cce
Merge pull request #274 from pyfisch/patch-1
...
Add example with funky expression and tupels
2018-01-24 05:19:43 -05:00
Pyfisch
e3d1370089
Add missing comma in tutorial
...
closes #219
2017-10-29 20:57:24 +01:00
Pyfisch
f7e83a3f4a
Add example with funky expression and tupels
...
closes #83
2017-10-29 18:48:54 +01:00
Niko Matsakis
01ccd43789
Merge pull request #254 from joerivanruth/transform-parse-error
...
Make ParseError Displayable
2017-10-15 05:47:15 -04: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
Michael Howell
424e22c5fb
Fix the "no-commas" example code
...
It translated `<e:T?>` into `e?`, when it should've been `T?`.
`<e:T?>` is a nonterminal bound to the name, `T?` is a nonterminal bound to no name, and `e?` is meaningless.
2017-10-01 21:25:10 -07:00
Nicholas Farshidmehr
59d152fa59
Add missing back-tick in tutorial.
2017-08-01 15:54:26 -04:00
Niko Matsakis
735eb8779f
update README and tutorial
2017-06-16 15:54:50 -04:00
Niko Matsakis
dcce320a88
bump version number to 0.13.1
2017-06-16 15:49:05 -04:00
Niko Matsakis
ee32a10dd7
tweak text of tutorial; eliminate redundant paragraph
2017-05-03 04:35:02 -04:00
Pawel Wieczorek
523635eacc
Fixes after review
2017-04-28 22:12:03 +02:00
Pawel Wieczorek
3ee4b64f5d
Aligned tutorial
2017-04-28 20:50:09 +02:00
Pawel Wieczorek
47cb2caa75
Better expanding <>
construct
...
The construct can be expanded in presence of named expressions. It also
works in expanding macro in context of structure construction.
nikomatsakis/lalrpop#226
2017-04-28 20:50:09 +02:00
Niko Matsakis
3037d7637b
publish 0.13.0
2017-04-07 06:36:53 -04:00
Niko Matsakis
fb9b843ed2
move to version 0.13.0
2017-04-07 05:55:42 -04:00
Niko Matsakis
30570e4cd3
update version.sh script to affect doc
contents
2017-04-07 05:52:18 -04:00
Niko Matsakis
c15a0154a1
more minor fixes to tutorial
2017-04-05 09:31:37 -04:00
Niko Matsakis
8842bed1ab
remove excess text
2017-04-05 09:27:08 -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
Federico Mena Quintero
c2118466de
tutorial.md: Fix grammar and make a picture more legible
2017-03-21 21:02:38 -06:00
Federico Mena Quintero
c6bfeb80c3
tutorial: Use the same suggested version for the regex crate as in the toplevel README.md
2017-03-21 20:35:17 -06: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
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