Re: Determining programatically whether the interpreter is Guile or Clisp or Emcs

2013-07-29 Thread 白い熊
Nala Ginrut wrote: >I think the most efficient way is to use 'cpp' of gcc to do the >pre-processer, or you have to try eval-when, please read the manual for OK, I did read up on it, but it's not a parent how to go about this interpreter testing. I don't want to get a preprocessor into it, beca

Re: Determining programatically whether the interpreter is Guile or Clisp or Emcs

2013-07-29 Thread Nala Ginrut
I think the most efficient way is to use 'cpp' of gcc to do the pre-processer, or you have to try eval-when, please read the manual for it. 在 2013-7-29 PM7:23,"白い熊" 写道: > Nala Ginrut wrote: > > >> I would like to program for Guile as the lowest denominator. > >> > >> What is the proper check I sh

Re: Determining programatically whether the interpreter is Guile or Clisp or Emcs

2013-07-29 Thread 白い熊
Nala Ginrut wrote: >> I would like to program for Guile as the lowest denominator. >> >> What is the proper check I should define that would tell me whether >I'm currently interpreting the code in Guile, or Emacs, or Crisp. >> > >If you just want to check whether a symbol was defined, try: >(mo

Re: Determining programatically whether the interpreter is Guile or Clisp or Emcs

2013-07-29 Thread Nala Ginrut
On Mon, 2013-07-29 at 10:21 +0200, 白い熊 wrote: > Hello: > > I'm developping a program which I'd like to be able to use without > modification with Guile as the interpreter as well as Emacs lisp and clisp. > Hi! Welcome to Guile! > So far, I was only programming for Emacs/Clisp, for this I us

Determining programatically whether the interpreter is Guile or Clisp or Emcs

2013-07-29 Thread 白い熊
Hello: I'm developping a program which I'd like to be able to use without modification with Guile as the interpreter as well as Emacs lisp and clisp. So far, I was only programming for Emacs/Clisp, for this I used a rather crude check of: (defun kx-emacsp () (not (functionp #'function-l