RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic Goto page Previous  1, 2 
View previous topic - View next topic  
Author Message
Guest






PostPosted: Thu Jun 10, 2004 12:16 am    Post subject: [quote]

Aptyp wrote:
Yeah, well, you can easily wrap assembly-like scripts into high-level language by writing a compiler that takes C-like code and dumps opcode/parameter stream.


And you've done this? I think not since you used the adjective 'easily'.
Back to top  
Aptyp
Egg-Sucking Troll Humper


Joined: 09 Jun 2004
Posts: 36

PostPosted: Thu Jun 10, 2004 9:51 am    Post subject: [quote]

That's what I did for my script engine. It's a breeze. They have tools to do that since the 70's.
Back to top  
BadMrBox
Bringer of Apocalypse


Joined: 26 Jun 2002
Posts: 1022
Location: Dark Forest's of Sweden

PostPosted: Thu Jun 10, 2004 1:00 pm    Post subject: [quote]

You sure have a strange name Aptyp. Translated from swedish to english it means Apetype. Just wanted highlight that.
_________________
Back to top  
Aptyp
Egg-Sucking Troll Humper


Joined: 09 Jun 2004
Posts: 36

PostPosted: Thu Jun 10, 2004 1:19 pm    Post subject: [quote]

Not the first one to point it out :)
Actually, it's a lame-ass attempt to type my name in latin charset w/o looking like a l33tist.
Back to the topic. I'm not defending assembly-like languages, I'm just trying to say that if you don't like them, you have a choice to build on top of them.
Back to top  
Joakim
Tenshi's Bitch (Peach says "Suck it!")


Joined: 05 Apr 2004
Posts: 64

PostPosted: Thu Jun 10, 2004 10:20 pm    Post subject: [quote]

In some cases, yes.
I was doing that in one of my earlier attempts on building a full script -> vm-asm -> vm-bytecode thing plus interpreter, and although I failed to finish it (because I wanted to do everything myself), it was quite possible.
The problem is that when people are making an asm like script, instead of making it an intermediate syntax between the script and the bytecode or the script and the interpreter, they make things easier in the asm-code. They use special syntax and/or lots of build in commands that should be callbacks, which makes it very hard to build on top of.
In conclusion to my failed project, I decided never to build an intermediate language again, as it's all in all less work to compile directly to byte code than over vm-asm. It's more effecient too...
Back to top  
Post new topic Reply to topic Page 2 of 2 All times are GMT
Goto page Previous  1, 2 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum