Re: [Chicken-users] Choosing chicken

2007-06-04 Thread Sunnan

Shawn W. wrote:
For more specific tasks, some schemes are better suited than others -- 
if you want good java integration instead of C, you'll want kawa.
Is kawa still being actively developed? I'm looking for a good java 
scheme and I haven't settled yet. (Sisc may be faster, and it may be the 
one I end up with, but it seems underdocumented to me.)


If you want a small extension language for an existing program written 
in something besides scheme, tinyscheme or guile come to mind.


If that something-beside-scheme is C, I'd probably go with Chicken.
To get screaming fast numeric code stalin.  
Stalin doesn't currently support the numeric tower. (That said, I'm very 
impressed by what it can do.)


Chicken also has a few ways to more-or-less easily optimize your code, 
for example the crunch egg.


As for choosing chicken...
This thread might degenerate into AOL hell as everybody me-too:s, but 
for me it's ease of use, good continuation performance, many extensions, 
great community (+ felix!) and good integration with C and Unix.


Sunnan


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Gtk with easyFFI

2007-06-04 Thread felix winkelmann

What errors do you get?


cheers,
felix

On 6/3/07, Alex Queiroz [EMAIL PROTECTED] wrote:

Hallo,

On 6/3/07, felix winkelmann [EMAIL PROTECTED] wrote:

 It is currently hidden and only accessible via svn (a choice
 by Tony Sidaway, the author). You can get it like this:


 Did not build here buy hey, maybe that's why it's hidden. :-)

--
-alex
http://www.ventonegro.org/




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: Choosing chicken

2007-06-04 Thread Harri Haataja

On 03/06/07, Brandon Van Every [EMAIL PROTECTED] wrote:

On 6/2/07, Jens Axel Søgaard [EMAIL PROTECTED] wrote:



 PLT has an automated build system that each night builds what is in
 the current SVN. You can download these builds from this page:
  http://pre.plt-scheme.org/installers/
 Build errors are therefore caught *very* quickly.
Ouch well then they're certainly ahead in that respect.  Nightly
builds and automated testing systems are only wish list for Chicken.
CMake has the infrastructure to do all of that elegantly, but nobody
has the inclination to actually implement it.  I've had it as a task
in our bug tracker for awhile, but recently I abdicated responsibility
for it, as it's a huge task and I must look to more $ things right
now.


Is there anything like a build farm available or are the chicken
builds just done on some developers' machinery? I might actually be
interested in this, but don't know what I could deliver. This corner
looks like another spot where I might be able to attack chicken :)

--
I appear to be temporarily using gmail's horrible interface. I
apologise for any failure in my part in trying to make it do the right
thing with post formatting.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] chicken and stalin

2007-06-04 Thread bryan rasmussen

Hi,

I was wondering about integration between Chicken and Stalin, has
anyone ever done anything to use the two together in any way?

Cheers,
Bryan Rasmussen


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread felix winkelmann

On 6/4/07, bryan rasmussen [EMAIL PROTECTED] wrote:

Hi,

I was wondering about integration between Chicken and Stalin, has
anyone ever done anything to use the two together in any way?



What exactly do you mean with integration?


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread Sunnan

bryan rasmussen wrote:

Hi,

I was wondering about integration between Chicken and Stalin, has
anyone ever done anything to use the two together in any way?



1. Stalin reads sexps, chicken writes sexps (or vice versa)
2. Develop with a subset of chicken, deploy with stalin
3. Separate processes with fork/exec or client/server



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread felix winkelmann

On 6/4/07, Sunnan [EMAIL PROTECTED] wrote:

bryan rasmussen wrote:
 Hi,

 I was wondering about integration between Chicken and Stalin, has
 anyone ever done anything to use the two together in any way?


1. Stalin reads sexps, chicken writes sexps (or vice versa)


You mean, chicken+stalin compiled code exchanges information, right?
Sure, supported. ;-)


2. Develop with a subset of chicken, deploy with stalin


A stalin-compat library? No problem.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread Sunnan

felix winkelmann wrote:


A stalin-compat library? No problem.


It wasn't so much a request as an example of what people can do.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Gtk with easyFFI

2007-06-04 Thread Alex Queiroz

Hallo,

On 6/4/07, felix winkelmann [EMAIL PROTECTED] wrote:

What errors do you get?



./gtk2-extract-all-types 'gdk_.*_get_type' `pkg-config --cflags
gtk+-2.0`  gdk-types; \
   split -l 60 -d gdk-types gdk-types-
Error: (directory) cannot open directory - No such file or directory:
-DPNG_NO_MMX_CODE

   Call history:

   gtk2-extract-all-types.scm: 23   argv
   gtk2-extract-all-types.scm: 79   argv
   gtk2-extract-all-types.scm: 80   argv
   map
   gtk2-extract-all-types.scm: 85   string-substitute
   gtk2-extract-all-types.scm: 84   map-directory
   gtk2-extract-all-types.scm: 31   directory?
   gtk2-extract-all-types.scm: 40   directory  --

./gtk2-extract-all-types 'gtk_.*_get_type' `pkg-config --cflags
gtk+-2.0`  gtk-types; \
   split -l 60 -d gtk-types gtk-types-
Error: (directory) cannot open directory - No such file or directory:
-DPNG_NO_MMX_CODE

   Call history:

   gtk2-extract-all-types.scm: 23   argv
   gtk2-extract-all-types.scm: 79   argv
   gtk2-extract-all-types.scm: 80   argv
   map
   gtk2-extract-all-types.scm: 85   string-substitute
   gtk2-extract-all-types.scm: 84   map-directory
   gtk2-extract-all-types.scm: 31   directory?
   gtk2-extract-all-types.scm: 40   directory  --

csc -DPNG_NO_MMX_CODE -C -I/usr/include/gtk-2.0 -C
-I/usr/lib/gtk-2.0/include -C -I/usr/include/atk-1.0 -C
-I/usr/include/cairo -C -I/usr/include/pango-1.0 -C
-I/usr/include/glib-2.0 -C -I/usr/lib/glib-2.0/include -C
-I/usr/include/freetype2 -C -I/usr/include/libpng12 -lgtk-x11-2.0 -L
-lgdk-x11-2.0 -L -latk-1.0 -L -lgdk_pixbuf-2.0 -L -lm -L
-lpangocairo-1.0 -L -lfontconfig -L -lXext -L -lXrender -L -lXinerama
-L -lXi -L -lXrandr -L -lXcursor -L -lXfixes -L -lpango-1.0 -L -lcairo
-L -lX11 -L -lgobject-2.0 -L -lgmodule-2.0 -L -ldl -L -lglib-2.0
-run-time-macros -o wrap wrap.scm
Error: (open-input-file) during expansion of
(gtype:init-types-from-file ...) - can not open file - No such file or
directory: gdk-types-00

   Call history:

   syntax(begin (gtype:init-types-from-file
gdk-types-00))
   syntax(gtype:init-types-from-file gdk-types-00)
   eval  (##sys#cons (quote foreign-code) (map (lambda
(name) (string-append g_type_name ( name ());\n))...
   eval  (map (lambda (name) (string-append
g_type_name ( name ());\n)) (with-input-from-file filename
re..
   eval  (with-input-from-file filename read-lines)  --
*** Shell command terminated with exit status 70: /usr/bin/chicken
wrap.scm -output-file wrap.c -quiet -feature PNG_NO_MMX_CODE
-run-time-macros
make: ** [wrap] Erro 70

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread Brandon Van Every

On 6/4/07, felix winkelmann [EMAIL PROTECTED] wrote:

On 6/4/07, Sunnan [EMAIL PROTECTED] wrote:
 felix winkelmann wrote:
 
  A stalin-compat library? No problem.
 
 It wasn't so much a request as an example of what people can do.


I was not suggesting to write such a thing. :-)


Reading this thread, all I can say is man what a bunch of goofy
noodlers you are!  :-)  I can't even fathom the practical motivation
to do any of this, seeing as Stalin is the most user unfriendly and
unsupported Scheme distribution out there.  Where is Stalin's wiki,
bug tracker, source code repository, extensions repository, mailing
list, and user community?  The question isn't how you would use Stalin
with Chicken, but whether anyone uses Stalin at all.


Cheers,
Brandon Van Every


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread Alex Queiroz

Hallo,

On 6/4/07, Brandon Van Every [EMAIL PROTECTED] wrote:


Reading this thread, all I can say is man what a bunch of goofy
noodlers you are!  :-)  I can't even fathom the practical motivation
to do any of this, seeing as Stalin is the most user unfriendly and
unsupported Scheme distribution out there.


Speed.

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Chicken manual in Texinfo format

2007-06-04 Thread chicken
On Fri, Jun 01, 2007 at 12:43:28AM +, Alejandro Forero Cuervo wrote:

 
 Can you provide a simplistic example of how an egg would be documented
 in the wiki using these tags and what the actual html produced would
 be?
 
 Thanks!


Is it possible to have syntax along the lines of the following
example. Basically, I want to have fixed section names and some code
that checks that all of the required sections are present in the wiki
page. Also, it would be nice to have something like the procedure and
symbol-table formatting elements in eggdoc. And I would prefer that 
the HTML generated out of this is as close to the that produced by
the eggdoc tool as possible. Or maybe generate sxml that is then parsed
using the eggdoc stylesheet? Anyway, here is the minimalistic example.
 


== Name
digraph

== Description
Directed graph in adjacency list format

== Author
[mailto:[EMAIL PROTECTED]|Ivan Raikov]
== History

* Version 1.3 Updated the roots procedure to match the documentation
* Version 1.0 Initial release

== Requires

[dyn-vector.html|dyn-vector]

== Usage
code(require-extension digraph)/code

== Download 
[digraph.egg|digraph.egg]

== Documentation
  
The digraph library is an implementation of a directed graph, where
the edges are stored as adjacency lists.

=== Directed graph procedures

The digraph object is created by procedure codemake-digraph/code,
which is the only user-visible procedure defined in this egg:

; Procedure: codemake-digraph:: NAME INFO [NODE-LIST [SUCC-LIST [PRED-LIST]]] 
- SELECTOR/code

 The returned selector procedure can take one of the following arguments: 
 
 ; Describe name:   returns the graph name (string or symbol)
 ; Describe info:  returns the graph metadata (arbitrary type)


== Examples
pre
;; example adapted from graph example in the Boost library documentation
(require-extension srfi-1)
(require-extension digraph)
(define g (make-digraph 'depgraph dependency graph))
/pre

== License

... 



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] ANN: format-modular 1.6

2007-06-04 Thread Kon Lovett


On Jun 4, 2007, at 7:31 PM, Alejandro Forero Cuervo wrote:


I have released a new version of the 'format-modular' egg.


Are you aware that you made it impossible to install it in Chicken
2.5?


Yes. I don't have 2.5 to test. Please remove the '(required-chicken- 
version 2.6)'  try it. Let me know.




Alejo.
http://azul.freaks-unidos.net/




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] ANN: format-modular 1.6

2007-06-04 Thread Alejandro Forero Cuervo
 I have released a new version of the 'format-modular' egg.

Are you aware that you made it impossible to install it in Chicken
2.5?

Alejo.
http://azul.freaks-unidos.net/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread John Cowan
Brandon Van Every scripsit:
 Speed, to the exclusion of all other considerations, is not the real
 world.  I can understand compiling portable Scheme code under any 2
 different compilers.  I cannot fathom trying to get such code to
 interoperate.  This thread reads like a Frankenstein support
 nightmare.

Developing code under Chicken is fairly straightforward; developing
code under Stalin is painful in the extreme.  It therefore is plausible
to have a Stalin-compatible library for Chicken that allows one to
develop code that Stalin can handle after it is fully debugged under
Chicken.  You can then gain the advantages of Stalin's massive
optimizations to gain execution speed.

-- 
John Cowan  [EMAIL PROTECTED]  http://ccil.org/~cowan
In the sciences, we are now uniquely privileged to sit side by side
with the giants on whose shoulders we stand.
--Gerald Holton


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Number representation question

2007-06-04 Thread Peter Keller
Hello,

According to the R5RS spec, I should be able to write a number like this:

.3###e-5

However, chicken rejects this with the numbers egg and determines
it is an unbound variable. What's up?  (I realize the mathematical
simplification of it, but that isn't the point, I think it should be
recognized by the lexer and it isn't).

Thank you.

-pete


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users