Re: Growing a data type?
- From: Ali <emailaliclark@xxxxxxxxx>
- Date: Fri, 31 Oct 2008 08:38:24 -0700 (PDT)
On Oct 31, 1:40 pm, William James <w_a_x_...@xxxxxxxxx> wrote:
On Oct 31, 6:08 am, Ali <emailalicl...@xxxxxxxxx> wrote:
Hi,
Just watched Guy Steele's Growing a Language (http://video.google.com/
videoplay?docid=-8860158196198824415), very impressive.
Lisp got plus points for being able to abstract both abstract syntax
and function calls.
Here's a (hopefully) fun question: If Lisp didn't have a string data
type already, could you grow one which was indistinguishable from the
standard implementation, including double quote delimiters?
I don't expect this to be answered because I don't think I know any
language which can do this
This is trivial in Forth. The limitation is that the
opening double-quote mark must be followed by a space.
Instead of
"foo-bar"
you would have
" foo-bar"
Nice one. Can you do it in Lisp? Does " foo-bar" -> " foo-bar" ?
.
- References:
- Growing a data type?
- From: Ali
- Re: Growing a data type?
- From: William James
- Growing a data type?
- Prev by Date: Re: Growing a data type?
- Next by Date: Re: Is it a bad sign...
- Previous by thread: Re: Growing a data type?
- Next by thread: Re: Growing a data type?
- Index(es):
Relevant Pages
|