Shiro Kawai | 7 Oct 2008 16:35
Favicon

Release 0.8.14

Gauche 0.8.14 is available.

 http://practical-scheme.net/gauche/

This release is to flush out cumulative bug fixes and small
improvements.  Nothing particularly shiny, but the performance is
also slightly improved, so you might want to upgrade.

In SVN trunk there's a module parser.peg, a parser combinator library
for parsing expression grammar.   It is NOT included in this release.
I want it be the default choice of the parser of Gauche, and not
satisfied by the current implementation.  You may try it from svn,
but be aware that the API will be changed a lot in future.

Some suggested changes are not incorporated due to the lack of
the time of testing, including Tomas Stanek's suggestion of using
USE_MMAP in GC.

It's been over 4 years since Gauche reached 0.8.  It's not that
the development is slowed down; in fact a lot of code has been
added or rewritten since then.  These days I get more and more
opportunities to use Gauche in real work, and keep adding
stuff that are required in the production environment.  During
the course, I started to feel to adjust the original plan 
a little bit, though.

Originally I wanted to fix C ABI by 0.9, so that after 1.0 you
don't need to recompile every extensions for each new release
of Gauche.  However the goal seems further than I thought, mainly
because improvements in various parts (including VM) tend to
(Continue reading)

KOGURO, Naoki | 11 Oct 2008 14:19

ANN: dyncomp 0.2.0

Hi all.

dyncomp 0.2.0 is released.

dycomp is a module that enables to create C function with
gauche.cgen.cise (C in S expression). This function is compiled to
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can
create a fast function.

The change from the previous version is:
    - Gauche module has bindings of C symbols, so different gauche  
modules can associate different binding to the same C symbol.
    - Added some macros (define-cfn, dyncomp-reset!).

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for
more details.

--
KOGURO, Naoki <naoki <at> koguro.net>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bill Schottstaedt | 14 Oct 2008 00:20
Picon

0.8.14 FFI changes

I moved to 0.8.14 today, and all my stuff immediately segfaults.
Is there a list somewhere of the changes in this version as relates to
foreign code?  For example, optional arguments to a foreign function
trigger a "wrong number of arguments" error.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Shiro Kawai | 14 Oct 2008 01:25
Favicon

Re: 0.8.14 FFI changes

I'm not aware of any library-level API incompatibility in 0.8.14.
The binary structure layout has been changed, as usual, so you need
to recompile the stuff (the generated C files from 'stub' files
have been changed, so you should build from clean state).

But if you get an error even after that, could you describe 
some more concrete example where the incompatibility araises?
I might have overlooked something.

--shiro

From: "Bill Schottstaedt" <bil <at> ccrma.Stanford.EDU>
Subject: [Gauche-devel] 0.8.14 FFI changes
Date: Mon, 13 Oct 2008 15:20:21 -0700

> I moved to 0.8.14 today, and all my stuff immediately segfaults.
> Is there a list somewhere of the changes in this version as relates to
> foreign code?  For example, optional arguments to a foreign function
> trigger a "wrong number of arguments" error.
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gauche-devel mailing list
> Gauche-devel <at> lists.sourceforge.net
(Continue reading)

Kouhei Sutou | 22 Oct 2008 15:06
Favicon
Gravatar

[ANN] GaUnit 0.1.6

Hi,

I've released GaUnit 0.1.6:
  http://www.cozmixng.org/~rwiki/?cmd=view;name=GaUnit
  http://www.cozmixng.org/~kou/download/gaunit-0.1.6.tar.gz

GaUnit is a xUnit based unit testing framework for Gauche.

! How to write?

gauche.test:

  (test "add" 3 (lambda () (+ 1 2)))
  (test "sub" -1 (lambda () (- 1 2)))

GaUnit:

  (define (test-add)
    (assert-equal 3 (+ 1 2)))

  (define (test-sub)
    (assert-equal -1 (- 1 2)))

! Output example

A failure test derived from test/string.scm in the Gauche
repository with a small change (bar -> baz):

gauche.test:
  (test* "string-join" "foo::baz::baz"
(Continue reading)


Gmane