Stream: t-compiler/rust-analyzer

Topic: Why needs

sasurau4 (Jan 13 2021 at 15:19, on Zulip):

In my curious, why we need xtask/src/ It seems that we could generate syntax from ungrammar without this file.

Lukas Wirth (Jan 13 2021 at 15:30, on Zulip):

Some of the things there could in theory also be generated I believe like keywords or node names, but for the majority that file is required to give things names that the grammar doesnt express. For example giving punctuations names. Then there is also the difference between keywords, contextual keywords and literals which ungrammar cannot express either .

sasurau4 (Jan 14 2021 at 11:19, on Zulip):

I see. Thanks!

Last update: Jul 29 2021 at 22:30UTC