Re: SD4F: (exist? procedure-**maximum**-arity)

2021-12-28 Thread Olivier Dion via General Guile related discussions
On Wed, 29 Dec 2021, Blake Shaw wrote: > Hiya Guilers, > > I've just started Sussman & Hanson's new book "Software Design for > Flexibility" and am trying to translate one of the functions from > MIT-Scheme to Guile: Out of topic here, but what's your first impression of the book? I was

SD4F: (exist? procedure-**maximum**-arity)

2021-12-28 Thread Blake Shaw
Hiya Guilers, I've just started Sussman & Hanson's new book "Software Design for Flexibility" and am trying to translate one of the functions from MIT-Scheme to Guile: #+BEGIN_SRC scheme (define (get-arity proc) (or (hash-table-ref/default arity-table proc #f) (let ((a (procedure-arity

guile-json 4.6.0 released

2021-12-28 Thread Aleix Conchillo Flaqué
Hi, I'm pleased to announce guile-json 4.6.0. This version adds support for JSON Text Sequences (thanks to Ivan Sokolov) and concatenated JSON. https://github.com/aconchillo/guile-json/ * About guile-json is a JSON module for Guile. It supports parsing and building JSON documents according to

Re: Guile alternative to GCODE?

2021-12-28 Thread Jacob Hrbek
i want to avoid binding to tplang as tplang inteprets in GCODE On 12/28/21 12:29, Maxime Devos wrote: Hi, Jacob Hrbek schreef op di 28-12-2021 om 09:21 [+]: e.g. https://tplang.org in Javascript Guile supports both Scheme and ECMAScript, so it should be possible to write Scheme bindings

Re: Guile alternative to GCODE?

2021-12-28 Thread Maxime Devos
Hi, Jacob Hrbek schreef op di 28-12-2021 om 09:21 [+]: > e.g. https://tplang.org in Javascript Guile supports both Scheme and ECMAScript, so it should be possible to write Scheme bindings to tplang. Guile doesn't support all of ECMAScript though. Greetings, Maxime signature.asc

Re: sxml-match bad pattern syntax

2021-12-28 Thread tomas
On Tue, Dec 28, 2021 at 04:21:39AM -0500, Thien-Thi Nguyen wrote: > > () > () Tue, 28 Dec 2021 09:28:32 +0100 > >> Ah, right! The ellipses are a tail that need to follow a >> head. > >No, the ellipses tell the matcher that the symbol to its left [...] > I think we're saying the

Re: sxml-match bad pattern syntax

2021-12-28 Thread Thien-Thi Nguyen
() () Tue, 28 Dec 2021 09:28:32 +0100 > Ah, right! The ellipses are a tail that need to follow a > head. No, the ellipses tell the matcher that the symbol to its left acutally stands for "zero or more of this". Consequently, you have to somehow [1] use those ellipses on the

Guile alternative to GCODE?

2021-12-28 Thread Jacob Hrbek
I am looking for a library that can either: a) Be implemented to generate GCODE (sub-optimal) b) Is capable of generating instructions for a CNC machines in a way that is superior to GCODE To replace my GCODE usage on my 3D printer with a GNU Guile as GCODE is functionless and unreadable

Re: sxml-match bad pattern syntax

2021-12-28 Thread tomas
On Tue, Dec 28, 2021 at 02:58:56AM -0500, Thien-Thi Nguyen wrote: > > () > () Tue, 28 Dec 2021 08:19:04 +0100 > >I /think/ the ellipsis is at a wrong place there [...] > Haha, i know exactly how you feel. %-) > Ah, right! The ellipses are a tail that need to follow a head. No, the