Mail Archives: geda-user/2017/02/16/15:06:50
--001a11488a42ac8f840548ab50dd
Content-Type: text/plain; charset=UTF-8
https://xkcd.com/927/
(Just because - funny ;))
Really a shame there isn't some defacto standard -everyone- (including
commercial eda) uses.
On 16 Feb 2017 18:41, "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via
geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:
> On Thu, Feb 16, 2017 at 06:47:54PM +0100, gedau AT igor2 DOT repo DOT hu wrote:
> >
> >
> > On Thu, 16 Feb 2017, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via
> geda-user AT delorie DOT com] wrote:
> >
> > >Ah, I see you're reimplementing json and such...
> >
> > Which point made you think that?
>
> Similarity ;-)
>
> > Facts:
> >
> > - the whole parser impelemntaion is about 60 lines of C code (I can't
> > believe JSON and such goes that low)
> >
> > - 0 external dependencies
> >
> > - not language specific - many languages don't have easily accessible
> > json/xml/whatever parsers but can read lines of text
> >
> > - you sure noticed it's not a tree, but a flat thing
>
> Well, any limited implementation is less than a more complex one.
>
> > >
> > >FWIW, I would prefer to have a parser for verilog or vhdl
> > >available for all our programs as a library.
> >
> > Well, MYSP (Make Your Specific Proposal) and we'll see if it gains
> > acceptance. Even better if you also include your implementation with the
> > proposal.
>
> s-expressions ;-)
>
> Kicad already uses them, and you already use Erich's parser to
> work with them, IIUC.
>
> Scheme just 'read()'s them.
>
> Please consider applying of <irony></irony> tags to my proposals
> if you think I just troll you :-) I don't want to mean any offence
> or trolling, honestly.
>
> --
> Vladimir
>
--001a11488a42ac8f840548ab50dd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto"><span style=3D"font-family:lucida,helvetica,sans-serif;fo=
nt-size:16px;text-align:center;background-color:rgb(255,255,255)"><a href=
=3D"https://xkcd.com/927/">https://xkcd.com/927/</a></span><div dir=3D"auto=
"><span style=3D"font-family:lucida,helvetica,sans-serif;font-size:16px;tex=
t-align:center;background-color:rgb(255,255,255)"><br></span></div><div dir=
=3D"auto"><span style=3D"font-family:lucida,helvetica,sans-serif;font-size:=
16px;text-align:center;background-color:rgb(255,255,255)">(Just because - f=
unny ;))</span></div><div dir=3D"auto"><span style=3D"font-family:lucida,he=
lvetica,sans-serif;font-size:16px;text-align:center;background-color:rgb(25=
5,255,255)"><br></span></div><div dir=3D"auto"><span style=3D"font-family:l=
ucida,helvetica,sans-serif;font-size:16px;text-align:center;background-colo=
r:rgb(255,255,255)">Really a shame there isn't some defacto standard -e=
veryone- (including commercial eda) uses.</span></div><div dir=3D"auto"><sp=
an style=3D"font-family:lucida,helvetica,sans-serif;font-size:16px;text-ali=
gn:center;background-color:rgb(255,255,255)"><br></span></div><div dir=3D"a=
uto"><span style=3D"font-family:lucida,helvetica,sans-serif;font-size:16px;=
text-align:center;background-color:rgb(255,255,255)"><br></span></div></div=
><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On 16 Feb 2017 1=
8:41, "Vladimir Zhbanov (<a href=3D"mailto:vzhbanov AT gmail DOT com">vzhbano=
v AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT de=
lorie.com</a>]" <<a href=3D"mailto:geda-user AT delorie DOT com">geda-user=
@delorie.com</a>> wrote:<br type=3D"attribution"><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">On Thu, Feb 16, 2017 at 06:47:54PM +0100, <a href=3D"mailto:gedau AT i=
gor2.repo.hu">gedau AT igor2 DOT repo DOT hu</a> wrote:<br>
><br>
><br>
> On Thu, 16 Feb 2017, Vladimir Zhbanov (<a href=3D"mailto:vzhbanov AT gmai=
l.com">vzhbanov AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com=
">geda-user AT delorie DOT com</a>] wrote:<br>
><br>
> >Ah, I see you're reimplementing json and such...<br>
><br>
> Which point made you think that?<br>
<br>
Similarity ;-)<br>
<br>
> Facts:<br>
><br>
> - the whole parser impelemntaion is about 60 lines of C code (I can=
9;t<br>
> believe JSON and such goes that low)<br>
><br>
> - 0 external dependencies<br>
><br>
> - not language specific - many languages don't have easily accessi=
ble<br>
> json/xml/whatever parsers but can read lines of text<br>
><br>
> - you sure noticed it's not a tree, but a flat thing<br>
<br>
Well, any limited implementation is less than a more complex one.<br>
<br>
> ><br>
> >FWIW, I would prefer to have a parser for verilog or vhdl<br>
> >available for all our programs as a library.<br>
><br>
> Well, MYSP (Make Your Specific Proposal) and we'll see if it gains=
<br>
> acceptance. Even better if you also include your implementation with t=
he<br>
> proposal.<br>
<br>
s-expressions ;-)<br>
<br>
Kicad already uses them, and you already use Erich's parser to<br>
work with them, IIUC.<br>
<br>
Scheme just 'read()'s them.<br>
<br>
Please consider applying of <irony></irony> tags to my proposal=
s<br>
if you think I just troll you :-) I don't want to mean any offence<br>
or trolling, honestly.<br>
<br>
--<br>
=C2=A0 Vladimir<br>
</blockquote></div></div>
--001a11488a42ac8f840548ab50dd--
- Raw text -