Note that there's Rust support for Ragel (https://github.com/erickt/ragel), so you can just use that. It's much easier than writing out your state machines by hand.
On Sun, Mar 23, 2014 at 1:18 PM, Patrick Walton <[email protected]> wrote: > On 3/23/14 9:04 AM, Clark Gaebel wrote: >> >> I think the biggest case for gotos is jumping out of nested loops. Does >> rust have a nice way of doing that yet? > > > There's labeled break and continue. Use `'foo:` to denote a label. (The > reason that we use lifetime syntax there is that eventually it may be > possible to denote lifetimes explicitly using labels.) > > Patrick > > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev -- http://octayn.net/ _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
