|Need advices for creating a proprietary language email@example.com (Mike) (1998-03-03)|
|Re: Need advices for creating a proprietary language firstname.lastname@example.org (Lyn A Headley) (1998-03-06)|
|Re: Need advices for creating a proprietary language email@example.com (1998-03-06)|
|Re: Need advices for creating a proprietary language firstname.lastname@example.org (Joachim Durchholz) (1998-03-07)|
|Re: Need advices for creating a proprietary language email@example.com (MC) (1998-03-07)|
|Re: Need advices for creating a proprietary language firstname.lastname@example.org (Mark Harrison) (1998-03-07)|
|Re: Need advices for creating a proprietary language email@example.com (Leif Nixon) (1998-03-12)|
|[4 later articles]|
|Date:||3 Mar 1998 10:49:47 -0500|
For an internal (in the company I'm working for) project, I have to develop
a special simple language.
This language will be used to control the behavior of characters (ie:
objects) in a game. These characters can perform plenty of actions, like;
- Checking if another character is activated or not
- Checking if the character must move or not, depending of the state of some
variables (Am I in collision with something elses ? How many life point I
have ? Does the scenari allows me to go out of a certain area ? and so
All theses characters will be in a 3D world.
So I need some functions calls, like:
Some arithmetic and logic structures:
if (lp>20) then
// I will attack
// I will retreat
This language will be interpreted in the game.
What I need, is to create a compiler that transform simple text files in a
kind of P-Code that will be interpreted in the game.
So, I have to check the syntaxis correctness, to check if all the functions
and structures are ok, and to handle the game ressources:
For that, I need to check if the animation or the sample exist, and to
get a handle. So when the game will interpret that, it will be with a C code
that look like:
Can you help me, by giving me some adress of internet pages of valuable
interest, or explain me what I have to avoid.
(Use the following adress to mailto: firstname.lastname@example.org )
I'm looking on the net since 3 days, and now I know what means the words:
parser, token recognition,error recovery, semantic analysis, formal language
concepts, regular expressions, context-free grammars, top_down/bottom-up
But I'm submerged with url from american universities (xxxxxx.edu) that
present the content of the compiler courses !!!
I'm beeing driving crazy.
And all the rest is about how to use BISON,LEX,YACC, and stuff like that.
I don't think I must have to dive in such programs for creating my
Any help would be welcome.
Thanks a lot,
Return to the
Search the comp.compilers archives again.