Guile Hoot v0.1.0 RELEASED!

2023-10-16 Thread Christine Lemmer-Webber
GOOD NEWS!  Spritely's Scheme -> WASM compiler's first release is OUT!
That's right... Scheme in your browser!!!

  https://spritely.institute/news/guile-hoot-v010-released.html

Docs here: https://spritely.institute/files/docs/guile-hoot/0.1.0

And it's already in Guix

  $ guix pull
  $ guix shell --pure guile-next guile-hoot

ALSO!  We had an awesome interview over at System Crafters!

  https://www.youtube.com/watch?v=8LuQtoy9NLs

Now go make something cool!  Let's change the web! :)

 - Christine, on behalf of the Spritely Hoot team



Re: Guile outside of Emacs + Geiser

2023-10-16 Thread Christine Lemmer-Webber
Good points in your email, Simon!  I'm used to REPLs being integrated
with editors, but if the rest of the world isn't, maybe giving them an
external REPL which feels good is already a step forward.

I thought I heard someone was working on an improved external REPL for
Guile but now I can't remember where I heard that...

 - Christine


Simon Tournier  writes:

> Hi Christine,
>
> On Wed, 27 Sep 2023 at 15:07, Christine Lemmer-Webber 
>  wrote:
>
>> Has anyone had a "good" experience programming with Guile without using
>> Emacs?  If so, what was your development experience like?
>
> At work, I collaborate with people using different setup and different
> programming languages.  And it can be tedious or time-consuming to
> manage all that, for each; context switching, etc.  Therefore, most of
> the times, we ends with: an editor (whatever which one) and a terminal
> running some “REPL“.
>
> For sure, it is better if $editor and $repl are able to communicate back
> and forth.  However, most of the time, the pleasant experience comes
> first from the $repl capacities.
>
> Emacs + Geiser is often a way to have better $repl capacities than what
> Guile offers by default.
>
> For example, IPython, GHCi, R, Julia, etc. provides all a better
> experience by default: completion, quick access to documentation, etc.
>
> For what it is worth – not much! :-), let trivially compare below, in
> order to get a feeling about one basic capacities.
>
> Well, I think the “poor” experience programming with Guile without using
> Emacs mainly comes from the lack of Guile REPL features by default.
>
> My 2 cents. :-)
>
> Cheers,
> simon
>
> $ guix shell --pure guile -- guile -q
> GNU Guile 3.0.9
> Copyright (C) 1995-2023 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> ,help map
> Unknown command or group: map
> scheme@(guile-user)> ,apropos map
> (guile): map  #
> (guile): hash-map->list   #list (_ _)>
> (guile): char-set-map #
> (guile): array-map-in-order!  #
> (guile): array-map!   #
> (guile): module-map   #
> (guile): or-map   #
> (guile): array-index-map! #
> (guile): and-map  #
> (guile): string-map   #
> (guile): map-in-order #
> (guile): string-map!  #
> (ice-9 threads): n-for-each-par-map   # s-proc p-proc . arglists)>
> (ice-9 threads): par-map  # ice-9/threads.scm:283:2 (proc . lists)>
> (ice-9 threads): n-par-map#
> scheme@(guile-user)> ,describe map
> #f
>
> $ guix shell --pure python python-ipython -- ipython 
> Python 3.10.7 (main, Jan  1 1970, 00:00:01) [GCC 11.3.0]
> Type 'copyright', 'credits' or 'license' for more information
> IPython 8.5.0 -- An enhanced Interactive Python. Type '?' for help.
>
> In [1]: ?map
> Init signature: map(self, /, *args, **kwargs)
> Docstring: 
> map(func, *iterables) --> map object
>
> Make an iterator that computes the function using arguments from
> each of the iterables.  Stops when the shortest iterable is exhausted.
> Type:   type
> Subclasses: 
>
> $ guix shell --pure ghc gcc-toolchain -- ghci
> GHCi, version 9.2.5: https://www.haskell.org/ghc/  :? for help
> ghci> :? map
>  Commands available from the prompt:
>
> [...]
>
>:doc  display docs for the given name (experimental)
>
> [...]
>
>:showi language show language flags for interactive evaluation
>
>  The User's Guide has more information. An online copy can be found here:
>
>https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci.html
>
> ghci> :doc map
> map :: (a -> b) -> [a] -> [b] -- Identifier defined in `GHC.Base'
>  \(\mathcal{O}(n)\). 'map' @f xs@ is the list obtained by applying @f@ to
>  each element of @xs@, i.e.,
>
>  > map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
>  > map f [x1, x2, ...] == [f x1, f x2, ...]
>
>  >>> map (+1) [1, 2, 3]
>  [2,3,4]
>
> $ guix shell --pure r-minimal coreutils -- R 
>
> R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
> Copyright (C) 2023 The R Foundation for Statistical Computing
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
>> help(map)
> No documentation for 'map' in specified packages and libraries:
> you could try '??map'
>> ??map
> Help files with alias or concept or title matching 'map' using regular
> expression matching:
>
> base::Filter   

Re: Guile Hoot v0.1.0 RELEASED!

2023-10-16 Thread Nala Ginrut
Congrats!
That's really cool!

Is the r7rs macros supported?

Best regards.


On Tue, Oct 17, 2023, 02:55 Christine Lemmer-Webber 
wrote:

> GOOD NEWS!  Spritely's Scheme -> WASM compiler's first release is OUT!
> That's right... Scheme in your browser!!!
>
>   https://spritely.institute/news/guile-hoot-v010-released.html
>
> Docs here: https://spritely.institute/files/docs/guile-hoot/0.1.0
>
> And it's already in Guix
>
>   $ guix pull
>   $ guix shell --pure guile-next guile-hoot
>
> ALSO!  We had an awesome interview over at System Crafters!
>
>   https://www.youtube.com/watch?v=8LuQtoy9NLs
>
> Now go make something cool!  Let's change the web! :)
>
>  - Christine, on behalf of the Spritely Hoot team
>
>


Re: Guile Hoot v0.1.0 RELEASED!

2023-10-16 Thread Dr. Arne Babenhauserheide

Christine Lemmer-Webber  writes:

> GOOD NEWS!  Spritely's Scheme -> WASM compiler's first release is OUT!
> That's right... Scheme in your browser!!!
>
>   https://spritely.institute/news/guile-hoot-v010-released.html

Thank you! That’s awesome!

> Docs here: https://spritely.institute/files/docs/guile-hoot/0.1.0
>
> And it's already in Guix
>
>   $ guix pull
>   $ guix shell --pure guile-next guile-hoot

And since some (most) seem to have missed it when you showed the thing
that blew my mind: In Guix you can already see the example with a single
shell command:

guix shell google-chrome-unstable -- google-chrome-unstable 
https://spritely.institute/news/scheme-wireworld-in-browser.html

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de


signature.asc
Description: PGP signature