lis=new LispInputStream(new InputStreamReader(System.in)); |
lis=new LispInputStream(new InputStreamReader(System.in)); |
LispObject lo=null; |
LispObject lo=null; |
while((lo=lis.nextObject())!=null){ |
while((lo=lis.nextObject())!=null){ |
// System.out.println(lo); |
System.out.println(lo); |
if(lo.getType()==LispObject.CONS && lo.car().getName().equals("setq")){ |
if(lo.getType()==LispObject.CONS && lo.car().getName().equals("setq")){ |
Skeleton skel=LispToSkeleton.lispToSkeleton(lo.cdr().cdr().car().cdr().car()); |
Skeleton skel=LispToSkeleton.lispToSkeleton(lo.cdr().cdr().car().cdr().car()); |
System.out.println(skel); |
System.out.println(skel); |