Zulip Chat Archive
Stream: lean4
Topic: macro escape syntax
Anders Christiansen Sørby (May 20 2022 at 08:39):
I was trying to run the lean4-alloy project by @Mac using the latest lean4, but I run into a parsing error at Alloy.C.Command.lean
`($[$doc?]? @[extern $symLit:strLit] constant $id $sig)
Producing the error
> Alloy/C/Command.lean:36:36: error: expected ']'
> Alloy/C/Command.lean:36:69: error: expected command
Is there some new escape sequence that is missing?
Sebastian Ullrich (May 20 2022 at 08:48):
strLit
is now str
Last updated: Dec 20 2023 at 11:08 UTC