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

Re: gEDA-dev: [PATCH][RFC]New component library system



Hi folks,

Progress update on my component library work:

 - Scanning symbol directories now matches '.sym' case-insensitively.

 - Scheme functions as a component library.  See appended gafrc snippet for an
   extremely simple example.  If SLIB was available, you could implement both
   the directory and command component library back-ends in Scheme now. :)

 - You can now put the same component source into the library more than once,
   but only if you give it a different name.

As usual, you can get a patch from this URL:

http://repo.or.cz/w/geda-gaf/peter-b.git?a=commitdiff_plain;h=libraries;hp=master

Cheers,

Peter

-- 
Fisher Society                              http://tinyurl.com/o39w2
CU Small-Bore Club                          http://tinyurl.com/mwrc9

      09f911029d74e35bd84156c5635688c0            peter-b.co.uk


-------- gafrc snippet -----------

(define (scmlib-test-get name)
  (cond ((string= name "busripper")
         "v 20031231 1
T 0 400 5 8 0 0 0 0 1
device=none
P 0 0 100 100 1 0 0
{
T 0 500 5 8 0 0 0 0 1
pinseq=1
T 0 600 5 8 0 0 0 0 1
pinnumber=1
T 0 700 5 8 0 0 0 0 1
pintype=pas
T 0 800 5 8 0 0 0 0 1
pinlabel=netside
}
T 0 300 5 8 0 0 0 0 1
graphical=1
L 200 200 100 100 10 30 0 0 -1 -1
")))

(define (scmlib-test-list) (list "busripper"))

(component-library-funcs scmlib-test-list scmlib-test-get "ScmLib Test")



PGP signature



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev