Giter Club home page Giter Club logo

Comments (8)

tolmasky avatar tolmasky commented on August 16, 2024

You're not thinking fourth dimensionally

from goal.

eatnumber1 avatar eatnumber1 commented on August 16, 2024

I'd take that as an argument against it. Please submit a pull request in the same format as the Java one.

from goal.

Havvy avatar Havvy commented on August 16, 2024

Hmm, actually, would this be acceptable: goal!(g()()("al")) where goal!() is a macro that would transform it into g::new().zero().zero().one("al")?

Also, I'm not planning on writing a PR at this time. So if anybody else wants to write one...

from goal.

bharrisau avatar bharrisau commented on August 16, 2024

This is very easy in Rust - just make a compiler plugin to rewrite the AST (e.g. replacing the () with ("o")). The challenge is doing something more elegant.

from goal.

 avatar commented on August 16, 2024

Rust isn't even done yet. It may just be impossible now but possible later.

from goal.

gambogi avatar gambogi commented on August 16, 2024

@Undeterminant I imagine a majority of the languages included are undergoing active development.
I believe 0.11 brought one of the last major syntax reworks, and the 1.0 is scheduled for early next year.

from goal.

 avatar commented on August 16, 2024

@gambogi The major syntax reworks mostly had to do with types; although most of the syntax is done, handling of traits, macros, type coercion, and optional argument handling is still under decent debate at the moment. Changes to those could potentially make this problem solvable, even though it currently isn't.

from goal.

durka avatar durka commented on August 16, 2024

I came up with two incomplete solutions so far. One is @Havvy's idea of a macro. The other uses [()] and ["al"] instead of () and ("al").

https://play.rust-lang.org/?gist=2368a7d7391b863e5de9

from goal.

Related Issues (15)

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.