Re: gEDA-user: Python: Task list ...

2011-05-27 Thread Gareth Edwards
On 27 May 2011 05:33, John Doty j...@noqsi.com wrote: It seems to me that the first step to switching languages here is for somebody to: 1. Define a mapping of the .sch/.sym file format into a data structure. 2. Implement a parser that reads a file into such a structure. I don't think this

Re: gEDA-user: Python: Task list ...

2011-05-27 Thread Adrian Pardini
On 27/05/2011, Gareth Edwards gar...@edwardsfamily.org.uk wrote: On 27 May 2011 05:33, John Doty j...@noqsi.com wrote: It seems to me that the first step to switching languages here is for somebody to: 1. Define a mapping of the .sch/.sym file format into a data structure. 2. Implement a

Re: gEDA-user: Python: Task list ...

2011-05-27 Thread Stefan Salewski
On Fri, 2011-05-27 at 13:33 +0900, John Doty wrote: Hmm, Python seems popular, Eagle, Windows, Basic, Java are popular too -- if popularity is your concern. Seriously -- I am not too happy that Python is praised, but Ruby is mentioned only a few times here. Both languages are very similar.

gEDA-user: Perl

2011-05-27 Thread DJ Delorie
This is more anecdotal than anything else... I'm a Perl fan myself. (shudder) Just before I learned Perl (WAY before python existed, before perl 5 even), my manager was talking to *his* manager about this nifty new tool called perl that they just discovered. Apparently, their metric for

Re: gEDA-user: File format change needed for metric conversion

2011-05-27 Thread DJ Delorie
Please try to make format bumps so, that it is still possible to share geda/pcb documents in a heterogeneous environment. My desire for any bump is as follows: * Version N adds support for the feature * Version N+1 may require it in saved files. So problems should only happen when you want

Re: gEDA-user: Perl

2011-05-27 Thread Mark Rages
On Fri, May 27, 2011 at 10:54 AM, DJ Delorie d...@delorie.com wrote: Shortly after, I needed it, so I learned it.  It'll be the same with Python, just like it was with Scheme.  I'm a compiler engineer - picking up languages is second nature to me. Python is really easy to learn. Dive in:

Re: gEDA-user: Task list for: Solving the light/heavy symbol problem

2011-05-27 Thread DJ Delorie
I will put together such a combined symbol and footprint lib in my section of gedasymbols. May take about a week or so. Excellent! Thanks! This implies changes to the way gschem, gnetlist and PCB search for libs. Currently, the only way to replace the default library is to actually

Re: gEDA-user: Python: Task list ...

2011-05-27 Thread DJ Delorie
Hmm, Python seems popular, but my Python capability is limited to: Sounds like my guile capabilities :-) 1. Define a mapping of the .sch/.sym file format into a data structure. 2. Implement a parser that reads a file into such a structure. I might try this for PCB-Perl just for fun.

Re: gEDA-user: Python: Task list ...

2011-05-27 Thread DJ Delorie
to do the second part of that. Happy for me to continue and publish? Please! ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Re: gEDA-user: Python: Task list ...

2011-05-27 Thread DJ Delorie
How hard is it to install Ruby on Windows, or Mac, and use it from our ports of gEDA and PCB ? I think readily available on all platforms is just as important as many people know how to use it and it meets our technical needs. ___ geda-user mailing

Re: gEDA-user: Python: Task list ...

2011-05-27 Thread Felipe De la Puente Christen
On Fri, 2011-05-27 at 12:33 -0400, DJ Delorie wrote: How hard is it to install Ruby on Windows, or Mac, and use it from our ports of gEDA and PCB ? According to the following references, seems that at least one method is pretty straight forward and easy.

Re: gEDA-user: Perl

2011-05-27 Thread David C. Kerber
-Original Message- From: geda-user-boun...@moria.seul.org [mailto:geda-user-boun...@moria.seul.org] On Behalf Of DJ Delorie Sent: Friday, May 27, 2011 11:55 AM To: gEDA user mailing list Subject: gEDA-user: Perl ... You can implement arrays of hashes, hashes of arrays, arrays

Re: gEDA-user: Perl

2011-05-27 Thread Patrick Doyle
On Fri, May 27, 2011 at 11:54 AM, DJ Delorie d...@delorie.com wrote: This is more anecdotal than anything else... I'm a Perl fan myself. (shudder) Oh goody! flame war bate! I stopped liking perl when I learned why this script didn't do what I expected it to do: #!/usr/bin/perl -w my

Re: gEDA-user: Python: Task list ...

2011-05-27 Thread Patrick Doyle
On Fri, May 27, 2011 at 12:33 PM, DJ Delorie d...@delorie.com wrote: How hard is it to install Ruby on Windows, or Mac, and use it from our ports of gEDA and PCB ? I think readily available on all platforms is just as important as many people know how to use it and it meets our technical

Re: gEDA-user: Task list for: Solving the light/heavy symbol problem

2011-05-27 Thread John Griessen
On 05/26/2011 07:40 PM, John Doty wrote: If the consensus is that gnetlist is the place to perform the transformations we're discussing, then we're in Scheme territory, I think. I can't see abandoning guile/scheme. I've even written scripts in Cadence skill language, which is pretty much

Re: gEDA-user: Two things ... or actually, three

2011-05-27 Thread Peter Clifton
On Thu, 2011-05-26 at 10:03 +0200, Richard Rasker wrote: - Work flow of newer gschem/PCB version: until recently, I worked with an older PCB version (20080202), but I finally got round to compiling and installing the latest version -- and it's quite an improvement (no more disappearing

Re: gEDA-user: PCB: option dumpmenu missing

2011-05-27 Thread Felix Ruoff
Hello Kai-Martin, I have had a first look at your patch. You are right - nearly the whole documentation for the command-line actions is not up to date. So I think, the contend of your patch would improve the documentation a lot. First thing: The patch does not apply to my git repository :-(.

Re: gEDA-user: Task list for: Solving the light/heavy symbol problem

2011-05-27 Thread Mike Bushroe
DJ, while reading your comments about gschem and pcb requesting ALL the 'packets' that match the partial information in order to fill in gaps reminds me of another minor problem I have with the occasional work _I_ do. I usually start with an Atmel microcontroller and add on parts

Re: gEDA-user: Task list for: Solving the light/heavy symbol problem

2011-05-27 Thread DJ Delorie
but could the 'packet' of data also have choices for alternate naming in the schematic of pins with multiple uses? Perhaps that kind of choice could be part of the symbol itself, not part of the component data? It would have to be independent of the symbolic name we use in the packet, but

Re: gEDA-user: Perl

2011-05-27 Thread John Doty
On May 28, 2011, at 12:54 AM, DJ Delorie wrote: This is more anecdotal than anything else... I'm a Perl fan myself. (shudder) Just before I learned Perl (WAY before python existed, before perl 5 even), my manager was talking to *his* manager about this nifty new tool called perl