This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Scripting Language for FreeCiv


Hello. 

I'm actually doing some work to get a scripting language to run for
FreeCiv, a GNU Clone of the strategy game civilisation. People like Guile
too much, so it's perhaps the best choice. My problem with guile:

1) How can I access the symbol table ? My idea was to provide the user 
with a list of actual cities,  military units or isles for example. I
think it would be the best if I write them directly into the symbol table.
Parsing strings to get them in there might be \_much_/ too slow.

I'm _not_ the guile freak, so please forgive me two stupid questions:
2) Can I make data structures read only, so that changes can only be
   made from the C-world ?

3) Is there a way to prevent people from peeking and poking arround with
   guile to brake into a network for ex. ? I mean can I restrict the
   instruction set / the functions that guile provides ? It should not 
   be possible for example that hackers can use a FreeCiv connection
   to get the '/etc/password' file or sniffle the tcp-network or fork
   billions of mini-processes that wipe out all other processes.

Thanks and Regards,

-- Frank

>| Frank Schaefer (Phone: 001-864-656-7183)  
>| R. 116, Fluor Daniel Building, Mech. Eng.,
>| Clemson University, SC 29634, USA