Live data from Hacker News

GNU Guile 3.0

gnu.org

61–64 of 64 posts

Re: GNU Guile 3.0

#61
post #19

Earlier quoted context omitted.

Yes. You will be able to recreate the examples and problems exactly as they are written using Guile (or any other R6RS-compliant Scheme).

What about things that are not part of R6RS like the picture language or parallel-execute?

A picture language equivalent can be found here: https://git.elephly.net/gitweb.cgi?p=software/guile-picture-...

Re: GNU Guile 3.0

#62
post #51

Earlier quoted context omitted.

libtoolize is a program provided by the libtool package. It's pretty common in the GNU ecosystem, and is used for managing some of the more subtle aspects of build-time and runtime linking. Agreed that the README needs much better documentation of the package-time dependencies (autoconf, automake, m4, perl, etc), and the build-time dependencies (libtool, libgc, plus a bunch of other libraries).

Yeah, that was just my ignorance which a quick search on the Imterwebs remedied. With the bananian (Debian) package 'libtool' installed (and flex and libunistring-dev) $ sh -x ./autogen.sh completes successfully and I got a ./configure and a INSTALL file (don't recall having seen an INSTALL file be autogenerated, but my memory might very well be failing me there). The './configure' also completes successfully (after…

I ran into some trouble on Ubuntu 18.04 / AMD64, but it's fixable. I never saw the error you saw, but perhaps this will still be helpful.

I used the release from https://ftp.gnu.org/gnu/guile/guile-3.0.0.tar.gz (linked from https://www.gnu.org/software/guile/download/ )

It's a release file so it includes the configure script out of the box. To install the build dependencies:

    sudo apt-get install libtool libgmp-dev libiconv-dev libltdl-dev libgc-dev libffi libffi-dev libunistring-dev pkg-config
After running sudo make install I tried to run guile, but it complained about not finding a .so file. A symlink fixed it:

    sudo ln -s /usr/local/lib/libguile-3.0.so.1 /usr/lib/
After this, it worked. Perhaps fire up a fresh Bash for good measure.

Unrelated: I can't use the history in the Guile REPL though - if I press the up key, I get garbage rather than my previous line.

Re: GNU Guile 3.0

#63
post #4

JIT support, great news.

The JIT uses a fork of the GNU Lightning JIT engine. The fork has the best/worst name imaginable: Lightening. [0] [1] [2]

[0] https://wingolog.org/archives/2019/05/24/lightening-run-time...

[1] https://www.gnu.org/software/guile/docs/master/guile.html/Ju...

[2] https://gitlab.com/wingo/lightening

Re: GNU Guile 3.0

#64

Earlier quoted context omitted.

Yeah, that was just my ignorance which a quick search on the Imterwebs remedied. With the bananian (Debian) package 'libtool' installed (and flex and libunistring-dev) $ sh -x ./autogen.sh completes successfully and I got a ./configure and a INSTALL file (don't recall having seen an INSTALL file be autogenerated, but my memory might very well be failing me there). The './configure' also completes successfully (after…

I ran into some trouble on Ubuntu 18.04 / AMD64, but it's fixable. I never saw the error you saw, but perhaps this will still be helpful. I used the release from https://ftp.gnu.org/gnu/guile/guile-3.0.0.tar.gz (linked from https://www.gnu.org/software/guile/download/ ) It's a release file so it includes the configure script out of the box. To install the build dependencies: sudo apt-get install libtool libgmp-dev li…

Oops, fixed command for installing dependencies:

    sudo apt-get install -y libtool libgmp-dev libltdl-dev libgc-dev libffi-dev libffi-dev libunistring-dev pkg-config
Post reply on HN