Skip to content

Conversation

@c42f
Copy link
Member

@c42f c42f commented Aug 2, 2024

Unadorned backtick command syntax was prematurely lowered to a macrocall in the parser with the core_@cmd macro name. Remove this special macro name (almost the last of the special zero-width tokens to be removed!) and rely instead on the presence of unadorned cmdstring to do the lowering to a Core.@cmd call later during Expr conversion.

Also some clean up Kinds, grouping them more sensibly and removing the obsolete kinds K"core_@int128_str" K"core_@uint128_str" K"core_@big_str".

Fix #438

Unadorned backtick command syntax was prematurely lowered to a macrocall
in the parser with the `core_@cmd` macro name. Remove this special macro
name (almost the last of the special zero-width tokens to be removed!)
and rely instead on the presence of unadorned `cmdstring` to do the
lowering to a `Core.@cmd` call later during Expr conversion.

Also some clean up `Kind`s, grouping them more sensibly and removing the
obsolete kinds `K"core_@int128_str"` `K"core_@uint128_str"` `K"core_@big_str"`.
@c42f c42f merged commit d2e61f0 into main Aug 2, 2024
@c42f c42f deleted the caf/cmd-later-lowering branch August 2, 2024 04:43
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
Unadorned backtick command syntax was prematurely lowered to a macrocall
in the parser with the `core_@cmd` macro name. Remove this special macro
name (almost the last of the special zero-width tokens to be removed!)
and rely instead on the presence of unadorned `cmdstring` to do the
lowering to a `Core.@cmd` call later during Expr conversion.

Also some clean up `Kind`s, grouping them more sensibly and removing the
obsolete kinds `K"core_@int128_str"` `K"core_@uint128_str"` `K"core_@big_str"`.
topolarity pushed a commit to JuliaLang/julia that referenced this pull request Nov 14, 2025
Unadorned backtick command syntax was prematurely lowered to a macrocall
in the parser with the `core_@cmd` macro name. Remove this special macro
name (almost the last of the special zero-width tokens to be removed!)
and rely instead on the presence of unadorned `cmdstring` to do the
lowering to a `Core.@cmd` call later during Expr conversion.

Also some clean up `Kind`s, grouping them more sensibly and removing the
obsolete kinds `K"core_@int128_str"` `K"core_@uint128_str"` `K"core_@big_str"`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix premature lowering of K"core_@cmd" etc

1 participant