On Fri, Mar 28, 2014 at 10:43 AM, Peter Marheine <[email protected]> wrote: > On Fri, Mar 28, 2014 at 9:30 AM, Jared Forsyth <[email protected]> wrote: >> Is rust's macro system powerful enough to do calculations, such that you >> would be able to guarantee that the provided patterns were exhaustive? >> From what I've seen, the macro system can mostly just do syntax expansion - >> not logic, etc. > > I haven't had occasion to work with the macro system at all, but it > looks like you're correct now that I've reviewed the docs further.
Procedural macros can do roughly anything, although as you note, real arbitrary width integers would be handy. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
