How can i make executable guile file to process command line arguments?

2022-08-18 Thread Jacob Hrbek
I have this file which i use to interact with a version controlled repository similar to a Makefile. How can i make it work with e.g. `./file.scm echo wheee` -> Will execute the `(define (echo msg) ...)` and output `wheee` in the terminal? FWIW preferably i want it to work like `./file.scm ec

Re: GuileScript 0.0.0 released

2022-01-17 Thread Jacob Hrbek
ions, patches and full rewrites are welcomed. :-) Happy hacking! Aleix -- Jacob Hrbek publickey - kreyren@rixotstudio.cz - 1677db82.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

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

Guile alternative to GCODE?

2021-12-28 Thread Jacob Hrbek
settings on installation to declare fabrication reproducibility to avoid debugging. -- -- Jacob Hrbek publickey - kreyren@rixotstudio.cz - 1677db82.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: OpenSCAD on Lisp?

2021-12-19 Thread Jacob Hrbek
Figured out libfive that is written in guile and perfect for this On 12/19/21 22:47, Jacob Hrbek wrote: I got a 3D printer and i want to use OpenSCAD to program the objects for interpretation for fabrication, but the OpenSCAD (https://openscad.org) uses C-style syntax which is for this kind of

Re: Scheme+

2021-12-19 Thread Jacob Hrbek
m/damien-mattei/Scheme-PLUS-for-Guile Damien On Mon, Dec 20, 2021 at 1:08 AM Jacob Hrbek wrote:  From what you said i have no idea what it does.. Is that like an alternative to geiser-guile? On 12/20/21 01:05, Damien Mattei wrote: > Hi, > I finished today the fi

Re: Scheme+

2021-12-19 Thread Jacob Hrbek
static light HTML page: https://damien-mattei.github.io/Scheme-PLUS-for-Guile/Scheme+.html direct link to code and README: https://github.com/damien-mattei/Scheme-PLUS-for-Guile Best regards, Damien Mattei -- -- Jacob Hrbek publickey - kreyren@rixotstudio.cz - 1677db82.asc Description: appli

OpenSCAD on Lisp?

2021-12-19 Thread Jacob Hrbek
the backend for me to use lisp for the designs? Or really anything relevant is appreciated if it gets me closer to this kind of development is appreciated and i am willing to write code. -- Jacob Hrbek publickey - kreyren@rixotstudio.cz - 1677db82.asc Description: application/pgp-keys signature.

Re: Can guile be implementation independent?

2021-12-16 Thread Jacob Hrbek
Looks interesting, are there any known limitations in relation to Guile? On 12/17/21 03:53, Nala Ginrut wrote: Hi Jacob! You may take a look at akku.scm You can write r7rs code and use Guile as one of the compiler alternatives. Best regards. On Fri, Dec 17, 2021, 09:43 Jacob Hrbek wrote

Can guile be implementation independent?

2021-12-16 Thread Jacob Hrbek
ing a code that can be interpreted by implementations that are following the IEEE 1178-2008 or R7RS standard? -- Jacob Hrbek publickey - kreyren@rixotstudio.cz - 1677db82.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: How to capture pid of (system process?

2021-12-16 Thread Jacob Hrbek
t open-pipe. It should also be possible to build anything you want with the lower-level fork, execl, dup->fdes, ... primitives (assuming things are single-threaded). -- Devos Can you elaborate? (I am noob in guile atm) - Jacob Hrbek On 12/14/21 14:25, Maxime Devos wrote: Jacob Hrbek schreef

How to capture pid of (system process?

2021-12-13 Thread Jacob Hrbek
I wrote this potato-make definition (was simplified): #:SRC_BEGIN sheme-mode #!/usr/bin/env sh exec guile -s "$0" "$@" !# (use-modules (ice-9 futures)  (potato make)) (initialize) (: "watch" '()    (~ (do ((i 1 (1+ i)))       ((> i 6))     (future (syste