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

Create corewars-parser-macro for inline warriors #56

Open
ian-h-chamberlain opened this issue Oct 24, 2020 · 0 comments
Open

Create corewars-parser-macro for inline warriors #56

ian-h-chamberlain opened this issue Oct 24, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ian-h-chamberlain
Copy link
Member

ian-h-chamberlain commented Oct 24, 2020

This blog explains a way to write a proc-macro crate for compile-time syntax checking of the warrior. This would be nice to have for testing so that warriors could be written inline instead of as string literals.

Gated by rust-lang/rust#54725 to use on stable (needs span information to preserve whitespace in the proc-macro).

@ian-h-chamberlain ian-h-chamberlain added the enhancement New feature or request label Oct 24, 2020
@ian-h-chamberlain ian-h-chamberlain self-assigned this Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant