Re: Removing/Ignoring xmlns when using xml->sxml

2024-07-22 Thread Luis Felipe
Hi Richard, El 22/07/24 a las 3:11, Richard Sent escribió: Hi all, I have some XML created by a tool called latexml that can convert LaTeX equations to MathML. I am processing the output of this tool as part of a Guile program and will be using it in a website. The output looks something like

Re: Srfi-159/166 - monadic formatting for guile

2024-07-07 Thread Luis Felipe
Hi, El 7/07/24 a las 13:23, Linus Björnstam escribió: I had an implementation of 158 that was available in guix. However, bitbucket discontinued hg support and now the code is gone. It was trivial to port of the SRFI iirc. At that time, https://www.softwareheritage.org/ was archiving public

Re: Some issues with guile

2024-04-27 Thread Luis Felipe
El 27/04/24 a las 7:28, Nikolaos Chatzikonstantinou escribió: On Fri, Apr 26, 2024 at 11:21 AM Luis Felipe wrote: Hi Nikolaos, Hello Luis! El 26/04/24 a las 7:05, Nikolaos Chatzikonstantinou escribió: 2. Documentation extraction sucks. [...] - documentá in its page does not include

Re: Some issues with guile

2024-04-27 Thread Luis Felipe
Hi Linas, El 27/04/24 a las 17:35, Linas Vepstas escribió: On Sat, Apr 27, 2024 at 2:47 AM Nikolaos Chatzikonstantinou < nchatz...@gmail.com> wrote: On Fri, Apr 26, 2024 at 4:39 PM Tomas Volf <~@wolfsden.cz> wrote: What you want is: (set-object-property! foo 'documentation "Contains a

Re: Some issues with guile

2024-04-26 Thread Luis Felipe
investigated, a way to properly document variables, macros, record types and GOOPS clases using human-written documentation strings. But I want to have that too. You can see examples of module and procedure documentation in Documentá's source (https://codeberg.org/luis-felipe/guile-documenta

Re: [ANN] Guile Hoot 0.4.0 released!

2024-04-09 Thread Luis Felipe
Hi David, El 9/04/24 a las 14:12, Thompson, David escribió: Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Guile Hoot v0.4.0 has been released! Hoot is a Scheme to WebAssembly compiler backend for Guile, which means you can now run Scheme in the browser for real,

Re: Help with modules and unit tests

2023-12-08 Thread Luis Felipe
El 8/12/23 a las 14:26, Luis Felipe escribió: Hi Nikolaos, El 8/12/23 a las 6:59, Nikolaos Chatzikonstantinou escribió: Hello guile-user list, I am trying to figure out modules and unit tests on Guile. I would like to have a main.scm that prints a variable defined in lib.scm and has unit

Re: Help with modules and unit tests

2023-12-08 Thread Luis Felipe
Hi Nikolaos, El 8/12/23 a las 6:59, Nikolaos Chatzikonstantinou escribió: Hello guile-user list, I am trying to figure out modules and unit tests on Guile. I would like to have a main.scm that prints a variable defined in lib.scm and has unit tests in test.scm. What I thought I had to do was

Re: Guile outside of Emacs + Geiser

2023-09-27 Thread Luis Felipe
Hi, El 27/09/23 a las 19:07, Christine Lemmer-Webber escribió: There's a long thread on guix-devel which is related and touches on many things, but I thought I'd narrow in on this one thing. Has anyone had a "good" experience programming with Guile without using Emacs? If so, what was your

Re: guile-email 0.3.0 released

2023-01-07 Thread Luis Felipe
On Friday, January 6th, 2023 at 20:15, Arun Isaac wrote: > Hello all, > > I am pleased to announce the release of guile-email 0.3.0. Significant > changes since the 0.2.2 release are described in the NEWS > file. https://git.systemreboot.net/guile-email/tree/NEWS Great, thanks for working

Re: GNU G-Golf 0.8.0-a.1 available for testing!

2022-12-14 Thread Luis Felipe
Great! Thanks for working on this, David. On Tuesday, December 13th, 2022 at 20:37, David Pirotte wrote: > Ultimately, one of the best way to test, and participate, is to select > G-Golf to develop the next application of your dream! I'll definitively try it out in one of my projects.

Re: Artanis: Referring to pub from SXML templates

2022-11-11 Thread Luis Felipe
--- Original Message --- On Wednesday, November 9th, 2022 at 19:45, Luis Felipe wrote: > Hi, > > Artanis documentation shows examples of HTML templates that use commands like > <@css filename.css %>, but how do I get the path to the "pub" directo

Artanis: Referring to pub from SXML templates

2022-11-09 Thread Luis Felipe
Hi, Artanis documentation shows examples of HTML templates that use commands like <@css filename.css %>, but how do I get the path to the "pub" directory from my SXML templates? --- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/ publickey - luis.felipe.l

New "GNU Guile Made" and "Guile Hall Managed" badges

2022-07-16 Thread Luis Felipe
 --- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/ publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: The Spritely Institute publishes A Scheme Primer (the long-requested "Guile tutorial"?)

2022-07-07 Thread Luis Felipe
On Thursday, July 7th, 2022 at 06:04, Dr. Arne Babenhauserheide wrote: > A also think, since this is an org-file, it would be a natural fit to > turn this into a printed tutorial. Just make it a PDF, add a title page, > and you can get it printed as POD (i.e. https://www.epubli.de/ ) — >

Re: The Spritely Institute publishes A Scheme Primer (the long-requested "Guile tutorial"?)

2022-07-07 Thread Luis Felipe
On Wednesday, July 6th, 2022 at 18:55, Christine Lemmer-Webber wrote: > Hello all! > > I'm thrilled to announce that The Spritely Institute has published A > Scheme Primer: > > https://spritely.institute/news/the-spritely-institute-publishes-a-scheme-primer.html >

Re: Geiser+Guile For Remote Connections: "geiser-repl--wait-for-prompt: No prompt found!"

2022-07-04 Thread Luis Felipe
Hello Munyoki Kilyungi, > Any > one know how to fix the "No prompt found!" Or > better yet, how would you specify, with Geiser, > what Guile version to use on a per-project basis? I filed a bug report about that to Guix a couple of years ago, and it seems the problem comes from the "~/.guile"

Re: [feature request] merge sxml->html from (haunt html) into guile?

2022-06-28 Thread Luis Felipe
Hi Blake, On Monday, June 27th, 2022 at 06:57, Blake Shaw wrote: > Finally I caved and decided to look at the Bootstrappable source code, and > voila! (haunt html) provides sxml->html... the piece of the puzzle I was > missing. Massive, near comical, relief. Just to mention that there is also

Re: LSP Server for Scheme (and more ...)

2022-06-11 Thread Luis Felipe
Hi, On Saturday, June 11th, 2022 at 02:07, Aleix Conchillo Flaqué wrote: > Yes!!! This is amazing and things like this can expose Guile to many more > people. Even though I've been using Emacs for many years, I believe it's > not great for newcomers to hear "if you want a good Guile

Re: Indentation with inline comments in Emacs

2022-04-18 Thread Luis Felipe
On Monday, April 18th, 2022 at 1:33 PM, Ricardo G. Herdt wrote: > actually the doc-strings are available during runtime using '(ice-9 > documentation)', so theoretically it is not restricted to Emacs. In fact > I have been working on my spare time on a LSP server for scheme > (together with a

Re: Indentation with inline comments in Emacs

2022-04-18 Thread Luis Felipe
On Monday, April 18th, 2022 at 10:48 AM, Zelphir Kaltstahl wrote: > I like the documentation style in the doc string you are proposing. Not sure I > will always go to that length myself, but it would probably be a good > practice. > Just like you said, for generating auto-generating things

Re: Indentation with inline comments in Emacs

2022-04-17 Thread Luis Felipe
Hi Zelphir, On Sunday, April 17th, 2022 at 10:49 AM, Zelphir Kaltstahl wrote: > I have the same indentation issue though, when I use #||# comments for > arguments, which are not keyword arguments, but I want to hint what they are > used for. One could argue, that I should rewrite the called

[WISH] Picture language: Improve editability of generated SVG

2022-04-07 Thread Luis Felipe
would be all into one group; ungrouping lets them all readily available for edition. For example: ~~~ (require 2htdp/image) (define hat (triangle 20 "solid" "orange")) (define hat-pile (above (beside hat hat) (beside hat hat))) (save-svg-image hat-pile "racket-hat-

Re: guile-gi: Using Gtk.show_uri and application:get-active-window

2022-03-24 Thread Luis Felipe
On Friday, March 11th, 2022 at 11:59 PM, Luis Felipe wrote: > Hi, I want to display the help of an application on Yelp when users click on > "MenuButton → Help" or when they press F1. I already have the relevant > actions connected to a procedure that looks like this: >

Re: guile-gi: Using Gtk.show_uri and application:get-active-window

2022-03-12 Thread Luis Felipe
On Friday, March 11th, 2022 at 11:59 PM, Luis Felipe wrote: > Hi, I want to display the help of an application on Yelp when users click on > "MenuButton → Help" or when they press F1. I already have the relevant > actions connected to a procedure that looks like this: >

guile-gi: Using Gtk.show_uri and application:get-active-window

2022-03-11 Thread Luis Felipe
URRENT_TIME),² which I also required in my module. For what it's worth, here's the complete code: https://gitlab.com/luis-felipe/geteka 1. https://docs.gtk.org/gtk4/method.Application.get_active_window.html 2. https://docs.gtk.org/gdk4/const.CURRENT_TIME.html --- Luis Felipe López Aceved

Re: understanding guile-gi

2022-01-16 Thread Luis Felipe
On Sunday, January 16th, 2022 at 1:37 PM, Zelphir Kaltstahl wrote: > Which things are part of GTK and which things are part of Gnome? Currently my > picture is: GTK contains all the GUI things and Gnome the data things. For > example: GTK might contain some date picker dialog or popup or

Re: understanding guile-gi

2022-01-16 Thread Luis Felipe
d finally: Is my expectation correct, that I will be able to make GTK > applications using Guile, if I learn to use guile-gi? Yes. For what it's worth I did an attempt to get a minimal GTK app in Python and Guile running (https://gitlab.com/luis-felipe/geteka). >From that exercise, though, I had t

Re: backing out of debugger

2021-09-14 Thread Luis Felipe
On Tuesday, September 14th, 2021 at 1:27 PM, Mortimer Cladwell wrote: > Thanks Luis. What about in emacs/geiser where Ctrl-D won't work? The equivalent in Geiser would be C-c C-q, I think. But I don't know if that's any better than typing ,q plus Enter :)

Re: backing out of debugger

2021-09-14 Thread Luis Felipe
Hi, Mortimer, On Tuesday, September 14th, 2021 at 12:50 PM, Mortimer Cladwell wrote: > Hi, > > Let's say I made a lot of mistakes. I look at my repl and see: > > scheme@(guile-user) [10]> > > Any way to back out to scheme@(guile-user)> without typing ,q ten times? I don't know if there is a

Re: Simple list of key-value pairs?

2021-07-08 Thread Luis Felipe
Hi, On Thursday, July 8th, 2021 at 2:37 PM, Hartmut Goebel wrote: > Anyhow, I'm wondering whether the > > quite and quasiquote can be replaced by something simpler. > (api-uri "https://ci.guix.gnu.org; "/api/jobs") > > (api-uri "https://ci.guix.gnu.org; "/api/jobs" > >      `("nr" ,limit)    

Re: srfi-64 tests passing when they should not

2021-05-06 Thread Luis Felipe
On Thursday, May 6, 2021 11:16 AM, Taylan Kammer wrote: > On 05.05.2021 15:47, Luis Felipe wrote: > > > Hi Taylan, > > On Wednesday, May 5, 2021 6:39 AM, Taylan Kammer taylan.kam...@gmail.com > > wrote: > > > > > On 04.05.2021 10:31, Zelphir Kaltstahl

Re: srfi-64 tests passing when they should not

2021-05-05 Thread Luis Felipe
Hi Taylan, On Wednesday, May 5, 2021 6:39 AM, Taylan Kammer wrote: > On 04.05.2021 10:31, Zelphir Kaltstahl wrote: > > > The first 2 tests are surprisingly passing. This is also the reason, why I > > used > > test-assert and manually wrote the (equal? ...) in the last test, to see, > >

Re: Guile-GI: : Setting parameter type to None or NULL

2021-04-25 Thread Luis Felipe
On Monday, April 26, 2021 12:16 AM, Mike Gran wrote: > Well, um, the truth is that the conversion of values of type GVariant > to SCM was never implemented. I went ahead and made that fix and > pushed it into guile-gi master branch. With the fix (and after > importing TextBuffer and TextView)

Re: Guile-GI: : Setting parameter type to None or NULL

2021-04-25 Thread Luis Felipe
his is the application I'm trying to write: https://gitlab.com/luis-felipe/geteka/-/blob/master/geteka.scm The actions and connections are defined in the "app:activate" and "app:startup" procedures.

Guile-GI: : Setting parameter type to None or NULL

2021-04-25 Thread Luis Felipe
w: (let [(action (make «GSimpleAction» #:name "about")) ...] ...) But what I need to indicate is: (make «GSimpleAction» #:name "about" #:parameter-type None) So what's the equivalent to None in Guile? Any help is very welcome, --- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/

Re: Guile-GI: builder:new-from-file: Segmentation fault

2021-04-25 Thread Luis Felipe
On Saturday, April 24, 2021 10:47 PM, Mike Gran wrote: > On Sat, Apr 24, 2021 at 08:46:08PM +0000, Luis Felipe wrote: > > > Hi, > > I'm trying to learn some Guile-GI, but I just hit a segfault. I was > > trying to create a GTK Builder from a file: > > Hello. > G

Guile-GI: builder:new-from-file: Segmentation fault

2021-04-24 Thread Luis Felipe
/guile-gi), so I'm reporting here instead. This is the UI file I used: https://luis-felipe.gitlab.io/downloads/temp/app.ui. I'm on Guix System, using guile-gi 0.3.1. --- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/

Re: Very Small Atom Feed Reader

2016-03-06 Thread Luis Felipe López Acevedo
at comes and goes. I initially had intermittent errors reported by Liferea when reading Wingo's and Nala's feeds, but they are working normally now (I'm using Liferea). -- Luis Felipe López Acevedo http://sirgazil.bitbucket.org/

Re: Using libnotify from Guile

2016-01-04 Thread Luis Felipe López Acevedo
. It works for me :) -- Luis Felipe López Acevedo http://sirgazil.bitbucket.org/

Re: [ANN] Guile-SDL2 0.1.0 released

2015-12-22 Thread Luis Felipe López Acevedo
interface for happier hacking. In addition to bindings for the core SDL2 API, bindings for the SDL2_image, SDL2_mixer, and SDL2_ttf extension libraries are also available. Awesome! Thanks, David! -- Luis Felipe López Acevedo http://sirgazil.bitbucket.org/

Re: [ANN] gzochi project development release 0.8

2015-04-19 Thread Luis Felipe López Acevedo
And maybe package it for GuixSD, GNU's Advanced System Distribution: http://www.gnu.org/software/guix/ I'm bookmarking gzochi now :) -- Luis Felipe López Acevedo http://sirgazil.bitbucket.org/

Re: How do I run a whole test suite with Guile's default test runner

2015-03-18 Thread Luis Felipe López Acevedo
On 2015-03-18 17:17, taylanbayi...@gmail.com wrote: Luis Felipe López Acevedo felipe.lo...@openmailbox.org writes: Hi, I'm learning to program in Guile Scheme and currently reading and practicing unit testing with SRFI-64. How do I make the default test runner in Guile run my whole test