X-Git-Url: http://git.pond.sub.org/?p=eow;a=blobdiff_plain;f=scratch.lisp;h=67540bc03200e05d224e0c19a4beb89d313ae6c4;hp=0627c41798a26d7ee124804c5d5cd941a68b703d;hb=96d5b46f8a408652757fb21a801c005697dc45f7;hpb=92ba73bfcfe7d8cfe0a8bbc46d25813f3689a77d;ds=sidebyside diff --git a/scratch.lisp b/scratch.lisp index 0627c41..67540bc 100644 --- a/scratch.lisp +++ b/scratch.lisp @@ -15,9 +15,9 @@ ;"value" 8 4 0 -1 ;"name" 3 4 0 -1 ;/2 -(defclass type () - ((value :type 8 :flags 4 :len 0 :table nil) - (name :type 3 :flags 4 :len 0 :table nil))) +(defclass meta-type () + ((value :x-type 8 :x-flags 4 :x-len 0 :x-table nil) + (name :x-type 3 :x-flags 4 :x-len 0 :x-table nil))) ;; http://localhost:4242/eow/ @@ -35,3 +35,17 @@ ;(klacks:peek-next *s*) ;(klacks:find-element *s* "entry") ;(klacks:serialize-element *s* (cxml-xmls:make-xmls-builder)) + +;;;;;;;;;;;;;;;;;; + +(defclass meta-type () + (value name)) + +(sb-mop:ensure-class 'meta-type + ':direct-superclasses '() + ':direct-slots (list (list ':name 'value) + (list ':name 'name))) + + +(loop for entry across (xdump::table-entries (xdump::get-table "table")) if entry collect (xdump-data::table-name entry)) +