[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scheme syntax tree
From: |
Thompson, David |
Subject: |
Re: Scheme syntax tree |
Date: |
Fri, 4 Dec 2015 16:07:38 -0500 |
On Fri, Dec 4, 2015 at 3:08 PM, Jan Synáček <address@hidden> wrote:
>
> I have a feeling that I saw a module that can parse a scheme program
> into a syntax tree somewhere. Does such module exist? Or do I have to
> roll my own?
Scheme is its own syntax tree, this is why they call Scheme (and other
Lisps) "homoiconic." If you want to read a s-expression from an open
port, just use 'read'.
Happy hacking,
- Dave