Skip to content
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

Lua + Actionscript as scripting languages for Mona #53

Open
al-sabr opened this issue Apr 17, 2017 · 9 comments
Open

Lua + Actionscript as scripting languages for Mona #53

al-sabr opened this issue Apr 17, 2017 · 9 comments
Labels

Comments

@al-sabr
Copy link

al-sabr commented Apr 17, 2017

Hi guys I have found this little piece of bread which is already baked ready to be implemented inside of MonaServer. How complicated would it be and how long will it take based on your expertise ?

Mozilla Tamarin Wrapper for C++ projects

This would be a dream come true.

Thank you Thomas and Mathieu for the great work!

@al-sabr
Copy link
Author

al-sabr commented Apr 17, 2017

Je vais pas vous laisser traquille avec ce foutu Actionscript bindind ;)
Mouahahahahahahaha !

@thomasjammet
Copy link
Contributor

Hi,

Without taking a look at their code I guess that 2 months can be sufficient to add another scripting language to MonaServer but for now we are not interested. We have chosen luajit because it is extremely fast and lightweight.
Though you can take a look at the little project MonaTiny, it is build to be enhanced. If you have C++ skills you can inherit the App::Client class and call your library functions.

Let me know what you think

@al-sabr
Copy link
Author

al-sabr commented May 17, 2017

I think that after I have checked the code from MonaServer for lua integration I soon realised that it was so complicated by design...

I think that not modularizing the scripting part of MonaServer was a mistake because the code is so intertwined with the core that it looks like chinese.

I cannot even understand the design choice and immitate it to implement Actionscript

@al-sabr
Copy link
Author

al-sabr commented May 17, 2017

I think that for MonaServer2 refactoring the code so that we can plug other scripting VM should be much easier.

@thomasjammet
Copy link
Contributor

You can try with MonaTiny, it gives the few needed callbacks to implement your own server.

@al-sabr
Copy link
Author

al-sabr commented May 18, 2017

Thomas I need your assistance I'm at 90% done for integrating AS3 VM in MonaTiny...
There is one problem I can't overcome and it has to do with some code linking within VStudio.
There is 2 macro which are there but VStudio says that they are not defined.

I've added you on skype ... please accept me so that we can talk about it.

Thanx a lot

@ROBERT-MCDOWELL
Copy link

ROBERT-MCDOWELL commented Oct 27, 2017

Hi folks, I'm following this issue because I'm also concerned if Mona can interpret actionscript 1 like AMS
since I have hundred of thousand lines of code in my project and would like to get rid off AMS.
or maybe an AS1 to LUA converter? thank you

@MathieuPOUX
Copy link
Contributor

MathieuPOUX commented Oct 27, 2017 via email

@ROBERT-MCDOWELL
Copy link

ROBERT-MCDOWELL commented Mar 11, 2018

Many people really think that Actionscript and flash are obsolete, which is absolutely not (many features that html5 does not have), millions of games and complex entreprise applications run on Actionscript since 20 years, and for sure it won't be replaced by any kind of crappy javascript which is hell to maintain and make it work on all OS and browsers. btw, google and adobe who work together since long time (html5 benefits from all flash tech) just spread the word to end Flash, but people really think that 20 years of coding will just go to nowhere, which is obviously non sense. Imagine if Perl decide to stop, or C or whatever language.... To give you a little insider info flash plugin will be integrated in webassembly, like other possible language that can be embeded... So sheepo who just use their lifetime to convert all their work from a language to another are totally wrong....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants