Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

rust allows for procedural macros (basically a function that takes a token stream and returns a token stream, and yes you can do parsing in this funciton

https://doc.rust-lang.org/reference/procedural-macros.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: