language-rust icon indicating copy to clipboard operation
language-rust copied to clipboard

Parser and pretty-printer for the Rust language

Results 18 language-rust issues
Sort by recently updated
recently updated
newest added

This line in the lexer: https://github.com/harpocrates/language-rust/blob/9d509c450d009cc99f1180b3f2f30247dfb1cfce/src/Language/Rust/Parser/Lexer.x#L1048 Implements the "not immediately followed" part in the Rust lexical syntax spec: https://doc.rust-lang.org/reference/tokens.html#floating-point-literals The code uses `_a-zA-Z` as the beginning of an identifier, but...

I see you've updated the library for ghc-8.8. Would you mind doing a new release to Hackage?

This set of patches adds in the ability to do unquotation in a variety of places: * As identifiers: ```[item| fn $$foo(x: u8) -> u8 { return 0; } |]```...

Add support for all of the newest Rust features. These include - async blocks, async closures, async functions - try blocks - await - or-patterns - associated type constraints -...

The following sorts of things should parse: ```rust trait Foo { type Bar

bug

The following should parse, but it doesn't currently: ```rust pub unsafe extern "C" fn test(_: i32, ap: ...) { } pub unsafe extern "C" fn test_valist_forward(n: u64, mut ap: ...)...

bug

The following test case (taken from `rustc`'s testsuite) doesn't parse: ``` // build-pass (FIXME(62277): could be check-pass?) #![allow(bare_trait_objects)] type A = Box u8) + 'static + Send + Sync>; //...

wontfix

It is expected that the following will be valid macro definitions: ```rust macro foo($a: ident) => { return $a + 1; } ``` ```rust pub macro foo { ... }...

Rust supports two syntaxes for `mod` - one for declaring inline a module and another for referencing the contents of another file. We don't currently try to go follow those...

enhancement

The rust AST has special forms for inline and global assembly. It might be worth adding explicit support for these. This is not urgent since both inline and global assembly...

enhancement