Commit Graph

31 Commits

Author SHA1 Message Date
Noah Lev 7a4c3d3c30 Fix some broken links
* Rename `StringReader -> Lexer`
* Remove deleted `Query` struct
* Update some internal links
2025-01-14 21:52:33 -08:00
Boxy 47a3a1d261 Reorganize the "Source Code Representation" chapters (#2142) 2024-11-21 20:28:23 +08:00
Noratrieb 58f95e3d49 minor edits 2024-09-24 20:19:59 +02:00
Tbkhi 763a2bee2f Update the-parser.md 2024-09-24 20:19:59 +02:00
Tbkhi 41c4e9c988 Update the-parser.md 2024-09-24 20:19:59 +02:00
Arthur Milchior 48fc9c1f27 Replace letters by foo, bar and buz in lexing example (#1870) 2024-01-30 04:53:07 +09:00
Yuki Okushi b46fe5900b Remove mention to lexer/parser refactoring
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-03 17:41:21 +02:00
Yuki Okushi ae90271297 Fix the link to `Parser` struct
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-08-29 20:07:51 +02:00
Tshepang Mbambo a5d21b8533 remove incorrect info (#1435) 2022-08-17 19:33:13 +09:00
Tshepang Mbambo 8194045511 make date-check more lightweight (#1394)
* make date-check lightweight

This avoids having to write the date twice when updating date-check.

Before "As of <-- 2022-07 --> July 2022"
After "As of July 2022"

* please clippy

* update date-check docs

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017

* this breaks markdown

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268

This led to a more robust regex, though making the tool more picky.
It also found a wrong date format that was missed.

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816

* accept review suggestion

This was reverted by mistake

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395

* use a more simple fn

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981

Much more clean

* nit

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* avoid a failed regex

Also, test new shape

* adjust to new regex (which uses named groups)

New regex was introduced by 456008cc35

Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02 13:50:32 -07:00
Camelid 9539f6c271 Fix formatting of more date references (#1067) 2021-02-22 18:22:23 +09:00
Camelid 6e02970f7f Add lots of date-check annotations
Also added dates for things that previously said "as of now" or "as of
this writing" and cleaned up a couple of things along the way.
2021-02-03 19:29:07 -05:00
Iñaki Garay cd437dc04f Add context to dated information (#1013)
* Fixes #924 Add context to dated information

* Fixes #924 Addressed comments and some uses of 'currently'

* Update src/contributing.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Update src/salsa.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Fixes #924 Addressed comments

* Fixes #924 Fixed line lengths.

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2021-01-10 19:23:22 -03:00
Gus Wynn 2ac4ba41ef Improve link and description of entry points in parser section (#876)
This seemed to be out of date!
2020-09-12 08:49:05 +09:00
mark 89f0b60ccc fix links and names after compiler mv to compiler/ 2020-08-31 05:12:13 +02:00
mark 5f5e48f5bd SPRINKLE ALL THE THINGS 2020-05-08 09:42:27 -05:00
mark 4e3759adb8 add note about macros in parser chapter 2020-05-08 09:42:27 -05:00
Tshepang Lekhonkhobe 3c82384ac8 it is rustc_parse, not rustc_parser 2020-03-31 22:17:35 -05:00
LeSeulArtichaut 3e3f0363f5 Get rid of references to the refractored `libsyntax` crate (#598)
* Get rid of references to the refractored `libsyntax` crate

* Apply suggestions from code review

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-03 04:41:41 +09:00
Yuki Okushi f5adddc924 Fix links 2020-01-05 18:38:38 -05:00
Mark Mansi a50b8f144f update parser chapter 2019-11-12 10:28:31 -06:00
Aleksey Kladov 5b76191f95 write a short paragraph about the new lexer 2019-07-22 00:19:17 -05:00
Sébastien Duquette 399e53b8c6 Fix lines over 80 columns. 2018-08-23 21:56:35 -05:00
Sébastien Duquette f06248e4ef Rename CodeMap and FileMap to SourceMap and SourceFile.
Those types were renamed in https://github.com/rust-lang/rust/pull/52953
2018-08-23 21:56:35 -05:00
mark f2ad47f0e1 define FileMap; fix #35 2018-07-10 21:35:45 -05:00
Mark Mansi 0ae47f45f5 A few more data structures to the code index 2018-06-04 20:26:40 -05:00
Rajkumar Natarajan 041af7c28c Link to internal rustdocs#100 2018-04-06 12:17:30 -05:00
Alexander Regueiro 314bc0c525 changed hyphens to en-dashes 2018-01-30 20:14:12 -06:00
Michael Bryan d1f0ff2ed3 Mentioned the main players in the parser 2018-01-25 00:30:52 +08:00
Michael Bryan 20970b6b85 Started working on the parser chapter 2018-01-20 22:13:39 +08:00
Niko Matsakis 81d158b707 remove the `chap-NNN-` convention from file names
I don't want those showing up in the URLs.
2018-01-19 06:46:56 -05:00