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


Schaefer Frank R writes:

 > 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:

Will FreeCiv become integrated into GNOME somehow? Then it may be possible
in future to run any language that gets supported by GNOME's Corba system
`ORBit'. Guile will be one of them. GNOME/ORBit also offers a lot of security
support in near future.
 > 
 > 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 ?

Yeah, but that's a pain in the spine and is going to change thoroughly 
on C level soon, when the guile object system comes up.
 > 
 > 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.
Guile itself can't implement ssh, because of of copyright and patent
problems. There is work on a GNU clone of ssh, and when it matures, it
might be added as module.
--
Klaus Schilling