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

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

[Kawa-commonlisp-dev] Internal symbol representation


From: Charles Turner
Subject: [Kawa-commonlisp-dev] Internal symbol representation
Date: Fri, 27 Jul 2012 20:35:02 +0100

I have some code that parses (declare (type integer fnord))
I check to see if the I'm processing it using

(case name
  ((declare) ...)
  ...)

however, name is internally represented as {COMMON-LISP}:DECLARE, so
that match fails. I've gone to all the lengths I think of to change
that, including modiying Symbols' toString and DisplayFormat

So,

#|kawa:589|# '(declare (type integer fnard))
(DECLARE (TYPE integer FNARD))
#|kawa:590|# (invoke 'cl:car '|toString|)
COMMON-LISP:CAR
#|kawa:591|# 'cl:car
CAR

so where do you guys think this might be happening?

Thanks,
Charles.



reply via email to

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