Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Lisp > replacement for...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 12445 of 13152
Post > Topic >>

replacement for in-package with :use keyword

by Martin Rubey <axiomize@[EMAIL PROTECTED] > May 8, 2008 at 06:20 PM

Dear all,

I'm trying to get Aldor (a compiler that's able to compile Aldor code to
lisp)
work together with sbcl-based FriCAS (a fork of axiom, a computer algebra
system).

The current state is that this works well with gcl.  However, I'd like to
sup****t several lisp implementations.

The first problem I hit is that aldor produces in-package calls like

(in-package "FOAM-USER" :use '("FOAM" "LISP"))

and it seems that they are not ANSI.  The gcl doc says:

-------------------------------------------------------------------------------
Function: IN-PACKAGE (package-name &key (nicknames nil) (use '(lisp))) 
Package:LISP 

 Sets *PACKAGE* to the package with PACKAGE-NAME, creating the package if
it
does not exist. If the package already exists then it is modified to agree
with
USE and NICKNAMES arguments. Any new nicknames are added without removing
any
old ones not specified. If any package in the USE list is not currently
used,
then it is added to the use list.
-------------------------------------------------------------------------------

I know very little about lisp, so I'm unable to produce a ANSI Common Lisp
replacement with the above semantics.  Of course, I do not know either
whether
this would help, there might be some other cltl specific things later on,
I'm
afraid.  Still, I'd like to try it.  Help?

Martin
 




 7 Posts in Topic:
replacement for in-package with :use keyword
Martin Rubey <axiomize  2008-05-08 18:20:59 
Re: replacement for in-package with :use keyword
Zach Beane <xach@[EMAI  2008-05-08 12:48:29 
Re: replacement for in-package with :use keyword
Martin Rubey <axiomize  2008-05-09 15:14:34 
Re: replacement for in-package with :use keyword
tar@[EMAIL PROTECTED] (T  2008-05-09 12:37:54 
Re: replacement for in-package with :use keyword
Marco Antoniotti <marc  2008-05-10 09:35:55 
Re: replacement for in-package with :use keyword
Martin Rubey <axiomize  2008-05-10 18:49:58 
Re: replacement for in-package with :use keyword
Marco Antoniotti <marc  2008-05-12 02:58:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:17:53 CDT 2008.