|
From: | Per Bothner |
Subject: | Re: [Kawa-commonlisp-dev] [PATCH] Type refactoring. |
Date: | Sat, 20 Oct 2012 22:32:28 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0 |
On 10/20/2012 12:49 AM, Helmut Eller wrote:
On Fri, Oct 19 2012, Charles Turner wrote:I generalised LispLanguage's string2Type into Language. There are now no overrides of this method, it's only fiddled with using the getNamedType hook as explained above. There's probably a much cleaner way of achieving these special cases. I need to think it about it more. Still not very happy with the type handling.Would it be hard to use Symbols instead of Strings as type names? For Common Lisp at least it would be more correct to use symbols.
In principle I think you're right. However, this cleanup is mostly focused on the language-independent framework for "built-in" types, which we can treat as all being in the COMMON-LISP package. I.e. this comes *after* normal name resolution (using symbols) fails to find a match. So at least for now I think it's ok to not use Symbols *at this level* - though we may need to revisit later. -- --Per Bothner address@hidden http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |