<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_lexer/src, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-22T19:10:41+00:00</updated>
<entry>
<title>Fix a crash/mislex when more than one frontmatter closing possibility is considered</title>
<updated>2025-09-22T19:10:41+00:00</updated>
<author>
<name>Alex</name>
<email>huangalex409@gmail.com</email>
</author>
<published>2025-09-22T19:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d18c886f5754258109fad2e1e0c3bcca0cc9fa5'/>
<id>urn:sha1:2d18c886f5754258109fad2e1e0c3bcca0cc9fa5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(lexer): Only allow horizontal whitespace in frontmatter</title>
<updated>2025-09-02T01:51:39+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-28T20:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f0da976c5f422ff5b1124d409e7d7e063fc4225'/>
<id>urn:sha1:6f0da976c5f422ff5b1124d409e7d7e063fc4225</id>
<content type='text'>
In writing up the reference for frontmatter, I realized that we probably
shouldn't be accepting Unicode Line Ending characters between the code
fence and infostring or trailing after the infostring or a code fence.

In digging into the unicode specification we use for Whitespace, it
divides it up into categories, so I'm deferring to what it says for
horizontal whitespace for what should be used within a line.

Note, I am leaving out support for Unicde Default Ignorable characters.
I figure that can be discussed outside of this change within the
reference and tracking issue.</content>
</entry>
<entry>
<title>docs(lexer): Organize and document whitespace by Pattern_White_Space</title>
<updated>2025-09-02T01:51:39+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-28T19:18:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=428e413414e0719a7758676ac49e07b85eb86dec'/>
<id>urn:sha1:428e413414e0719a7758676ac49e07b85eb86dec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(lexer): Don't require frontmatters to be escaped with indented fences</title>
<updated>2025-08-28T19:08:33+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-22T15:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=142e25e35621b7043cc86bdc3d74f463ca2032d1'/>
<id>urn:sha1:142e25e35621b7043cc86bdc3d74f463ca2032d1</id>
<content type='text'>
The RFC only limits hyphens at the beginning of lines and not if they
are indented or embedded in other content.

Sticking to that approach was confirmed by the T-lang liason at
https://github.com/rust-lang/rust/issues/141367#issuecomment-3202217544

There is a regression in error message quality which I'm leaving for
someone if they feel this needs improving.
</content>
</entry>
<entry>
<title>fix(lexer): Allow '-' in the infostring continue set</title>
<updated>2025-08-22T14:26:19+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-22T14:26:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f43f974b9e14af328b7982d6320cc4d7a9104410'/>
<id>urn:sha1:f43f974b9e14af328b7982d6320cc4d7a9104410</id>
<content type='text'>
This more closely matches the RFC and what our T-lang contact has asked
for, see https://github.com/rust-lang/rust/issues/136889#issuecomment-3212715312</content>
</entry>
<entry>
<title>test(lexer): Add frontmatter unit test</title>
<updated>2025-07-10T15:25:29+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-07-10T15:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df53b3dc04950d980bd28ec4b04f48cd0cd01237'/>
<id>urn:sha1:df53b3dc04950d980bd28ec4b04f48cd0cd01237</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(lexer): Allow including frontmatter with 'tokenize'</title>
<updated>2025-07-09T21:42:27+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-07-09T21:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=45a1e492b1adfc6f7664d1da736dff147e5c3168'/>
<id>urn:sha1:45a1e492b1adfc6f7664d1da736dff147e5c3168</id>
<content type='text'>
</content>
</entry>
<entry>
<title>setup CI and tidy to use typos for spellchecking and fix few typos</title>
<updated>2025-07-03T07:51:06+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2024-12-07T10:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c76d032f0144b650a438ee1efba89c475e0b115b'/>
<id>urn:sha1:c76d032f0144b650a438ee1efba89c475e0b115b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_lexer: typo fix + small cleanups</title>
<updated>2025-06-06T13:08:16+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-06-06T13:06:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a5225a369e87ebaac3d34583603479064e2623d'/>
<id>urn:sha1:2a5225a369e87ebaac3d34583603479064e2623d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix parsing of frontmatters with inner hyphens</title>
<updated>2025-06-04T15:51:36+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2025-06-04T15:51:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=55f59fb0e329d0815a06d51dd469d774eb455cba'/>
<id>urn:sha1:55f59fb0e329d0815a06d51dd469d774eb455cba</id>
<content type='text'>
</content>
</entry>
</feed>
