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

2011-05-27 Thread Patrick Doyle
On Fri, May 27, 2011 at 12:33 PM, DJ Delorie  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 needs".
>
Ruby comes installed on the Mac.  It's pretty trivial to install it on Windows.

--wpd


___
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 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.
   [1]http://www.ruby-lang.org/en/downloads/
   [2]http://rubyinstaller.org/
   Best Regards, Felipe.

   --
   Felipe De la Puente Christen

References

   1. http://www.ruby-lang.org/en/downloads/
   2. http://rubyinstaller.org/


___
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 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

> 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

> 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.

Hmmm... PCB needs the concept of an "importer HID" too, I think.  (unrelated)

> Any volunteers to do this in Python?

Sounds like we have many volunteers to do this, they just don't
realize it yet...

I don't mind if more than one person chooses to show an implementation
of this.  I'd rather pick from many than not have any.


___
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 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. Python
is more popular in western countries, one reason is that it was
available earlier here, why Ruby started in Japan. Ruby is more popular
for web development, while Python is stronger in scientific world,
numpy, mathplotlib ...




___
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 Adrian Pardini
On 27/05/2011, Gareth Edwards  wrote:
> On 27 May 2011 05:33, John Doty  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.
[...]
> Funny you should say this. I've been working on and off on a grammar
> for PyParsing:
>
> http://pyparsing.wikispaces.com/
>
> to do the second part of that. Happy for me to continue and publish?
>

Please do. I expect to have a free week this winter , I'll help with
anything I can.

cheers.

-- 
Adrian.
http://ovejafm.com
http://elesquinazotango.com.ar
http://www.elarteylatecnologia.com.ar


___
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 Gareth Edwards
On 27 May 2011 05:33, John Doty  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 is a job for a committee. One we have this, though, we can 
> all start playing. Any volunteers to do this in Python?

Funny you should say this. I've been working on and off on a grammar
for PyParsing:

http://pyparsing.wikispaces.com/

to do the second part of that. Happy for me to continue and publish?

Cheers
Gareth


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