Re: Lepton EDA 1.9.14 announce and misc questions

2021-04-21 Thread Vladimir Zhbanov
On Tue, Apr 20, 2021 at 05:34:59PM -0700, Matt Wette wrote: ... > Hey.   I used the glib routine because it returns the same form, > if I read correctly.   The return value is a pointer to a sequence > of (C) pointers.  On my machine they are 8 bytes each.  So, if > the function is returning three

Re: Lepton EDA 1.9.14 announce and misc questions

2021-04-20 Thread Vladimir Zhbanov
Hi Matt, On Tue, Apr 20, 2021 at 06:46:27AM -0700, Matt Wette wrote: > > > On 4/20/21 5:47 AM, Matt Wette wrote: > > > > > > On 4/20/21 2:29 AM, Vladimir Zhbanov wrote: > > > Hi Guile users and devs, > > > > > > I'm the current m

Lepton EDA 1.9.14 announce and misc questions

2021-04-20 Thread Vladimir Zhbanov
Hi Guile users and devs, I'm the current maintainer of Lepton EDA suite, an about five year old fork of geda-gaf with accent to moving more functionality to Scheme code. I'm not sure if it is acceptable to advertise it here, please let me know if not. I just know several Guix packagers are readi

Re: G-Golf - Getting started

2021-04-12 Thread Vladimir Zhbanov
Hi Paul On Mon, Apr 12, 2021 at 12:35:58PM +0100, Paul Emsley wrote: > Hi G-Golfers, > > >From here: > https://www.gnu.org/software/g-golf/manual/g-golf.html > > >GNU G-Golf can be obtained from the following archive site > http://ftp.gnu.org/gnu/g-golf/. The file will >be named g-golf-

Re: guile-hall issues converting my project to a hall project

2021-02-17 Thread Vladimir Zhbanov
Hi Zelphir, On Tue, Feb 16, 2021 at 01:23:34AM +0100, Zelphir Kaltstahl wrote: ... > The line in the generated `configure` file looks quite simple. It is only: > > > GUILE_PKG(3.0 2.2 2.0) > > It looks like there could be a simple fix, but I do not know what to do > about this error

Re: Guile OpenGL

2021-01-09 Thread Vladimir Zhbanov
Hi Tim, On Fri, Jan 08, 2021 at 05:19:16PM -0600, Tim Meehan wrote: > I tried to configure Guile OpenGL with Guile 3.0.4 ... and I had to make > the following change in order to make it work (included below). > Apparently, it wants to be installed in: > /usr/local/lib/guile/3.0/ccache > > Apparen

Re: [ANN] guile-gi v0.3.1 released

2021-01-05 Thread Vladimir Zhbanov
On Sun, Jan 03, 2021 at 04:19:15AM -0800, Mike Gran wrote: > On behalf of the Guile-GI team, I am pleased to announce the release > of Guile-GI v0.3.1. > > This library hopes to make GTK and WebKit available to Guile. Are there some projects using the library you would recommend to look at? IIUC

Re: No Guile on Windows? (was: My Guile Hacker Handbook)

2020-07-27 Thread Vladimir Zhbanov
Mike, On Mon, Jul 27, 2020 at 08:57:05PM -0700, Mike Gran wrote: > On Tue, Jul 28, 2020 at 10:52:47AM +0800, Christopher Lam wrote: > > My mistake: gnucash uses MinGW-w64. > > > > The gnucash lead developer has a few patches to successfully compile guile > > on MinGW-w64. It would be great if the

Re: A licence for an ‘awesome list’ (was: Starting a GNU Guile awesome list)

2020-07-16 Thread Vladimir Zhbanov
On Fri, Jul 17, 2020 at 01:55:18AM +0300, Vladimir Zhbanov wrote: ... > I suspect it is all about including chunks of your GPL'd code as > examples into your other licenced docs. And vice versa, e.g. if I've meant *otherwise licenced*, sorry for mistake. -- Vladimir (λ)ε

Re: A licence for an ‘awesome list’ (was: Starting a GNU Guile awesome list)

