Giter VIP home page Giter VIP logo

hacking-haxe's People

Contributors

aduros avatar andyli avatar atry avatar deltaluca avatar dogles avatar fponticelli avatar frabbit avatar gama11 avatar herschel avatar hexonaut avatar hughsando avatar jasononeil avatar jdonaldson avatar jonasmalacofilho avatar mandel59 avatar markknol avatar mockey avatar nadako avatar ncannasse avatar ousado avatar pleclech avatar porfirioribeiro avatar pperidont avatar sebpatu avatar simn avatar smerkyg avatar smilyorg avatar tombebbington avatar waneck avatar zjnue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

elitemastereric

hacking-haxe's Issues

singleton object

It would be lovely to have something like the scala objects (they exists globally and they can implement interfaces and/or classes).

Great stuff!

Very interesting changes you've done there. Maybe someday this could be ported back to the main source code? :)

I was also thinking about changing Haxe in a way that it wouldn't always require a class, but would automatically stick code to a "Main" object (just like Ruby does), this would make Haxe good as a typed scripting language. I find that creating a class just for to have a main method kind of verbose. This would be a nice experiment too.

This together with a good (cross platform?) REPL would make for a very powerful combo, in my opinion.

What are your thoughts on that?

Even if those changes don't get ported back, they are here to prove that Haxe's syntax can and will eventually be improved, and to show people that hacking the compiler is actually a possibility. Inspiring stuff, keep up the great work.

?. Safe Navigation Operator bug

Hi, saw this feature on the latest haxe.io and a question on haxelang where it seemed a good match. While creating an example I ran into an issue with functions, I've created a C# example online that mirrors the use of ?. operator without the errors I received in Haxe.

Discussion:
https://groups.google.com/d/msg/haxelang/Hara-4od9Ao/aHtqCOipfXYJ

Examples:
TryHaxe example: http://hacking-haxe-dev.atouchofcode.com/#0b32D
C# REPL example: http://csharppad.com/gist/986a7f79b375c217ea10 (how it should work)

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.