Live data from Hacker News

Show HN: A syntax-diagram generator for rust's macro_rules()

lukaslueg.github.io

1–10 of 11 posts

Re: Show HN: A syntax-diagram generator for rust's macro_rules()

#3
post #2

Try feeding the Java-ish Rust macro[0] into it, which was featured on HN last week. > Failed to parse, and I didn't even write an error-handler. Anyway: > ParseError(None) 0: https://gitlab.com/jD91mZM2/jrust/blob/master/src/lib.rs

do you mean to say there's a rust macro that lets you type java in rust? that's a horrible thing to invent! un-invent! exterminate at once!

Re: Show HN: A syntax-diagram generator for rust's macro_rules()

#4
post #3
post #2

Try feeding the Java-ish Rust macro[0] into it, which was featured on HN last week. > Failed to parse, and I didn't even write an error-handler. Anyway: > ParseError(None) 0: https://gitlab.com/jD91mZM2/jrust/blob/master/src/lib.rs

do you mean to say there's a rust macro that lets you type java in rust? that's a horrible thing to invent! un-invent! exterminate at once!

There is, sort-of, and the macro appears to kill this tool. ;)

Re: Show HN: A syntax-diagram generator for rust's macro_rules()

#5
post #2

Try feeding the Java-ish Rust macro[0] into it, which was featured on HN last week. > Failed to parse, and I didn't even write an error-handler. Anyway: > ParseError(None) 0: https://gitlab.com/jD91mZM2/jrust/blob/master/src/lib.rs

tracked in https://github.com/lukaslueg/macro_railroad/issues/5 if anyone cares

Re: Show HN: A syntax-diagram generator for rust's macro_rules()

#7
post #6

Nothing happens, and I see this in the developer console: ReferenceError: WebAssembly is not defined Does this need some kind of special browser?

Are you running the latest firefox? Works for me, but I don't see anything special about it.

Re: Show HN: A syntax-diagram generator for rust's macro_rules()

#9
post #6

Nothing happens, and I see this in the developer console: ReferenceError: WebAssembly is not defined Does this need some kind of special browser?

Are you running the latest firefox? Works for me, but I don't see anything special about it.

Yes, I'm using the latest Firefox on my update channel (ESR), namely 52.9.0. It's up to date.

Re: Show HN: A syntax-diagram generator for rust's macro_rules()

#10
post #9

Earlier quoted context omitted.

Are you running the latest firefox? Works for me, but I don't see anything special about it.

Yes, I'm using the latest Firefox on my update channel (ESR), namely 52.9.0. It's up to date.

WebAssembly is explicitly disabled on the ESR version of Firefox 52, per https://www.caniuse.com/#search=webassembly, so that would explain that.
Post reply on HN