Coder Social home page Coder Social logo

Fail to parse async function about gccrs HOT 5 CLOSED

P-E-P avatar P-E-P commented on July 19, 2024
Fail to parse async function

from gccrs.

Comments (5)

mvvsmk avatar mvvsmk commented on July 19, 2024 5

Hey , @P-E-P could you assign this to me, I'll start working on it. :)

from gccrs.

P-E-P avatar P-E-P commented on July 19, 2024 4

i think GCCRS is a tool that aims to provide compatibility with the C language and may not support all Rust language features, such as async/await. Therefore, if you're trying to use async/await in your code, GCCRS may not be the appropriate tool for that specific task.i think we work with c code here...

We're trying to support rust version 1.49 for now. Async/await syntax were introduced in version 1.38 of the language, this means we should support those. Even if asynchronous code may not be the highest priority, this issue reduce the gap between rust and our parser. This is mandatory to be able to parse all rustc's test suite, we're only a few percentage away.

from gccrs.

officialhemant511 avatar officialhemant511 commented on July 19, 2024

i think GCCRS is a tool that aims to provide compatibility with the C language and may not support all Rust language features, such as async/await. Therefore, if you're trying to use async/await in your code, GCCRS may not be the appropriate tool for that specific task.i think we work with c code here...

from gccrs.

P-E-P avatar P-E-P commented on July 19, 2024

@mvvsmk have you made any progress so far ? I think we'll need this earlier than expected as I'm working on AST validation. If you feel you won't be able to work on this soon I could reassign the issue, don't put any pressure on yourself or anything.

Also if you need any help to solve this, tell me.

from gccrs.

mvvsmk avatar mvvsmk commented on July 19, 2024

Hey @P-E-P , I made the changes two weeks ago and forgot to make a PR. Apologies for the delay; it completely slipped my mind, been a bit busy last month. I have made the PR now. Could you code review my PR, if I missed something do let me know.

from gccrs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.