devbisme / kinparse

A Parser for KiCad EESCHEMA netlists.
MIT License
22 stars 9 forks source link

date, title, rev and company have optional strings #1

Closed mmccoo closed 6 years ago

mmccoo commented 6 years ago

when I generate a netlist from linux (the test in your repo has a windows path) I get no arguments to the date, title, rev, and company arguments

(sheet (number 1) (name /) (tstamps /) (title_block (title) (company) (rev) (date) (source gardenlight.sch) (comment (number 1) (value "")) (comment (number 2) (value "")) (comment (number 3) (value "")) (comment (number 4) (value "")))))

doing this: @@ -68,16 +68,16 @@ def _parse_netlist_kicad(text):

 # Design section.
 source = _paren_clause('source', anystring)

gets the parser to pass.

I've attached the sch and net files.

Sadly, what I really need is a .sch parser. I want the locations of stuff in the eeschema sheet. Still, by reading your parser I discovered the pyparser package which appears to be very nice.

gl.zip

xesscorp commented 6 years ago

Fixed.