Re: Scheme in Scheme on Wasm in the browser

2023-12-15 Thread Thompson, David
On Fri, Dec 15, 2023, 5:31 PM Skyler Ferris wrote: > Is there an RSS or Atom feed for Spritely news? I don't see one on the > web page. > We need to put a feed icon on the site to make this discoverable, but here's our atom feed: https://spritely.institute/feed.xml >

Re: Scheme in Scheme on Wasm in the browser

2023-12-15 Thread Skyler Ferris
Is there an RSS or Atom feed for Spritely news? I don't see one on the web page.

Re: Scheme in Scheme on Wasm in the browser

2023-12-15 Thread Tom Whitcomb via General Guile related discussions
OMG.  This is awesome. On Friday, December 15, 2023 at 07:35:09 AM PST, Thompson, David wrote: Hey Guilers, It's new blog post day over at Spritely! In this post, we build a small "metacircular evaluator", SICP style, and run it in the browser with Guile Hoot. This interpreter, while

Re: Scheme in the browser: A Hoot of a tale

2023-10-11 Thread Christine Lemmer-Webber
Zelphir Kaltstahl writes: > Hello Christine, Hello Zelphir! > I saw a post earlier on Mastodon and already opened it in my > browser. Haven't got the time to really look at it yet. > > What is a Wireworld canvas? Is that a specific library, that interacts > with canvas in the browser? Ah! Wir

Re: Scheme in the browser: A Hoot of a tale

2023-10-11 Thread Zelphir Kaltstahl
On 10/11/23 19:43, Christine Lemmer-Webber wrote: Friends, Guilers, Schemers, I am thrilled, pleased, et cetera to present you with the following: Guile Hoot can now compile real r7rs-small programs to code that runs in latest nightly browsers: https://spritely.institute/news/scheme-wireworld

Re: Scheme+

2021-12-20 Thread Dr. Arne Babenhauserheide
Damien Mattei writes: > I finished today the first version of Scheme+. > Scheme+ is an extension of the syntax of the Scheme language. > Scheme+ makes it easy the assignment of Scheme objects in infix (works also > in prefix) notation with a few new operators ← (or <-), [ ],⥆ (or <+) . > > htt

Re: Scheme+

2021-12-20 Thread Maxime Devos
Linus Björnstam schreef op ma 20-12-2021 om 09:15 [+0100]: > I played around with it and it seems to rely heavily on mutation, > which makes guile (and chez and racket for that matter) box the > values. That adds a layer of indirection to memory access, meaning > slower code (apart from the more ob

Re: Scheme+

2021-12-20 Thread Linus Björnstam
Hi Damien! I played around with it and it seems to rely heavily on mutation, which makes guile (and chez and racket for that matter) box the values. That adds a layer of indirection to memory access, meaning slower code (apart from the more obvious problems of continuation safety and threading

Re: Scheme+

2021-12-20 Thread Damien Mattei
yes it is based on SRFI-105 as explained in section 7: Features. The project is based on R6RS (R5RS too) and SRFI for compatibility. Linus we had a discussion about bindings month ago and Scheme+ take in account the impossibility in Scheme to have a single operator for defining a variable anywhere

Re: Scheme+

2021-12-19 Thread Jacob Hrbek
I skimmed through the website before i sent the e-mail.. was hoping you do better job at presenting the project instead of sending a wall of text :p From what i understood it's working with ligatures to add more functionality to scheme? So far i don't like that it's all one huge things.. woul

Re: Scheme+

2021-12-19 Thread Damien Mattei
you answered only 1 minute after my post si i assume you have not read the web page of project,but all is explained here with a ton of examples: https://damien-mattei.github.io/Scheme-PLUS-for-Guile/Scheme+io.html or: https://github.com/damien-mattei/Scheme-PLUS-for-Guile/blob/main/README.md st

Re: Scheme+

2021-12-19 Thread Jacob Hrbek
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 first version of Scheme+. Scheme+ is an extension of the syntax of the Scheme language. Scheme+ makes it easy the assignment of Scheme o

Re: Scheme: quicker process handling (RESTART 1) etc

2020-03-10 Thread Nicholas Papadonis
Thanks! On Tue, Mar 10, 2020 at 3:32 PM Mikael Djurfeldt wrote: > Hi! > > This is the Guile user list. > > However, Guile is an implementation of scheme, just as MIT Scheme. > > You probably want to ask this question on the *Geiser* user list. > > Best regards, > Mikael D > > Den tis 10 mars 202

Re: Scheme: quicker process handling (RESTART 1) etc

2020-03-10 Thread Mikael Djurfeldt
Hi! This is the Guile user list. However, Guile is an implementation of scheme, just as MIT Scheme. You probably want to ask this question on the *Geiser* user list. Best regards, Mikael D Den tis 10 mars 2020 19:22Nicholas Papadonis skrev: > I'm using Guile to interface with MIT Scheme in E

Re: scheme with vim

2020-02-05 Thread Eli Zaretskii
> From: zimoun > Date: Wed, 5 Feb 2020 16:39:00 +0100 > Cc: Julien Lepiller , guile-user@gnu.org > > > > Is 'ctags -L' a valid option? > > > Because I do not find the documentation about it. > > > > --help of Exuberant Ctags 5.9~svn20110310 say: > > > > -L > >A list of

Re: scheme with vim

2020-02-05 Thread zimoun
salut, On Wed, 5 Feb 2020 at 15:35, Marc Chantreux wrote: > > > > ctags -L - -f ~/.vim/ctags/guile > > Is 'ctags -L' a valid option? > > Because I do not find the documentation about it. > > --help of Exuberant Ctags 5.9~svn20110310 say: > > -L >A list of sour

Re: scheme with vim

2020-02-05 Thread Marc Chantreux
hello, sorry i missed this reply. > Does it make sense for your application to auto compile sources at all? not at all :) > I also wonder if perhaps it would be better to start a Guile REPL and > have vim send S-expressions to the socket instead of saving a temporary > file and starting a new G

Re: scheme with vim

2020-02-05 Thread Marc Chantreux
hello, > > > ctags -L - -f ~/.vim/ctags/guile > > Is 'ctags -L' a valid option? > Because I do not find the documentation about it. --help of Exuberant Ctags 5.9~svn20110310 say: -L A list of source file names are read from the specified file. regards marc

Re: scheme with vim

2020-02-05 Thread Marc Chantreux
hello Ricardo, > I’m still not sure I understand exactly what the result of this should > be (as I’m not familiar with ctags), but you can get a list of loaded > modules and the symbols they export. i deeply regret the way i turned my message. please forget everything you read and start with a fr

Re: scheme with vim

2020-02-05 Thread zimoun
Hi, On Wed, 5 Feb 2020 at 14:10, Ricardo Wurmus wrote: > > ctags -L - -f ~/.vim/ctags/guile Is 'ctags -L' a valid option? Because I do not find the documentation about it. All the best, simon

Re: scheme with vim

2020-02-05 Thread Ricardo Wurmus
Hi Marc, > i don't know what is the good way to get the list of built-in > commands of guile so i ended up with > > aptitude search '~i ~n guile-2' -F%p | > xargs -n1 dpkg -L | > perl -lnE 'print if /[.]scm$/ && -f' | > ctags -L - -f ~/.vim/ctags/guile > > any better way

Re: scheme with vim

2020-02-05 Thread Ricardo Wurmus
Hi Marc, > # please be quiet > > a way to test a code in vim is to use the interpreter as a filter using > the ! action (:h !) or write in a pipe. if you do that with guile, the > repl header is printed: > > GNU Guile 2.2.4 > Copyright (C) 1995-2017 Free Software Foundation, Inc. > >

Re: scheme with vim

2020-01-29 Thread zimoun
On Wed, 29 Jan 2020 at 21:53, Marc Chantreux wrote: > yet it will be distro dependant. i expected something like > introspection, querying a state of interpreter or even parsing the > documentation to provide a ready to use list of symbols. My bad! I thought it was the mailing list related to Gu

Re: scheme with vim

2020-01-29 Thread Marc Chantreux
> I am sure you will come up with a more elegant trick for Guix via a > Guile script. :-) yet it will be distro dependant. i expected something like introspection, querying a state of interpreter or even parsing the documentation to provide a ready to use list of symbols. regards, marc

Re: scheme with vim

2020-01-29 Thread zimoun
Hi Ricardo, On Wed, 29 Jan 2020 at 19:36, Ricardo Wurmus wrote: > > i don't know what is the good way to get the list of built-in > > commands of guile so i ended up with > > > > aptitude search '~i ~n guile-2' -F%p | > > xargs -n1 dpkg -L | > > perl -lnE 'print if /[.]scm$/

Re: scheme with vim

2020-01-29 Thread Ricardo Wurmus
Hi Marc, > # completion > > i don't know what is the good way to get the list of built-in > commands of guile so i ended up with > > aptitude search '~i ~n guile-2' -F%p | > xargs -n1 dpkg -L | > perl -lnE 'print if /[.]scm$/ && -f' | > ctags -L - -f ~/.vim/ctags/guile >

Re: Scheme Coding Competition

2019-08-07 Thread Amirouche Boubekki
The first hint is: lorem ipsum. It comes with a list of scheme resources to help you gather the right vocabulary. https://git.sr.ht/~schemers/competition-2019-static-blog-generator#first-hint-animata-magna-minimis We also, have another sponsor https://serverracket.com I will announce the next s

Re: [scheme-reports-wg2] Re: Tangerine Edition penultimate report: how I voted, how you're voting

2019-01-20 Thread Amirouche Boubekki
I am satisfied with the approach taken by R7RS of being both small and large. Le sam. 19 janv. 2019 à 22:39, John Cowan a écrit : > > > On Fri, Jan 18, 2019 at 3:20 PM Ivan Raikov > wrote: > > >> Isn't the difference with R6RS that R7RS-large draws extensively on >> SRFIs which are indeed attem

Re: [scheme-reports-wg2] Re: Tangerine Edition penultimate report: how I voted, how you're voting

2019-01-19 Thread John Cowan
On Fri, Jan 18, 2019 at 3:20 PM Ivan Raikov wrote: > Isn't the difference with R6RS that R7RS-large draws extensively on > SRFIs which are indeed attempts to codify existing practices? > SRFIs don't always codify existing practice, including the SRFIs drawn on in past, present, and future R7RS-

Re: Scheme books [was: lat? and atom? not in guile?]

2018-06-21 Thread Matt Wette
On 06/21/2018 06:44 AM, Joshua Branson wrote: Matt Wette writes: And on this topic, I'm currently reading 'The Reasoned Schemer,' written in the same style.   The style gets the stuff into my head w/o resorting to trying out problems on the computer (yet). Hmmm. I've heard about the seasoned sc

Re: Scheme books [was: lat? and atom? not in guile?]

2018-06-21 Thread Joshua Branson
Matt Wette writes: > On 06/20/2018 07:55 AM, Thompson, David wrote > [regarding "The Little Schemer"]: >> It's repetitive but honestly I found that the comedic writing made the >> exercises very entertaining. I was rarely bored. I don't play the >> piano, but I do play drums, and the equivalent

Re: Scheme syntax tree

2015-12-04 Thread Thompson, David
On Fri, Dec 4, 2015 at 3:08 PM, Jan Synáček wrote: > > I have a feeling that I saw a module that can parse a scheme program > into a syntax tree somewhere. Does such module exist? Or do I have to > roll my own? Scheme is its own syntax tree, this is why they call Scheme (and other Lisps) "homoico

Re: Scheme syntax tree

2015-12-04 Thread David Kastrup
Jan Synáček writes: > Hello, > > I have a feeling that I saw a module that can parse a scheme program > into a syntax tree somewhere. Does such module exist? Or do I have to > roll my own? Uh, it's called the reader. It's sort of the point of Lisp-like languages that you write down the parse tr

Re: scheme (format) question

