Mail Archives: geda-user/2015/02/08/08:58:05
On Sun, 8 Feb 2015, Christian Riggenbach wrote:
> On Sunday 08 February 2015 13.59:25 you wrote:
>>> My dream
>>> would be a console in gschem (or standalone) for executing our own
>>> scriptlets directly on the life data.
>>
>>
>> When using gschem try hitting the ':'-key, voila a console! Now you
>> need to brush up on your Guile coding skills...
>
> Like that? http://www.gnu.org/software/guile/manual/guile.html#Running-Guile-Interactively
>
> Yeah, very straighforward. Call me ignorant, but we all know C on some level,
> and learning yet another language with a completely different syntax sounds not
> like efficiently spent time to me. Simple scriptlets should be a mater of a couple
> of lines, not a jungle of brackets. Especialy as we wan't to attract new
> developers, we should lower the hurdles, not make them higher.
I agree. Of course this also depends on what the users are familiar with.
Offtopic: I love using awk for scripting, both because the whole language
is minimalistic and because the syntax is so close to C.
>
> I once wanted to change a netlister backend to my needs, but I gave up and
> used grep/awk/cut because of the (IMHO) obscure syntax of scheme. Simple
Had the same issue. I finally decided to bite the bullet and wrote a
couple of exporters in guile to do the netlisting and dump everything in
various text formats then I can use grep/sed/awk to process one of the
text formats.
Regards,
Igor2
- Raw text -