Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax: Accept more characters in function names #1200

Open
langston-barrett opened this issue Apr 30, 2024 · 0 comments
Open

syntax: Accept more characters in function names #1200

langston-barrett opened this issue Apr 30, 2024 · 0 comments
Labels

Comments

@langston-barrett
Copy link
Contributor

I recently encountered a situation in which I wanted to scan a Crucible-LLVM-syntax file for declares to decide which LLVM overrides to register. However, I realized that the S-expression syntax makes it impossible to declare functions with names matching various LLVM intrinsics, e.g. llvm.memset.p0i8.i64, because they contain ., which is lexically invalid as part of function names. This is odd, because internally, Crucible represents function names as plain Text, meaning there is no necessary reason to forbid additional characters. We should probably allow more characters in the syntax so that it can express more valid Crucible CFGs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant