unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Determining programatically whether the interpreter is Guile or Clisp or Emcs
@ 2013-07-29  8:21 白い熊
  2013-07-29  8:36 ` Nala Ginrut
  2013-07-31 10:24 ` Alexei Matveev
  0 siblings, 2 replies; 18+ messages in thread
From: 白い熊 @ 2013-07-29  8:21 UTC (permalink / raw)
  To: guile-user

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-lambda-expression)))

This was enough,  as function-lambda-expression is not defined in elisp.

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.

Thank you very much for helping me.
--
白い熊



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-09-07  9:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29  8:21 Determining programatically whether the interpreter is Guile or Clisp or Emcs 白い熊
2013-07-29  8:36 ` Nala Ginrut
2013-07-29 11:21   ` 白い熊
2013-07-29 11:32     ` Nala Ginrut
2013-07-29 11:53       ` 白い熊
2013-07-31  2:27     ` Nala Ginrut
2013-07-31  4:47       ` 白い熊
2013-07-31  5:35         ` Nala Ginrut
2013-07-31  5:35         ` Nala Ginrut
2013-07-31  6:28           ` 白い熊
2013-07-31  6:48             ` Nala Ginrut
2013-09-07  9:31   ` Andy Wingo
2013-07-31 10:24 ` Alexei Matveev
2013-07-31 10:20   ` Ralf Mattes
2013-08-01  1:12     ` Nala Ginrut
2013-08-01 12:42       ` 白い熊
2013-08-01 12:45         ` 白い熊
2013-08-12 12:48         ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).