I have added basic let destructuring so that the `lexer.rs` transpiles
completely and it works for the HEAD[1] at the moment (I am working on
last year's copy). Earlier, few statements in `mod test` block were
not supported.

I will now work on accuracy and functionality of the generated code,
so that lexer.rs can be automatically translated to a working
JavaScript code with minimum hints and glue code.

Again, I have tested on Firefox 26 only.

[1] https://raw.github.com/mozilla/rust/master/src/libsyntax/parse/lexer.rs

On 15/01/2014, Bilal Husain <[email protected]> wrote:
> http://bilalhusain.com/rust-lexer/transpile.html
>
> thoughts?
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to