[llvm-commits] [llvm] r71805 - in /llvm/trunk: docs/TableGenFundamentals.html test/TableGen/lisp.td utils/TableGen/Record.cpp utils/TableGen/Record.h utils/TableGen/TGLexer.cpp utils/TableGen/TGLexer.h utils/TableGen/TGParser.cpp
Dan Gohman
gohman at apple.com
Wed May 20 10:03:58 PDT 2009
On May 15, 2009, at 8:33 AM, David Greene wrote:
> On Friday 15 May 2009 05:27, Gabor Greif wrote:
>> David,
>>
>> did you consider adding the (more modern) Scheme
>> equivalents of these primitives instead:
>>
>> car --> head
>> cdr --> tail
>> (and possibly: null --> empty)
>>
>> Car and Cdr have some very specific historical baggage added,
>> an I do not think TG should willingly ingherit this legacy.
>
> I considered different names (not the Scheme ones specifically) but
> thought
> that being consistent with history would be a benefit for those
> already
> familiar with LISP. I'm certainly open to changing this. I don't
> particularly care what these things are named.
I agree with Gabor. car and cdr symbolize LISP in a way that would
be misleading for TG to suggest.
Also, please don't implement eval ;-).
Dan
More information about the llvm-commits
mailing list