Re: eval and exceptions

2008-08-13 Thread Maciek Godek
cedric cellier: > For the concern about malicious users I will address this later, when > and if eventually there will be any actual user :) OK, let me know how's the progress sometime, because I'm extremely interested in the topic >> I've been trying to address this problem by implementing a ne

Re: eval and exceptions

2008-08-11 Thread cedric cellier
> Well, you can call your "eval-string" inside a catch, for example: > (catch #t (lambda()(eval-string packet)) (lambda (key . args) #f)) Yes, it works ! I've tried it with srfi-34 extention module (guard) but for some reason guard does not catch this kind of errors, while the genuine catch works.

Re: eval and exceptions

2008-08-11 Thread Maciek Godek
Cedric Cellier: > In the attempt to drastially reduce the work required for a little > project (a small wargame), I want to use guile to "box" the game engine > (that is to be) written in C. I also want the players GUI to be > connected to the game via sockets established by guile (15 lines of > c

eval and exceptions

2008-08-10 Thread Cedric Cellier
Hi you all in there ! In the attempt to drastially reduce the work required for a little project (a small wargame), I want to use guile to "box" the game engine (that is to be) written in C. I also want the players GUI to be connected to the game via sockets established by guile (15 lines of code,