Compiler tools for Common Lisp? 
Author Message
 Compiler tools for Common Lisp?

-----BEGIN PGP SIGNED MESSAGE-----

I'm interested in doing some compiler work, and since I'm sick to
death of Java and C++, I'd like to do it in Common Lisp.  Indeed, I
can see many wonderful things that I could do in the backend that
would be more difficult in more primitive languages ;-).

Unfortunately, I can't find a lexer/parser analogue.  The CMU AI
repository has a couple of parsers, and the lalr.cl is reasonably
close to what I want on the parser end of things.  But there's no
matching lexer, nor any real mention of one; I assume it was meant to
be used in concert with read.

Is there anywhere I could find such a beast?  Apologies if this is a
FAQ; rtfm.mit.edu didn't have the Lisp FAQs when I checked.

BTW, I know analogous packages exist in profusion for Scheme; I'd like
to use Common Lisp, though.  If all else fails, I suppose I could
write the compiler in two parts, which communicate through sexps, but
that seems ugly.
- --

http://www.*-*-*.com/
PGP Fingerprint: 36 15 AD 83 6D 2F D8 DE  EC 87 86 8A A2 79 E7 E6

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBNOgKqFN2pHdjE11BAQGkGAP/akSnTurn1FIaUFm91bRcTgGAgVqUdVbu
h4h/7EJw8xbG7e+H+XsaF7N7xzQqb2pDv6F7CQULMGYe3XT/jzq66oE2KFR8n+C3
5ma3CEbeCLu9kZ4h+416xzLdeAe+SRPbViCbQoFzXRXTXtlUIKZuJJhho5jZSFyS
4JP39C4jUy4=
=aMcp
-----END PGP SIGNATURE-----



Fri, 04 Aug 2000 03:00:00 GMT  
 Compiler tools for Common Lisp?

Quote:

> BTW, I know analogous packages exist in profusion for Scheme; I'd like
> to use Common Lisp, though.  If all else fails, I suppose I could
> write the compiler in two parts, which communicate through sexps, but
> that seems ugly.

An option would be to rewrite the generated scheme into Common Lisp.
You probably don't need very many macros for doing it.
(At CMU there's also an embedding of scheme into Common Lisp which
might be useful to look at)

        Maurizio



Fri, 04 Aug 2000 03:00:00 GMT  
 Compiler tools for Common Lisp?


Quote:

> -----BEGIN PGP SIGNED MESSAGE-----

> I'm interested in doing some compiler work, and since I'm sick to
> death of Java and C++, I'd like to do it in Common Lisp.  Indeed, I
> can see many wonderful things that I could do in the backend that
> would be more difficult in more primitive languages ;-).

> Unfortunately, I can't find a lexer/parser analogue.  The CMU AI
> repository has a couple of parsers, and the lalr.cl is reasonably
> close to what I want on the parser end of things.  But there's no
> matching lexer, nor any real mention of one; I assume it was meant to
> be used in concert with read.

> Is there anywhere I could find such a beast?  Apologies if this is a
> FAQ; rtfm.mit.edu didn't have the Lisp FAQs when I checked.

> BTW, I know analogous packages exist in profusion for Scheme; I'd like
> to use Common Lisp, though.  If all else fails, I suppose I could
> write the compiler in two parts, which communicate through sexps, but
> that seems ugly.

Have you looked at the Zebu system?

A version can be get from ftp://ftp.digitool.com/pub/mcl/contrib/ .

--
http://www.lavielle.com/~joswig/



Fri, 04 Aug 2000 03:00:00 GMT  
 Compiler tools for Common Lisp?

Quote:

> I'm interested in doing some compiler work, and since I'm sick to
> death of Java and C++, I'd like to do it in Common Lisp.  Indeed, I
> can see many wonderful things that I could do in the backend that
> would be more difficult in more primitive languages ;-).

> Unfortunately, I can't find a lexer/parser analogue.  The CMU AI
> repository has a couple of parsers, and the lalr.cl is reasonably
> close to what I want on the parser end of things.  But there's no
> matching lexer, nor any real mention of one; I assume it was meant to
> be used in concert with read.

I know you want to use common lisp and not scheme, but Bigloo (a
scheme implementation) has built in lex & yacc equivalents.

--
Harvey J. Stein
Berger Financial Research



Sun, 13 Aug 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Common LISP primatives, and a request for LISP compiler info

2. What I want from my Common Lisp vendor and the Common Lisp community

3. lucid common lisp -- C -- Common lisp intercallability

4. Lucid (Sun) Common Lisp vs Allegro (Franz) Common Lisp - the Summary

5. Lucid (Sun) Common Lisp vs Allegro (Franz) Common Lisp

6. Sun Common Lisp vs. Allegro Common Lisp

7. Q: javadoc like tools for Common Lisp

8. Lex/Yacc -Type Tools For Common LISP

9. New Common Lisp, Lisp-to-C translation, Lisp library for C

10. Common Lisp interpeter/compiler

11. Freeware Common lisp compiler?

12. Free Common LISP compilers for Digital Alphas

 

 
Powered by phpBB® Forum Software