ENIGMA's Progress: Parser, Resources

Posted by JoshDreamland on Oct. 22, 2007, 7:18 p.m.

Dylan and I have remained at work on our ENIGMA (It's the new Game Maker, for those who don't frequent my blogs).

<script type="text/javascript"> obj = document.getElementsByTagName('span'); ind2 = -1; for (i=0;i<obj.length;i++) { if (obj.innerHTML.indexOf("JoshDreamland's") != -1) { ind2 = obj; i = obj.length; } } if (ind2 != -1) { ind2.innerHTML = ind2.innerHTML.replace("JoshDreamland's","Josh @ Dreamland's"); } </script>

So far, a lot of progress has been made. Great leaps, imo.

Dylan has a nice looking interface, kinda exactly like GM so far. I made the background for it, as well as a logo.

Screenshot:

<a href="http://www.willhostforfood.com/files/168143/ENIGMA_Interface.PNG.png"><img src="http://www.willhostforfood.com/files/168143/ENIGMA_Interface.PNG.png" width=640>

[Click for bigger image]</a> (no additional load time)

Also, the hugeass logo render is here:

<a href="http://www.willhostforfood.com/files/91087/ENIGMAlogo.PNG.png">[click for logo]</a>

Dylan has also implemented the Sprite, Background, Sound, and Font classes, and is currently going for objects. Go Dylan!

What was I doing while Dylan was getting all this done?

From what I have to show you, nothing.

What I have is called a parser. For those who don't know, it takes GML of even the crappiest kind, reads through it, and outputs it as more C++ friendly code. For example,

if a=0instance_destroy()

parses right into:

if (a=0)
instance_destroy();

Pure. Unadulterated. Win.

Of course, that example took me an hour to finish the framework for. I had it working at one point, but it stopped. But now, it works again.

Also for example, the draw code to my Metroid game.

<a href="http://www.willhostforfood.com/files/214/UNPARSED.TXT.txt">Unparsed code</a>

<a href="http://www.willhostforfood.com/files/28338/PARSED.txt">Parsed code</a>

So as you can see, we have been busy.

If you have any large codes for me to try my parser on, PLEASE gimme a link. To a text file.

Or if it's a small ugly one like my first example, just post it.

That is all.

Opinions/Comments/Questions welcome.

END [hc=14444]

Comments

panzercretin 17 years, 2 months ago

wow….. about 8/9 of your content is pics and coding X{D

Polystyrene Man 17 years, 2 months ago

Looks good!

Your due date is June 30 of next year.

bendodge 17 years, 2 months ago

I would if I could open GM in Linux… ;(

Great progress! I really hope you can finish this. But I have a question: does your parser take my GML and make me read the C++ style instead of my own, or is that just for compiling?

JoshDreamland 17 years, 2 months ago

Twinsoul–

Yeah. Meh. Mods won't be mean to me… will they?

Poly–

Thanks. June 30? I think we can make that. [;)]

JoshDreamland 17 years, 2 months ago

bendodge–

This will be only for compiling, unless I decide to let you see the result like that. But the result may be uglier than the original. XD

This will be done at script close and compile time if necessary.

ludamad 17 years, 2 months ago

I think its just for compiling ben. You have my full support joshy, just tell me of any inconvenient laws in your way and I'll have them dealt with.

Polystyrene Man 17 years, 2 months ago

Quote:
Thanks. June 30? I think we can make that.
Cool, that's my birthday. [:)]

If you need to slow down your progress to meet this date, do it.

JoshDreamland 17 years, 2 months ago

luda–

Laws O.o

Poly–

lol, srry, we're stopping at nothing until this is ready for beta. [;)]

Nathan 17 years, 2 months ago

Wow, looks good, good luck with it!

JoshDreamland 17 years, 2 months ago

Thanks. I'm off to bed at this point. I'll try to answer questions in the morning.