compiling a ruleset?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

compiling a ruleset?

Jim Prewett

Hi All,

I want to figure out if it is possible to compile a top-level ruleset.

Right now, I have a ruleset file that loads other ruleset files to build
up the complete ruleset.  These files may, apparently, be compiled, but
when I compile the toplevel ruleset and load it instead of the Lisp file,
I don't get anything in the *root-ruleset*.  Any ideas?

I'd like to be able to do something like this on the command-line
(assuming I'm on my x86 box using CMUCL):

lisp -core $LoGS_CORE --ruleset foo.x86f --file /var/log/messages \
     -eval '(main)'

instead of:
lisp -core $LoGS_CORE --ruleset foo.lisp --file /var/log/messages \
     -eval '(main)'

Or, ideally, something like this (where foo.x86f would be loaded if it
existed and was more recent than foo.lisp, otherwise foo.lisp would be
compiled and loaded):
lisp -core $LoGS_CORE --ruleset foo --file /var/log/messages \
     -eval '(main)'


James E. Prewett                    [hidden email] [hidden email]
Systems Team Leader           LoGS: 
Designated Security Officer         OpenPGP key: pub 1024D/31816D93    
HPC Systems Engineer III   UNM HPC  505.277.8210

LoGS-devel mailing list
[hidden email]