import java.io.*; public class LispToSkeleton{ final static boolean debug=false; public static int[] lispToIntArray(LispObject l) throws LispException{ int i,len=l.length(); int[] array=new int[len]; for(i=0;i0) lis=new LispInputStream(new FileReader(args[0])); else lis=new LispInputStream(new InputStreamReader(System.in)); LispObject lo=null; while((lo=lis.nextObject())!=null){ System.out.println(lo); if(lo.getType()==LispObject.CONS && lo.car().getName().equals("setq")){ Skeleton skel=LispToSkeleton.lispToSkeleton(lo.cdr().cdr().car().cdr().car()); System.out.println(skel); } } } }