Pages: 1
Author Topic: HTML5 exporter  (82,861 Views)
Offline (Unknown gender) Slam drago

Member
Joined: Jul 2011
Posts: 8
View profile
Posted on: September 26, 2011, 01:58:01 AM
You should do an HTML5 exporter.
It should only take a week or two because you are all geeks who have no life outside of the computer. :)
Post made September 26, 2011, 02:39:48 PM was deleted at the author's request.
Offline (Unknown gender) daz

Contributor
Joined: Jul 2010
Posts: 167
View profile
Reply #2 Posted on: September 26, 2011, 03:27:33 PM
It's funny because josh thought he could finish it
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #3 Posted on: September 26, 2011, 03:58:01 PM
It's funny because now C++ is not the magical source of all power in the universe.
Post made September 27, 2011, 08:08:39 AM was deleted at the author's request.
Offline (Unknown gender) luiscubal

Member
Joined: Jun 2009
Posts: 452
View profile
Reply #5 Posted on: September 27, 2011, 01:18:42 PM
Apparently, different parts of the universe require different sources of magic.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #6 Posted on: September 27, 2011, 03:14:19 PM
Oh, no, C++ is still the source of all power in the universe. It's just nice that C++ can be used to grant some of its might and power to JavaScript through engines such as V8 and Rhino.

Anyway, I've already started a JS/HTML5 exporter. I haven't touched it in a while, but I'll probably revisit it shortly. TGMG forked it and started adding functions, you see, and I haven't gotten back into it since I merged in his fork.
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #7 Posted on: September 27, 2011, 05:02:10 PM
Except Rhino is written in Java.
Offline (Unknown gender) Slam drago

Member
Joined: Jul 2011
Posts: 8
View profile
Reply #8 Posted on: September 27, 2011, 09:00:05 PM
Oh, well keep working on the exporter.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #9 Posted on: September 27, 2011, 09:02:47 PM
And the JVM is made of non-C++ metaphysical goo, right?
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #10 Posted on: September 27, 2011, 09:21:05 PM
And that means you can #include <map> or glue to std::map in JavaScript because C++ is in there some 3 levels down.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #11 Posted on: September 27, 2011, 09:41:42 PM
Nah, JavaScript already has plenty of wrappers to the C++ map structures.
Offline (Unknown gender) luiscubal

Member
Joined: Jun 2009
Posts: 452
View profile
Reply #12 Posted on: September 27, 2011, 10:01:35 PM
You know you don't HAVE to use C++, right? Sure, processors can only execute machine code but C++ is not the only AOT compiled language in the world.
Also, in V8, JS is compiled directly to machine code, not C++. C++ is merely the compiler.
Old JS interpreters written in C++ were incredibly slow.

But, anyway, does any of this matter? Let's just say - there's HTML and JS, which at some point are run on top of computer processors, and an ongoing ENIGMA project to compile GML to HTML+JS.
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #13 Posted on: September 28, 2011, 12:34:18 AM
And yet, the idea that compiling EDL to C++ will automatically grant you magic "map foo;" powers fails as soon as you try to compile to JS as well.
Pages: 1