clemos / try-haxe

A small webapp that allows to test Haxe online
https://try.haxe.org
MIT License
126 stars 41 forks source link

More haxelib libs. #31

Open deltaluca opened 11 years ago

deltaluca commented 11 years ago

What are the possibilities for having say, 'all' haxelib libs available for use?

clemos commented 11 years ago

In theory it would be quite easy;

There are just two things that prevent me from adding 'all' of them:

All this is not really a big deal, but these are the main reasons why I just can't "add them all": adding libraries requires human intervention.

Feel free to give suggestions as to which libraries you'd like to be available.

bradparks commented 11 years ago

you could consider including "HaxeFlixel" (haxelib install flixel).... It's a game library for haxe that's becoming quite popular, and even though it's png based, there's lots that can be tested/demoed without assets....

deltaluca commented 11 years ago

Well one that would certainly be useful for me would be Nape :) Whenever I need to give advice on my forums I always want to quickly set up an example showing how things work, and try.haxe would be great for it!

bradparks commented 11 years ago

for what it's worth, I second the vote for nape ;-)

profelis commented 11 years ago

@deltaluca just fork project and add your favorite libs here https://github.com/clemos/try-haxe/blob/master/src/Libs.hx#L35 (check libs for macros filesystem access and etc)

bradparks commented 11 years ago

@clemos is already providing an important piece of the puzzle right now - maintenance and hosting of it... Which is a significant contribution, and I think would be nice as a "one stop" eval shop for haxe ;-)

clemos commented 11 years ago

Thanks all for your suggestions. Good to see try-haxe is appreciated ;). Now, as @profelis said, I'd rather accept pull requests than adding them myself. Otherwise, I may do it when I have some time, but it is very unlikely this month... :p

bradparks commented 11 years ago

hey @clemos - are you still open to having haxe flixel or nape added to this? I could do a fork and add them if you are....

clemos commented 11 years ago

Yeah sure, I'm open to adding more libs. I'll try to take some time soon to upgrade try-haxe:

Hopefully I'll be able to deploy a new version online next week or something.

bradparks commented 11 years ago

so did you want me to do a fork for adding nape/flixel? Or are you planning on adding even more libs?

clemos commented 11 years ago

I'd definitely prefer a fork / pull request ;)

bradparks commented 11 years ago

cool... i'll see what I can do! thanks....

freakinruben commented 11 years ago

Hey Clemos,

Here's my list of changes to try-haxe:

Cheers, Ruben

markknol commented 9 years ago

I think it would be super awesome if these libraries/frameworks could be supported:

This will not only encourage people to doodle around with these common haxe libraries, but also to have sharable live-examples and offer the opportunity to help others with with small issues.

clemos commented 9 years ago

Regarding OpenFL and Flambe, they have a different build system, so it will require some changes here and there. The others can definitely be added to try-haxe, as long as they don't introduce security caveats: for instance, any library that allow loading external files at compile-time would be a threat. @ metadata are currently disabled for this reason, but I believe some of these frameworks expose API methods such as Assets.load( path ) that are going to be difficult to secure. So if anyone is interested in reviewing each of these framework for these potential security issues, and then adding it to the UI / API, I'd be happy to merge a PR and take care of installing these frameworks on the server.