Guile 2 birthday potluck

2013-01-08 Thread Andy Wingo
Hey folks!

February 16 will mark 2 years of Guile 2, and following Ludovic's
example I thought it might be a nice idea to organize a little
hack-potluck :-)

For those of you that are unfamiliar with the term, a "potluck" is a
dinner where everyone cooks something at home and brings it for all to
share.  A hack-potluck would be a more virtual feast, in which the
diners show off some little program they've been cooking.

So start your emacsen and get cooking!  We've got 5 weeks until 16
February, ample time for a delicious concoction :)

Cheers,

Andy
-- 
http://wingolog.org/



Re: regexp character classes not supported?

2013-01-08 Thread Ian Price
Klaus Schilling  writes:

> does irregex support SNOBOL-style patterns?

I have not used SNOBOL, so I can't really say for sure if irregexes
functionality subsumes it. The documentation itself does not refer to
SNOBOL at all.

-- 
Ian Price -- shift-reset.com

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"



Re: Guile 2 birthday potluck

2013-01-08 Thread John Darrington
What is the procedure for serving our gastronomic gourmet of guile?

Who or what will perform the degustation?

J'

On Tue, Jan 08, 2013 at 11:33:22AM +0100, Andy Wingo wrote:
 
 February 16 will mark 2 years of Guile 2, and following Ludovic's
 example I thought it might be a nice idea to organize a little
 hack-potluck :-)
 
 For those of you that are unfamiliar with the term, a "potluck" is a
 dinner where everyone cooks something at home and brings it for all to
 share.  A hack-potluck would be a more virtual feast, in which the
 diners show off some little program they've been cooking.
 
 So start your emacsen and get cooking!  We've got 5 weeks until 16
 February, ample time for a delicious concoction :)
 

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.



signature.asc
Description: Digital signature


Re: Guile 2 birthday potluck

2013-01-08 Thread Andy Wingo
On Tue 08 Jan 2013 14:31, John Darrington  writes:

> What is the procedure for serving our gastronomic gourmet of guile?
>
> Who or what will perform the degustation?

I think we all must partake!

Perhaps we can spin it off to some news articles or interviews or
something.

Andy
-- 
http://wingolog.org/



Readline support in Cygwin

2013-01-08 Thread Akop Pogosian
Should this be reported as a Guile bug?

I have built Guile 2.0.7 in a recent version of Cygwin environment
under Windows 7. Readline support doesn't work. E.g.:

# $ guile --version
# guile (GNU Guile) 2.0.7
# ...

# $ guile -c "(use-modules (ice-9 readline))"

This gives a long trace output ending in:

# 2797: 3 [#]
# In unknown file:
#  ?: 2 [primitive-load-path "ice-9/readline" #f]
# In ice-9/readline.scm:
#  43: 1 [#]
#In unknown file:
#   ?: 0 [load-extension "libguilereadline-v-18" "scm_init_readline"]
#
# ERROR: In procedure load-extension:
# ERROR: In procedure dynamic-link: file: "libguilereadline-v-18",
message: "The specified module could not be found."

There appear to be readline header files and library on my PC:

# $ ls /usr/lib/libreadline.* /usr/include/readline/*
# /usr/include/readline/chardefs.h  /usr/include/readline/rlstdc.h
# /usr/include/readline/history.h   /usr/include/readline/rltypedefs.h
# /usr/include/readline/keymaps.h   /usr/include/readline/tilde.h
# /usr/include/readline/readline.h  /usr/lib/libreadline.a
# /usr/include/readline/rlconf.h/usr/lib/libreadline.dll.a


As well as the readline module in the Guile package directory:

# $ ls software/packages/guile-2.0.7/lib/
# guile   libguile-2.0.la  libguilereadline-v-18.la
# libguile-2.0.a  libguilereadline-v-18.a  pkgconfig

# $ ls software/packages/guile-2.0.7/share/guile/2.0/ice-9/readline.scm
# software/packages/guile-2.0.7/share/guile/2.0/ice-9/readline.scm


Guile was built with the following commands:

# LIBFFI_CFLAGS=-I/usr/lib/gcc/i686-pc-cygwin/4.5.3/include
LIBFFI_LIBS="-lffi -L/usr/lib/gcc/i686-pc-cygwin/4.5.3" ./configure
--prefix=$HOME/software/packages/guile-2.0.7
# make
# make install

During the configure stage, there was an indication that readline
library is found:

# checking how to link with libreadline... -lreadline
# ...
# checking for rl_getc_function pointer in readline... yes
# ...
# config.status: creating guile-readline/Makefile

However, during the "make" stage, the following messages were seen:

Making all in guile-readline
make[2]: Entering directory
`/home/akopps/software/src/guile-2.0.7/guile-readline'
  SNARF  readline.x
make  all-am
make[3]: Entering directory
`/home/akopps/software/src/guile-2.0.7/guile-readline'
  CC   readline.lo
  CCLD libguilereadline-v-18.la

*** Warning: This system can not link to static lib archive
../libguile/libguile-2.0.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lreadline.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libreadline but no candidates were found. (...for file magic test)



Re: Guile 2 birthday potluck

2013-01-08 Thread Nala Ginrut
On Tue, 2013-01-08 at 11:33 +0100, Andy Wingo wrote:
> Hey folks!
> 
> February 16 will mark 2 years of Guile 2, and following Ludovic's
> example I thought it might be a nice idea to organize a little
> hack-potluck :-)
> 
> For those of you that are unfamiliar with the term, a "potluck" is a
> dinner where everyone cooks something at home and brings it for all to
> share.  A hack-potluck would be a more virtual feast, in which the
> diners show off some little program they've been cooking.
> 
> So start your emacsen and get cooking!  We've got 5 weeks until 16
> February, ample time for a delicious concoction :)
> 
> Cheers,
> 
> Andy

Ah yeah~
I'm getting warm...last year we have just one-week quick hack, maybe
this year need more?