2020-07-16 Thread Vladimir Zhbanov
On Thu, Jul 16, 2020 at 10:47:21PM +0200, Zelphir Kaltstahl wrote: > Hi Dmitry! > > On 16.07.20 11:18, Dmitry Alexandrov wrote: > > Zelphir Kaltstahl wrote: > >> On 15.07.20 08:36, Dr. Arne Babenhauserheide wrote: > >>> Zelphir Kaltstahl writes: > > First at foremost, the list _itself_ has t

Re: Using guile-scmutils with REPL and compilation

2020-07-08 Thread Vladimir Zhbanov
On Thu, Jul 09, 2020 at 12:04:29AM +0300, Viacheslav Dushin wrote: ... > >Another way is to just use: > > >scheme@(guile-user)> (primitive-load "/My/absolute/file/name.scm") > > What's the key difference between load and primitive-load? The docs are > unclear. AFAICS in the docs, under the hoo

Re: "Missing" libraries/concepts found in other languages/ecosystems?

2020-07-08 Thread Vladimir Zhbanov
On Wed, Jul 08, 2020 at 09:38:28AM +0200, Simen Endsjø wrote: > > Hi, I'm new to scheme/lisp, so I'm trying to find out how to do things the > "lisp > way". On the other hand, I like things from other ecosystems too, and I'm > having > problems finding this for Guile. It might be because there's n

Re: Using guile-scmutils with REPL and compilation

2020-07-04 Thread Vladimir Zhbanov
On Sat, Jun 20, 2020 at 02:43:00AM +0300, Viacheslav Dushin wrote: > Hello all > > I have a couple of questions about guile-scmutils. > > First one: > I run into a similar problem that is described here: > https://lists.gnu.org/archive/html/guile-user/2008-04/msg7.html > Turns out the solutio

Re: Using guile-scmutils with REPL and compilation

2020-06-20 Thread Vladimir Zhbanov
Hi Slava, On Sat, Jun 20, 2020 at 02:43:00AM +0300, Viacheslav Dushin wrote: ... > Second one: > There is also a problem with code compilation: > > (load (%search-load-path "guile-scmutils/src/load.scm")) > (set-current-module generic-environment) > > (define ((Gamma w) t) > (up t (w t) ((

Re: SRFI-64: test exception symbol

2020-05-01 Thread Vladimir Zhbanov
Hi Taylan, On Fri, May 01, 2020 at 11:58:41AM +0200, Taylan Kammer wrote: > On 30.04.2020 17:55, Vladimir Zhbanov wrote: > > On Thu, Apr 30, 2020 at 06:06:21PM +0300, Vladimir Zhbanov wrote: > > > Hi, > > > > > > In SRFI-64, is there a way to test what exc

Re: SRFI-64: test exception symbol

2020-04-30 Thread Vladimir Zhbanov
On Thu, Apr 30, 2020 at 06:06:21PM +0300, Vladimir Zhbanov wrote: > Hi, > > In SRFI-64, is there a way to test what exception raised using > test-error() or anything else? I know about looking into test > logs (if 'test-error' is used), though that's not what I need

SRFI-64: test exception symbol

2020-04-30 Thread Vladimir Zhbanov
Hi, In SRFI-64, is there a way to test what exception raised using test-error() or anything else? I know about looking into test logs (if 'test-error' is used), though that's not what I need. I need a way to be sure a test raises the exception it should raise. Thanks in advance -- Vladimir

Re: GNU Guix 1.1.0 released

2020-04-15 Thread Vladimir Zhbanov
On Wed, Apr 15, 2020 at 04:36:58PM +0200, Tobias Geerinckx-Rice wrote: ... > Only your local copy of that key is out of date. > > You can refresh your entire keyring with > > $ gpg --refresh-keys > > or fetch only Ludo's key directly from Savannah: > > $ curl -L 'https://savannah.gnu.org/pe

Re: GNU Guix 1.1.0 released

2020-04-15 Thread Vladimir Zhbanov
Hi Ludovic, Thanks! And JFYI: ... gpg: Note: signature key 090B11993D9AEBB5 expired Mon Feb 18 16:18:37 2019 MSK gpg: Note: This key has expired! -- Vladimir (λ)επτόν EDA — https://github.com/lepton-eda

Re: Stepping back up as a co-maintainer

2019-10-16 Thread Vladimir Zhbanov
On Wed, Oct 16, 2019 at 01:41:00AM -0400, Mark H Weaver wrote: > Hello all, > > In light of recent events, I've decided to step back up as a > co-maintainer of GNU Guile. > > Thanks, >Mark > Glad to hear it, thank you :-) -- Vladimir (λ)επτόν EDA — https://github.com/lepton-eda

Re: Guile and MinGW

2019-10-08 Thread Vladimir Zhbanov
Michael, Thank you for your work! -- Vladimir (λ)επτόν EDA — https://github.com/lepton-eda

Guile and MinGW

2019-10-02 Thread Vladimir Zhbanov
The question is mostly to devs: Are there any plans on merging wip MinGW fixes for 2.2 by Michael Gran into a stable release? Any issues with them? Or, maybe, they have already went to the one of releases? I've asked msys2 maintainers [1], and they say they won't build the MinGW guile package fr

Re: Weird Guile Scheme Behaviour

2019-09-13 Thread Vladimir Zhbanov
Philip, On Fri, Sep 13, 2019 at 11:43:06AM +0200, Philip K. wrote: > > Hi, > > I was reading a thread on an imageboard[0] the other day, then I came > across a most peculiar "bug", if it even is one. Since the original > example was a bit dense (it tried to solve a problem someone else had > p

Re: Maintainership changes: many thanks to Mark!

2019-09-11 Thread Vladimir Zhbanov
On Wed, Sep 11, 2019 at 09:56:53AM +0200, Andy Wingo wrote: > Hi all, > > After many years working on Guile and more than 5 years in a > maintainer role, Mark Weaver has decided to step down. Taking over > from him and remaining as Guile co-maintainers are Ludovic Courtès and > Andy Wingo. > > O

Re: extract documentation from (define ...

2019-09-02 Thread Vladimir Zhbanov
On Mon, Sep 02, 2019 at 07:50:40PM +0200, Jan Nieuwenhuizen wrote: > Vladimir Zhbanov writes: > > >> For Emacsy[0] I have used a guild doc-snarf but am now switching to doc > >> strings using. See the `wip-doc' branch and esp. > >> > >> >

Re: extract documentation from (define ...

2019-09-02 Thread Vladimir Zhbanov
On Mon, Sep 02, 2019 at 07:19:15AM +0200, Jan Nieuwenhuizen wrote: > Jesse Gibbons writes: > > > I am trying to generate documentation for a project written in guile. I > > tried "guild doc-snarf" [0] but apparently it only recognizes > > documentation in double-semicolon comments. A lot of the pr

Re: Self-evaluating function and closure

2019-06-17 Thread Vladimir Zhbanov
On Sun, Jun 16, 2019 at 07:29:59AM -0400, Mark H Weaver wrote: > Hello again, > > Vladimir Zhbanov writes: > > > scheme@(guile-user)> (define (function-generator) > >(let ((func #f)) > >

Re: Self-evaluating function and closure

2019-06-17 Thread Vladimir Zhbanov
Hi Mark, John, My fault, sorry. In a fresh session there is no toplevel definition of the function defined by 'let'. Looking through Geiser history I found "(define a $9)". Probably this was the culprit. My apologies and thank you for your help! -- Vladimir (λ)επτόν EDA — https://github.com/l

Re: Self-evaluating function and closure

2019-06-16 Thread Vladimir Zhbanov
Mark, On Sat, Jun 15, 2019 at 08:36:34PM -0400, Mark H Weaver wrote: > Hi Vladimir, > > Vladimir Zhbanov writes: > > > Greetings, > > > > I have tried almost a textbook example with Guile 2.2.4: > > > > scheme@(guile-user)> (define (function-generat

Self-evaluating function and closure

2019-06-15 Thread Vladimir Zhbanov
Greetings, I have tried almost a textbook example with Guile 2.2.4: scheme@(guile-user)> (define (function-generator) (let ((func #f)) (lambda () (set! func (let a () a)) func))) scheme@(guile-user)> (define x (function-g

Re: display-backtrace

2019-04-21 Thread Vladimir Zhbanov
Mike, Catonano, Just want to thank you once again and answer your question of if or how it works :-) I use the approach with setting "COLUMNS" in terminal and Emacs very often now. It works great, thank you! -- Vladimir (λ)επτόν EDA — https://github.com/lepton-eda

Re: display-backtrace

2019-03-03 Thread Vladimir Zhbanov
Mike, Catonano, Thank you, friends! I have solved my issue before you answered, though I'm grateful to you both. I am going to use the solution suggested by Mike and approved by Catonano if/when I will have similar problems in future. I think, the recipe by Mike would go to the Guile texinfo ma

display-backtrace

2019-02-17 Thread Vladimir Zhbanov
Hi, Is there a way to not limit backtrace output with current terminal width setting? When I compile my project which uses autotools and srfi-64 testing suite, it fails on `make distcheck' stage so I cannot use REPL for debugging (well, I don't know if it's possible in such a case). When looking a

Re: guix binary signature key expired

2018-12-19 Thread Vladimir Zhbanov
On Wed, Dec 19, 2018 at 08:58:24AM +0100, Pierre Neidhardt wrote: > Hi Vlad, > > Your GnuPG keyring is probably out of date. Refresh it with > > gpg --refresh-keys > > and you should be good to go! Pierre, thank you, that fixed it. -- Vladimir

guix binary signature key expired

2018-12-18 Thread Vladimir Zhbanov
I've loaded binary guix 0.16 (the latest), its signature, and ran `gpg --verify' on it as explained here [1]. Here is the output I've got: ~ $ gpg --verify guix-binary-0.16.0.i686-linux.tar.xz.sig gpg: assuming signed data in 'guix-binary-0.16.0.i686-linux.tar.xz' gpg: Signature made Thu Dec 6 1

Re: [ANN] guile-gi v0.0.1 released

2018-11-15 Thread Vladimir Zhbanov
On Thu, Nov 15, 2018 at 06:41:25AM -0800, Mike Gran wrote: > Hello. I am announcing guile-gi v0.0.1. Very promising. Thank you! -- Vladimir

Re: need help for new guile-cairo release

2018-10-01 Thread Vladimir Zhbanov
Daniel, David, Thanks a lot for your work! Just a minor note. It would be nice to mention somewhere in the repo docs that guile-lib is necessary for `make check' to work. -- Vladimir

Portable way to use appropriate guile executable on different systems

2018-08-14 Thread Vladimir Zhbanov
Hi friends, Is there a portable way to find appropriate guile executable on different systems using autotools? I.e., I want, e.g. to use /usr/bin/guile-2.0 on Debian for my program (which cannot compile with guile-2.2 yet, but 2.2 is also installed on my system), and just /usr/bin/guile on FreeB

Re: primitive eval with module => Unbound variable?

2017-05-17 Thread Vladimir Zhbanov
On Tue, May 16, 2017 at 11:59:01PM +0200, Jan Nieuwenhuizen wrote: > Hi! > > My Mescc C compiler produces from C > > int main () {return 0;} > > a list of functions (lambdas), that are called with text-address, > data-address, globals, functions to produce lists of x86 instructions: > >

Re: ?-suffix for booleans... good-idea? or bad-idea?

2017-05-05 Thread Vladimir Zhbanov
? could be a prefix for booleans in contrast with predicates: (define ?red-x (red? x)) ... (if (red? x) 'a 'b) ... (if ?red-x 'a 'b) -- Vladimir

Re: Performance issue with guile-2.2

2017-04-11 Thread Vladimir Zhbanov
Hi, On 4/11/17, Thomas Morley wrote: ... > Reformated versions are attached, if someone else want to check, too. Thank you for those. Results on my machine are as follows: Guile 2.2: 8< $ /usr/local/bin/guile --version guile (GNU

Re: REPL history

2017-03-07 Thread Vladimir Zhbanov
On Tue, Mar 07, 2017 at 10:23:02AM +0100, Andy Wingo wrote: > On Mon 06 Mar 2017 22:44, Vladimir Zhbanov writes: > > > What I tried so far is to manually save dynamic state in repl: > > (define ds (current-dynamic-state)) > > > > and use it in GUI (with support

Re: REPL history

2017-03-06 Thread Vladimir Zhbanov
On Mon, Mar 06, 2017 at 09:48:51PM +0100, Andy Wingo wrote: > On Mon 06 Mar 2017 20:15, Vladimir Zhbanov writes: > > > OK, put things other ways. I have a GUI app which starts REPL in > > another thread. Is there a way to call a thunk in that REPL from > > the GUI app?

Re: REPL history

2017-03-06 Thread Vladimir Zhbanov
I probably confused things and my previous post is not correct. OK, put things other ways. I have a GUI app which starts REPL in another thread. Is there a way to call a thunk in that REPL from the GUI app? Basically, I want it to exit gracefully by calling (quit) in the REPL before GUI exits. -

REPL history

2017-03-05 Thread Vladimir Zhbanov
Hi Guile users, Is there any way to use history of work done in a spawned REPL? My GUI application spawns a REPL server in background terminal: (use-modules (system repl server)) (spawn server) Then users manually run: (use-modules (ice-9 readline)) (activate readline) However, after quitting

Re: C-c in guile

2017-01-23 Thread Vladimir Zhbanov
On Sun, Jan 22, 2017 at 02:54:31PM +0800, Alex Vong wrote: > Matt Wette writes: > > >> On Jan 21, 2017, at 3:55 AM, Alex Vong wrote: > >> > >> Hello, > >> > >> When running the external program "yes" in shell, > >> > >> $ yes > >> > >> We can terminate the process by pressing C-c. > >> > >

Re: Formatted output with locale

2016-11-23 Thread Vladimir Zhbanov
Hi Ludovic, ... >> What does it output if you type >> (number->locale-string 1.00 2 (make-locale LC_ALL "fr_FR.utf8")) >> >> that is with two zeros after the point? > > I get this: > > --8<---cut here---start->8--- > scheme@(guile-user)> (number->locale-s

Re: Formatted output with locale

2016-11-17 Thread Vladimir Zhbanov
On Thu, Nov 17, 2016 at 12:02:06PM +0100, Ludovic Courtès wrote: > Hi! > > d...@famic.de skribis: > > > I have problems to get a proper formatting using the (ice-9 format) > > module. In my code, I need to deal with monetary figures, but I fail > > to get the correct format for my German locale.

Fwd: Formatted output with locale

2016-11-13 Thread Vladimir Zhbanov
Martin, I'm sorry for the private reply, my fault :-( Forward to the list. -- Forwarded message -- From: Vladimir Zhbanov Date: Mon, 14 Nov 2016 09:03:19 +0300 Subject: Re: Formatted output with locale To: d...@famic.de Hi Martin, On 11/13/16, d...@famic.de wrote: >

Re: Example usages of guile-cairo

2016-07-27 Thread Vladimir Zhbanov
On Sat, Jul 16, 2016 at 10:05:45AM +0200, Panicz Maciej Godek wrote: > Hi, > thanks for your reply -- I think I have solved it (although I took a > slightly different approach*) -- the problem was probably that the scale > was too small for anything to be visible, and it was sufficient to enlarge >

Re: Example usages of guile-cairo

2016-07-15 Thread Vladimir Zhbanov
Hi Panicz, Have you solved your issue? If not, I would recommend to look at README in your guile-cairo distribution, it contains some example code. BTW, I have also prototyped some C code to make a grid pattern using guile-cairo and gnome-gtk and have a little scheme example that I could publish

Re: Do-loop enigma with two variables

2016-07-15 Thread Vladimir Zhbanov
On Fri, Jul 15, 2016 at 06:50:11PM +, Mike Gran wrote: > > On Friday, July 15, 2016 7:27 AM, Pierre Lairez > wrote: > > > > > > >Dear guile users, > > > >When running the following loop: > >(do ((i 1 (+ 1 i)) > > (j 0 i)) > >((> i 4) (newline)) > > (display (list i j))) > > > >I ex

Re: command-line options v2

2016-06-30 Thread Vladimir Zhbanov
Hi Tobin, On Thu, Jun 30, 2016 at 08:44:11PM +1000, Tobin Harding wrote: > Still unable to pass Guile command line options when invoked by Geiser. > > I believe there is a simple scheme expression that I can put in ~/.guile to > add > command-line options. I cannot find what that expression is?

Re: Any New Guile Release Planned ?

2015-11-03 Thread Vladimir Zhbanov
On Mon, Nov 02, 2015 at 05:42:46PM +0200, Eli Zaretskii wrote: > > Date: Mon, 2 Nov 2015 15:21:00 +0300 > > From: Vladimir Zhbanov > > Cc: guile-user@gnu.org > > > > > http://sourceforge.net/projects/ezwinports/files/guile-2.0.11-2-w32-bin.zip/downl

Re: Any New Guile Release Planned ?

2015-11-03 Thread Vladimir Zhbanov
On 11/2/15, Ludovic Courtès wrote: ... > Could you run ‘make V=1’ and send a bit more of the log, so we can see > the compiler command line? Sure. The full log is attached. Thanks, Vladimir log Description: Binary data

Re: Any New Guile Release Planned ?

2015-11-02 Thread Vladimir Zhbanov
Hi Eli, On 10/29/15, Eli Zaretskii wrote: ... > Just so you and your users know: there's a 32-bit MinGW build of Guile > 2.0.x here: > > > http://sourceforge.net/projects/ezwinports/files/guile-2.0.11-2-w32-bin.zip/download > I know, thanks :) Thank you for your great work on the guile port for

Re: Any New Guile Release Planned ?

2015-11-02 Thread Vladimir Zhbanov
Ludovic, sorry for the private mail. I'll repeat it here. On 10/29/15, Ludovic Courtès wrote: ... > Could you explain the details? An excerpt of the build log when > cross-compiling to MinGW without the patch would be great. > > The reason I ask is that we rely on Gnulib for these portability >

Re: Any New Guile Release Planned ?

2015-10-28 Thread Vladimir Zhbanov
On Tue, Oct 27, 2015 at 06:54:44PM +0100, Ludovic Courtès wrote: > Rafik NACCACHE skribis: > > > Is there any new release planned soon? > > We’ve been meaning to release 2.0.12, which is mostly bug fixes. The stable-2.0 guile branch contains changes that some of our users (that is, users of gED

Re: Using in C a function defined in guile

2015-09-06 Thread Vladimir Zhbanov
Mike, thank you! It seems to be the info I searched for. Thanks, Vladimir

Re: Using in C a function defined in guile

2015-09-06 Thread Vladimir Zhbanov
On Sun, Sep 06, 2015 at 06:21:35PM +0200, Arne Babenhauserheide wrote: > Hi Vadimir, > > Am Sonntag, 6. September 2015, 17:10:01 schrieb Vladimir Zhbanov: > > After speaking with a man who doesn't like scheme and wants to make all > > his work in C, I wonder if there

Re: Using in C a function defined in guile

2015-09-06 Thread Vladimir Zhbanov
On Sun, Sep 06, 2015 at 05:23:38PM +0200, Panicz Maciej Godek wrote: > 2015-09-06 16:10 GMT+02:00 Vladimir Zhbanov : > > > Hi, guilers. > > > > After speaking with a man who doesn't like scheme and wants to make all > > his work in C, I wonder if there is

Using in C a function defined in guile

2015-09-06 Thread Vladimir Zhbanov
Hi, guilers. After speaking with a man who doesn't like scheme and wants to make all his work in C, I wonder if there is an easy way to make the procedures wholly written in Guile available in C, besides any kind of 'eval'. Looking through the guile info I didn't found anything other. Thanks, V

Re: Pipes and processes, stdin, stdout and stderr

2015-04-14 Thread Vladimir Zhbanov
Hi, Chris. In geda-gaf, I modified open-pipe* to solve a similar issue. See the procedure code and comments in attachment. Cheers, Vladimir ;; run a child process and return a pair of input and output ports. ;; Executes the program 'command' with optional arguments 'args' ;; (all strings) in a