2009-03-23 Thread Clinton Ebadi
Mark Polesky writes: >> (define (my-format bool string . list-of-nums) >> (apply format bool string (map set-precision list-of-nums))) >> >> (let ((a 2.0) >> (b 1/4) >> (c 1/3)) >> (my-format #t "~&~a ~a ~a" a b c)) > > > Kjetil, > > Awesome. Thanks. I knew there was something simp

Re: scheme (format) question

2009-03-23 Thread Kjetil S. Matheussen
On Sun, 22 Mar 2009, Mark Polesky wrote: (define (my-format bool string . list-of-nums) (apply format bool string (map set-precision list-of-nums))) (let ((a 2.0) (b 1/4) (c 1/3)) (my-format #t "~&~a ~a ~a" a b c)) Kjetil, Awesome. Thanks. I knew there was something simple

Re: scheme (format) question

2009-03-22 Thread Mark Polesky
> (define (my-format bool string . list-of-nums) > (apply format bool string (map set-precision list-of-nums))) > > (let ((a 2.0) > (b 1/4) > (c 1/3)) > (my-format #t "~&~a ~a ~a" a b c)) Kjetil, Awesome. Thanks. I knew there was something simple, I just couldn't figure it out. T

Re: scheme (format) question

2009-03-22 Thread Kjetil S. Matheussen
Mark Polesky: ;; Hi. ;; ;; How can I change the following code so that ;; it returns "2 0.25 0."? That is: return ;; integers without decimal point, otherwise ;; round to as many decimal places as needed, ;; but not more than 4. (let ((a 2.0) (b 1/4) (c 1/3)) (format #t "~&~a ~a

Re: scheme -> (X)HTML

2008-07-03 Thread Neil Jerram
2008/6/21 Sebastian Tennant <[EMAIL PROTECTED]>: > > Out of pure curiosity, whats the significance of '31' in the make-module > call in process-template? I believe it's the initial size of the module's hash table for storing bindings (from identifiers to variable locations). (I believe that prime

Re: scheme -> (X)HTML

2008-06-21 Thread Sebastian Tennant
Quoth "Neil Jerram" <[EMAIL PROTECTED]>: > OK, I've checked now, and it appears that the code already posted is > the most up to date that I have. Noted. >> guile> (process-template "/path/to/version.html" ((foo 'bar)) (ice-9 rdelim)) >> [...] >> :1:1: Unbound variable: begin >> ABORT: (unbound-v

Re: scheme -> (X)HTML

2008-06-16 Thread Neil Jerram
2008/6/13 Sebastian Tennant <[EMAIL PROTECTED]>: > Neil Jerram <[EMAIL PROTECTED]> writes: >> As a further option, please see attached [template.scm]. If you're >> interested in this, please let me know, because I may have a more up >> to date version somewhere. > > I'd be interested in getting ho

Re: scheme -> (X)HTML

2008-06-13 Thread Sebastian Tennant
Neil Jerram <[EMAIL PROTECTED]> writes: > As a further option, please see attached [template.scm]. If you're > interested in this, please let me know, because I may have a more up > to date version somewhere. I'd be interested in getting hold of the latest version of template.scm as it does exact

Re: scheme -> (X)HTML

2008-04-02 Thread Thien-Thi Nguyen
Another way is to use modules (ttn-do zzz xhtml-tree)[0] and (ttn-do zzz publishing)[1]. All of gnuvola's html, modulo texinfo output, is rendered that way. Likewise, the servers grumi[2] and sizzweb[3] compose using those modules. Same idea as the others proposed, different dependencies. thi

Re: scheme -> (X)HTML

2008-03-31 Thread Francesco Salvestrini
Hi Paul, Sorry for bothering you off the list but I've hit some troubles with guile mailing lists lately so I'm writing to you directly. There's a package I've put on savannah that uses SXML (via guile) in order to build HTML. Maybe it could be of some help to you. This is its main URL:

Re: scheme -> (X)HTML

2008-03-31 Thread Paul Emsley
Julian Graham wrote: On Tue, Mar 25, 2008 at 3:37 PM, Paul Emsley <[EMAIL PROTECTED]> wrote: Dear Guilers, I have in mind to write a little script that makes a web page about the state of various files. I'd like to use some schemey way of doing this. s-expression -> HTML perhaps.

Re: scheme -> (X)HTML

2008-03-25 Thread Francesco Salvestrini
Hi Paul, On Tuesday 25 March 2008, Paul Emsley wrote: > Dear Guilers, > > I have in mind to write a little script that makes a web page about the > state of various files. > > I'd like to use some schemey way of doing this. s-expression -> HTML > perhaps. Links that could be useful: http://en.w

Re: scheme -> (X)HTML

2008-03-25 Thread Neil Jerram
"Julian Graham" <[EMAIL PROTECTED]> writes: > Hi Paul, > > There are several good tools out there for doing this: Oleg Kiselyov > has written a Scheme-based port of SAX called SSAX [1] that can read > and emit S-expressions in a format he calls SXML. It's available for > Guile as part of Andy Win

Re: scheme -> (X)HTML

2008-03-25 Thread Julian Graham
Hi Paul, There are several good tools out there for doing this: Oleg Kiselyov has written a Scheme-based port of SAX called SSAX [1] that can read and emit S-expressions in a format he calls SXML. It's available for Guile as part of Andy Wingo's guile-lib [2]. For permissive HTML parsing, Neil V

Re: scheme-79?

2006-06-11 Thread Robby Findler
I believe Marc Feeley is thinking along such lines. You may wish to check out his work. Robby At Sun, 11 Jun 2006 14:31:39 -0500, Jon Wilson wrote: > Hi, > I guess this is slightly OT, but I was wondering if there has been any > activity lately as regards lisp hardware? I have heard about "lisp

Re: Scheme in multi thread application

2005-03-07 Thread Neil Jerram
Valery Syssik wrote: I'd like (as many other developers) to embed Scheme in multi thread application as scripting language. [...] But all scheme implementations (Chicken,Bigloo,GUILE,PLT,S48,SCM) implement cooperative threads and have no support of native threads and sometimes implementations have