Archived

This topic is now archived and is closed to further replies.

JHL

C-Style Scripting Language?

Recommended Posts

I know exactly what I want in a scripting language just not how to get. I want something that will basicly compile a simple c program (pointer-less) into byte code and allow me to specify predifined (in the game) functions that can be called from the script probably as well as constants that can be used in the script. I searched the internet and found some interesting things some of them close to what I''m looking for but nothing exactly it. I tried writing it my self but half neither the time nor the patience to work out all the compiler capacity needed for even just simple that simple c style program. But I''m not adversed to adding on to some other program or even paying a reasonable amount for it. Anyone know of something that fits my needs or comes close anough it can be modified?

Share this post


Link to post
Share on other sites
What you're looking for sounds a lot like QuakeC, the scripting language used in Quake 1. Someone has released a VM for it and from talking with the author its pretty easy to implement. You can get ithere

Little background: QuakeC is a C-like language. It has its own compiler (the best one is FrikQCC made by same person who wrote the VM). It has a ton of mathematical equations but is pretty weak when it comes to strings. There are a bunch of tutorials out there (mostly on modifying the original source) on www.inside3d.com and www.quakesrc.org. If you know C or even learning its real easy to get into.


[edited by - Horn on December 27, 2002 8:05:46 PM]

Share this post


Link to post
Share on other sites