New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haxe implementation #132

Merged
merged 1 commit into from Aug 4, 2014

Conversation

Projects
None yet
3 participants
@jasononeil
Contributor

jasononeil commented Jul 28, 2014

Live example:

http://try.haxe.org/#dD976

Does that parse? If it does I should also update the README I guess :)

@jasononeil

This comment has been minimized.

Show comment
Hide comment
@jasononeil

jasononeil Jul 28, 2014

Contributor

I should note this will compile and run on JS, Java, C#, C++, PHP, Neko, Flash and if you're using the latest nightlies, Python.

If you would like to see generated files (or generated source code for any of these) let me know!

Contributor

jasononeil commented Jul 28, 2014

I should note this will compile and run on JS, Java, C#, C++, PHP, Neko, Flash and if you're using the latest nightlies, Python.

If you would like to see generated files (or generated source code for any of these) let me know!

@jasononeil

This comment has been minimized.

Show comment
Hide comment
@jasononeil

jasononeil Jul 28, 2014

Contributor

Actually, this doesn't work on every platform. The use of "Dynamic" prevents the Haxe compiler for doing some checks on platforms that don't support optional arguments (the compiler usually fills in null values for you, but because we're using Dynamic it doesn't know to do that, causing run time errors). It works for some platforms but not for all. I'll try look for a more robust solution :)

Contributor

jasononeil commented Jul 28, 2014

Actually, this doesn't work on every platform. The use of "Dynamic" prevents the Haxe compiler for doing some checks on platforms that don't support optional arguments (the compiler usually fills in null values for you, but because we're using Dynamic it doesn't know to do that, causing run time errors). It works for some platforms but not for all. I'll try look for a more robust solution :)

@capicue capicue added the haxe label Jul 28, 2014

@eatnumber1

This comment has been minimized.

Show comment
Hide comment
@eatnumber1

eatnumber1 Aug 4, 2014

Owner

Looks good to me

Owner

eatnumber1 commented Aug 4, 2014

Looks good to me

eatnumber1 pushed a commit that referenced this pull request Aug 4, 2014

@eatnumber1 eatnumber1 merged commit be022db into eatnumber1:master Aug 4, 2014

@jasononeil jasononeil deleted the jasononeil:patch-1 branch Aug 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment