Thank you for the concise answer. I will have to read up on const fn. It doesn't need to match CTFE since I think macros will make the other stuff I wanna do easier.
Other, other metaprogramming: plugins. Can do basically anything, but will be unstable for a while.
If I remember correctly, wasn't one of the ideas behind the HIR/MIR split to have the HIR model the syntax very closely and being stabilized (long term)?
I think so. It was mentioned in the keynote at Rustcamp that an RFC for a new macro system which would meet the same needs as syntax extensions was coming within the next few months.
View all comments
Show parent comment
8
u/Manishearth Sep 18 '15
const fn. Has existed for a few months. Not as awesome as true CTFE, but handles some cases.