Y
Hacker News
new
|
ask
|
show
|
jobs
by
pcwalton
4281 days ago
Rust can.
1 comments
tuxychandru
4281 days ago
Are you referring to compiler plugins like the one providing regex! macro or is it something else?
link
wycats
4281 days ago
Yes, compiler plugins. For a relevant example, check out the Rust docopt crate[1].
An identical technique could be used for yacc or protobufs.
[1]:
https://github.com/docopt/docopt.rs
link