www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/11/18:53:36

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:sender:in-reply-to:references:date:message-id:subject
:from:to:content-type;
bh=00jBrtVgHsyFLKwWWvg0bT/oQQUS+muy/j3yqLI6crg=;
b=Vc4BA/xhpkY21I+Y+e32QIkdhgv+G/EfGyxXFheOOA1tl+G6HHbOonRFcO2T7WjJsz
HYq61sr4UdM86CuzYdvDS86RUjpkZkmStOkoG0rmi2m6h+IhQAiqlN0hA5bb98CfGMyv
DSnIfx0TMvuZs22pq16fQAyO+4xsOIINRaHB/ZVXbrjKUZY6n8LUTthYSOJBtF7vrMXt
L5u+Q3ClaeMdKMkRPw2AjyRFrLK4M+CtyV59Q5KPbhcEIc0iTlXLl3Tx77mCD0iHvHo9
d3OPLYkSRk6lf7B5QfM4KGFoJHUP2emt2PsGNZyE4fexDfzbwxhy010oB8a+qsWJMv9V
toCA==
MIME-Version: 1.0
X-Received: by 10.182.96.100 with SMTP id dr4mr1108218obb.49.1442011999029;
Fri, 11 Sep 2015 15:53:19 -0700 (PDT)
Sender: svenn DOT bjerkem AT gmail DOT com
In-Reply-To: <D1C8547E-A899-4865-8416-EB7F03958C1C@noqsi.com>
References: <20150911215322 DOT GC7946 AT localhost DOT localdomain>
<D1C8547E-A899-4865-8416-EB7F03958C1C AT noqsi DOT com>
Date: Sat, 12 Sep 2015 00:53:18 +0200
X-Google-Sender-Auth: f_JtV5Ca2yoEngG7WEVA9p05eXw
Message-ID: <CAGde_xPiL8Y7Cp2XcOpnwzk1bY9e0TYRaxii71MkThO=TNsqkQ@mail.gmail.com>
Subject: Re: [geda-user] Guile snippets
From: "Svenn Are Bjerkem (svenn DOT bjerkem AT googlemail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user <geda-user AT delorie DOT com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--001a11c33560f6cee7051f8094dc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12 September 2015 at 00:22, John Doty <jpd AT noqsi DOT com> wrote:

>
> On Sep 11, 2015, at 3:53 PM, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via
> geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
>
> > I'm trying to make Guile more interesting / less awful for gEDA users.
> >
> > As a first attempt, I've added some example scripts at [1].
> >
> > Please look at them, try them and ask questions if something is unclear=
.
> >
> > I'm planning to add other info since I have some (I hope) useful
> > scripts, e.g. making symbols using Guile or transforming hierarchy into
> > a symbol (grown from from the geda_sch2sym shell script on Launchpad).
> >
> > Any feedback is appreciated.
>
> Really cool stuff!
>
> The only thing I=E2=80=99d change is the header "Scripting examples=E2=80=
=9D. It should be
> =E2=80=9CGschem Scripting Examples=E2=80=9D. The gschem and gnetlist Guil=
e API=E2=80=99s are very
> different, so it could confuse readers.
>
>
Currently the language confuse me. I wrote a lot of helper scripts during
my Cadence days. SKILL is also a kind of LISP, but it strikes me how
different the notation is. Where SKILL hardly used any other magic
characters but ', guile seems to use *,? and ! in ways I am not able to
grok by just looking at the code.

I would be happy if the scripts were elaborated a bit more regarding 'how
to think when programming guile in geda' for people who has programmed
before, but not in guile.

I just got started with John's example for back-end programming in
gnetlist, and I really think that gnet-devel.scm should be a part of the
distribution. Playing around on the REPL command line reminds me of the CIW
window in Cadence. Does the same exist for gschem too?

--=20
Svenn

--001a11c33560f6cee7051f8094dc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 1=
2 September 2015 at 00:22, John Doty <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:jpd AT noqsi DOT com" target=3D"_blank">jpd AT noqsi DOT com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex"><span class=3D""><br>
On Sep 11, 2015, at 3:53 PM, Vladimir Zhbanov (<a href=3D"mailto:vzhbanov AT g=
mail.com">vzhbanov AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie.=
com">geda-user AT delorie DOT com</a>] &lt;<a href=3D"mailto:geda-user AT delorie DOT com=
">geda-user AT delorie DOT com</a>&gt; wrote:<br>
<br>
&gt; I&#39;m trying to make Guile more interesting / less awful for gEDA us=
ers.<br>
&gt;<br>
&gt; As a first attempt, I&#39;ve added some example scripts at [1].<br>
&gt;<br>
&gt; Please look at them, try them and ask questions if something is unclea=
r.<br>
&gt;<br>
&gt; I&#39;m planning to add other info since I have some (I hope) useful<b=
r>
&gt; scripts, e.g. making symbols using Guile or transforming hierarchy int=
o<br>
&gt; a symbol (grown from from the geda_sch2sym shell script on Launchpad).=
<br>
&gt;<br>
&gt; Any feedback is appreciated.<br>
<br>
</span>Really cool stuff!<br>
<br>
The only thing I=E2=80=99d change is the header &quot;Scripting examples=E2=
=80=9D. It should be =E2=80=9CGschem Scripting Examples=E2=80=9D. The gsche=
m and gnetlist Guile API=E2=80=99s are very different, so it could confuse =
readers.<br><br></blockquote><div><br></div><div>Currently the language con=
fuse me. I wrote a lot of helper scripts during my Cadence days. SKILL is a=
lso a kind of LISP, but it strikes me how different the notation is. Where =
SKILL hardly used any other magic characters but &#39;, guile seems to use =
*,? and ! in ways I am not able to grok by just looking at the code.</div><=
div><br></div><div>I would be happy if the scripts were elaborated a bit mo=
re regarding &#39;how to think when programming guile in geda&#39; for peop=
le who has programmed before, but not in guile.</div></div></div><div><br><=
/div>I just got started with John&#39;s example for back-end programming in=
 gnetlist, and I really think that gnet-devel.scm should be a part of the d=
istribution. Playing around on the REPL command line reminds me of the CIW =
window in Cadence. Does the same exist for gschem too?<br clear=3D"all"><di=
v><br></div>-- <br><div class=3D"gmail_signature">Svenn</div></div>

--001a11c33560f6cee7051f8094dc--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019