How to convert a string into bignum in C code which extends Guile?

In Guile 1.6.*, the function scm_istring2number(char *str,int strlen,int radix) does the work. However, this function does not exist in Guile 1.8.. How can I accomplish the same task in Guile...

How to load an extension in Guile 2.0?

I'm trying to load the Graphviz extension for Guile 2.0. This line of scheme code, suggested by Graphviz's documentation, works in Guile 1.8: (load-extension...

python 3.x no module named sqlalchemy after installation

I'm trying to install sqlalchemy to interact with mysql database for my python 3.x with ubuntu 12.04, but then when I import the sqlalchemy it says no module named sqlalchemy. This is what i did...

How do I link c++ code against "libguile" with "guile-1.8.8"?

I want to embed guile in a c++ application, but I get "undefined reference" errors when I try to compile: Ubuntu 12.04 guile-1.8.8 If I compile the example from the guile docs gcc -o guile-test...

Backspace malfunctions over SSH when running scheme interpreter

I am trying to SSH into my Ubuntu PC from an iPad to run a scheme interpreter on the terminal. The backspace works fine for anything else I do over SSH (navigating folders, editing with vim, etc.)...

Cygwin - Error Running Program on Windows 8.1

Operating System: Windows 8.1 Cygwin Version: Latest version, as of Sept. 9, 2014. Guile Version: 1.8 Background: My overall goal is to install a program called "MIT Photonics Band (MPB)" on...

failed to install 'graphviz*' packages with yum command on my RHEL server

I failed to install 'graphviz' on my RHEL server using 'yum' command I downloaded graphviz-rhel.repo,and saved it at /etc/yum.repos.d/ following www.graphviz.org.Then I use "yum -y install...

whats the difference between shellscript and makefile command invocation?

story I wrote a Makefile instead of a shellscript to build binary packages for gentoolinux. There are three targets available chroot, system and packages: chroot: prepares a gentoo stage3 chroot...

Building weechat from source does not find ncurses.h even when location specified explicitly

I am trying to build weechat IRC client on server (which I do not have sudo control). While configuration, even after explicitly providing the location for ncurses files, cmake is failing to take...

Guile Scheme read-line reading past EOF

Using guile 1.8 or guile 2, the following code reads past EOF, seemingly for a few extra lines, then stops. The effect this has in the larger program of which this is an extract is to seemingly...

Named let in Scheme

I am attempting to write a loop in Scheme using named let. I would like to be able to break out of the iteration early based on various criteria, rather than always looping right at the end....

how to brew install guile 1.8 on mac

I want to compile texmacs on my mac. It requires guile1.8 however I can only got an 2.2 version by brew install guile. I used brew search guile and there is only one guile. How can I install...

gcc compiler not recognizing -fno-plt option

I am trying to compile QuantLib Python SWIG bindings on Amazon's EC2 instance with Amazon Linux AMI. I have managed to compile QuantLib itself successfully, however, when trying to compile...

How efficient is (Guile) Scheme's reverse function

It is very easy to use Scheme's reverse function, for example after creating a list in reverse order with (cons new-obj my-list) rather than (append my-list (list new-obj)). However, I'm wondering...

How does the canonical match-letrec implementation work?

I am currently porting Alex Shinn's canonical implementation of match for Scheme, which is used by almost all Scheme implementations, to another Lisp. I've run into a total wall with match-letrec....