kawa-commonlisp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Kawa-commonlisp-dev] [PATCH] Type refactoring.


From: Charles Turner
Subject: [Kawa-commonlisp-dev] [PATCH] Type refactoring.
Date: Sat, 18 Aug 2012 21:18:20 +0100

So this is the part I'm least looking forward to. Sincere apologies in
advance. :-)

The motivation for this set of changes is that Scheme#getTypeMap is
mostly applicable to other language, esp CL, so I'd like to move it
into Language. Also, Scheme#checkDefaultBinding has a lot of stuff
that can be put to good use for other languages, but it needs
refactoring to check the respective language's type map for certain
lookups.

My first micro-patch is to move away from the various static helper
methods in Scheme/Language, so that we can put Java's abstraction
facilities to better use. This has been a trickle of changes to other
languages that were calling things like Scheme.getNamedType. Those are
now changed to Scheme.getInstance().getNamedType().

Later patches will rely on the removal of these static modifiers.

Charles.

Attachment: types.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]