Skip to main content
GameDev.net gamedev.net
🔒 Locked

Writing a scripting engine

Started by Samith Aug 7, 2003 at 8:27 PM 3 replies 650+ views
Original Post
Samith
Samith
The tutorials for doing this on flipCode seem pretty good, but they use a tool called "flex" and "bison" and I''m not sure how good it is to use this. Is it just standard that anyone who is writing a scripting engine uses these, or should I learn to make my own lexical analyzer?
JasonA
JasonA
From what I''ve heard, LUA seems to be one of the best. I plan to learn it as well, and there are some great tutorials about it on this site.
Jason Arorajason@pubism.comhttp://www.pubism.com
Samith
Samith
I don''t really want to make my own language, really I just want to be able to script events in a game or something, maybe even something Unreal Tournament-ish, where I can script certain functions for things in a game (like, in an RTS, maybe I would have each unit have it''s own script for movement/attacking, so I can get unique units without having to hardcode each units attack functions or whatever)
llyod
llyod
Lua would be perfect for what you want.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.