Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rust primitive types #3393

Closed
wants to merge 3 commits into from
Closed

update rust primitive types #3393

wants to merge 3 commits into from

Conversation

rrandom
Copy link
Contributor

@rrandom rrandom commented Jul 16, 2015

add new types usize and isize.
delete deprecated types int, uint and float.
https://doc.rust-lang.org/nightly/std/index.html#primitives

@marijnh
Copy link
Member

marijnh commented Jul 17, 2015

Thanks. Merged as da42989. But note that the Rust mode in general reflects a very ancient version of Rust (early 2012). The current grammar is much more regular and can probably be expressed with a much simpler mode. I'm still waiting for the team to publish a formal grammar before I rewrite it, since I haven't touched it much since then, but if someone who's familiar with the language wants to write a simple mode for the current language, that'd be very welcome.

@marijnh marijnh closed this Jul 17, 2015
@rrandom
Copy link
Contributor Author

rrandom commented Jul 17, 2015

Oh! Really? I am just reading your source code of rust.js and trying to modify it to be adapted to current version of Rust. since It can rewrite with simple mode, it may be simpler. I will try to figure it out. btw, the grammar doc is at: https://doc.rust-lang.org/grammar.html ,but it's incomplete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants