axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Fwd: [Texmacs-dev] Announce: game thoery grapher


From: Tim Daly Jr.
Subject: Re: [Axiom-developer] Fwd: [Texmacs-dev] Announce: game thoery grapher
Date: 05 Jan 2005 15:13:37 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Bob McElrath <address@hidden> writes:

> Cross-forwarding this interesting post.
> 
> TeXmacs uses scheme as its extension language.  Since scheme is a
> dialect of lisp, can scheme programs be run in a lisp interpreter
> without modification?  

Only a small subset of Scheme programs are also Common Lisp programs
with similar semantics, e.g. 'foo, or (+ 1 2).  A larger subset can be
translated trivially, e.g. 
    
    (let ((a ...)) 
      (a 'foo))

becomes something like

    (let ((a (function ...)))
      (funcall a 'foo))

Dorai Sitaram's pregexp library is a Scheme library that has been
machine-translated to Common Lisp.  For stuff that doesn't translate
so easily, like call/cc, there are several implementations of Scheme
in Common Lisp running around.


> Could the texmacs interpreter be replaced with gcl or one of the
> more comprehensive lisps that runs axiom?  Could then data
> structures used by texmacs (and any graphing component it may
> evolve) be shared by texmacs and axiom?

Amen.

-- 
-Tim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]