Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

running just a single file from command line?

2 views
Skip to first unread message

The Gist

unread,
Jan 20, 2005, 6:37:47 PM1/20/05
to
I am new to lisp, however, I am familiar with scheme, in particular the
PLT scheme system. In my scheme development I edit my code and then
seperately execute the code from a commandline as
mzscheme -fvm myFile.scm
I am looking to do the same thing in my lisp development.
I have found plenty of resources on running code in emacs and from the
interactive acl prompt but nothing on the simple thing I want to do.
What is the analog to my scheme commandline for acl?
If it matters I am using Allegro CL 4.3.1 .
Thanks!!

The Gist

unread,
Jan 21, 2005, 12:18:05 PM1/21/05
to

Ok, I figured it out myself but it took a while.
On my system I need to do the following
lisp -L myFile.l -kill
this runs myFile and then exits, however, it prints a 2 line banner at
the beginning and a one line shutdown message at the end. I do not think
it is possible to suppress this using commandline arguments to lisp(if
it is please correct me). To eliminate the first 2 lines and the last
line from showing up I just pipe my output through sed so that the
commandline I now use looks like this
lisp -L myFile.l -kill | sed '1,2d;$d'
My motivation in doing this was to mimic my workflow habits in
developing python(and scheme). If anyone else is interested in this, I
hope this helps.

Pascal Costanza

unread,
Jan 21, 2005, 1:21:09 PM1/21/05
to
The Gist wrote:

> If anyone else is interested in this, I
> hope this helps.

I don't think this is a very populated newsgroup. Try comp.lang.lisp or
some Franz mailing list instead.


Pascal

0 new messages