Comments (8)
You're not thinking fourth dimensionally
from goal.
I'd take that as an argument against it. Please submit a pull request in the same format as the Java one.
from goal.
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.
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.
Rust isn't even done yet. It may just be impossible now but possible later.
from goal.
@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.
@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.
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)
- Would be PHP solution g[][]['al'] counted as "close" or "incomplete"? HOT 1
- Impossible in erlang HOT 1
- "Shell" should be "Bourne shell" HOT 1
- Java "solved" link links to the incomplete directory HOT 1
- String/ pattern match between two data frame columns using R HOT 1
- Possible in Modelica? HOT 2
- semantics around the rules HOT 1
- Bagaimana cara masuk ke sebuah server saya pemula How do I log into a server I am a starter
- Javascript Solution HOT 2
- Yoga essaouira
- bVNC Pro
- Coffeescript Solution HOT 1
- Python solution HOT 1
- Call out: the Haskell one HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goal.