Hacker Newsnew | past | comments | ask | show | jobs | submit | cbebdhhd's commentslogin

Could you pretty, pretty please allow for an option to have automatic parentheses insertion, similar to how javascript will insert semicolons, making them optional? This is almost exactly the language that I've been planning for the last six months, and if you would be so kind as to implement that one feature, it would save me a lot of reinventing the wheel.

I was originally envisioning having the compiler being able to infer parentheses based on code indentation.

Also have you considered compile time AST evaluation and simplification?


If it takes off, and fulfills all peoples' dreams and brings rainbow-farting pink ponies to Earth, then I suppose there might come lots of parser butchering by people and fitting it to their likes via forks/frontends - me, for example, I'd love it to look more Rebol-like ;)


Maybe you can use "Readable Lisp S-expressions".

http://readable.sourceforge.net/


If you don't want the parenthesis then why not use reverse polish notation?


unless you're thinking of something that I'm not thinking of? RPN only solves this when the operators are known and used exclusively in operator context and can be relied on as implied close-parens


I always thought this* was a much better demonstration of evolution in action because it's completely undirected by the user and quickly converges to fit solutions from obvious randomness.

* http://rednuht.org/genetic_cars_2/


I had this running in the background for hours one day. They got pretty good.

He's also got one for biped walkers that's fun to play with. http://rednuht.org/genetic_walkers/


Playing around with the wheel friction and letting it run for days was interesting: https://github.com/red42/HTML5_Genetic_Cars/blob/master/cawr...


Runs much better than I'd've expected on mobile (after the pack clears out).


Framsticks are good, but the UI is buggy.


Fascinating!


There really ought to be some sort of PE-equivalent certification for mission critical software, where they're required to sign off on the code before it can be legally distributed. It seems like the majority of today's catastrophic failures are due to faulty software and currently there's no accountability when it happens. If engineers were routinely crashing aircraft and breaking MRI's they would be going to prison because of the accountability procedures that are in place.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: