Re: [Chicken-users] on generating types files for compound libraries of multiple modules

2019-08-14 Thread Marco Maggi
megane wrote: > Marco Maggi writes: >> Peter Bex wrote: >>> On Wed, Aug 14, 2019 at 08:23:51AM +0200, Marco Maggi wrote: >> 1. Is there a way to print to stderr the list of consulted ".types" >> files? I do not see such an option in: >>

Re: [Chicken-users] on generating types files for compound libraries of multiple modules

2019-08-14 Thread Marco Maggi
Peter Bex wrote: > On Wed, Aug 14, 2019 at 08:23:51AM +0200, Marco Maggi wrote: >> I see there is no declaration specifier for "-emit-types-file", is >> there a reason?I would appreciate something similar to >> "emit-import-library&quo

[Chicken-users] on generating types files for compound libraries of multiple modules

2019-08-14 Thread Marco Maggi
t; syntactic bindings and some "private" syntactic bindings. Is this case currently supported by CHICKEN? TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] how to debug a segfault?

2019-08-12 Thread Marco Maggi
t gdb just tells me "No stack" when I try to display the backtrace after running the program and Feathers just shows the "segmentation fault" on the terminal and nothing in the X window. How do you do it? TIA -- Marco Maggi __

[Chicken-users] requesting a types file from declarations

2019-08-12 Thread Marco Maggi
Ciao, is there no way to request an "emit-types-file" from a declaration specifier? Like "emit-import-library"? TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] documentation of declaration specifier "hide"

2019-08-11 Thread Marco Maggi
Ciao, the documentation states that: `(declare (hide))` is equivalent to `(declare (block))` should it be equivalent to `(declare (block-global))` ? TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https

Re: [Chicken-users] retrieving a structure's symbol name

2019-07-24 Thread Marco Maggi
R6RS record-type can be associated to a unique identifier (UID), which is a symbol. Defining the same record-type in multiple modules is fine, under the correct conditions. Using the UID as struct type name, and so implementing records as simple CHICKEN structs, seems an eff

Re: [Chicken-users] retrieving a structure's symbol name

2019-07-24 Thread Marco Maggi
Peter Bex wrote: > On Wed, Jul 24, 2019 at 03:49:13PM +0200, Marco Maggi wrote: >> Ciao, >> I know that it is dirty, but is it possible to retrieve the symbol >> name of a structure from the block object? If I create a structure >> with: >>(def

[Chicken-users] retrieving a structure's symbol name

2019-07-24 Thread Marco Maggi
structure object bound to "O"? I searched "library.scm" in CHICKEN's 5.1.0 source without success. TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] how the second argument to ERROR is handled

2019-07-21 Thread Marco Maggi
) (get-condition-property E 'exn 'message) (get-condition-property E 'exn 'arguments (lambda () (error 1 2 3) => '(#f 1 (2 3)) or should the "message" property be #f? TIA --

[Chicken-users] [announc] MMCK Exceptional Conditions v0.1.0-devel.0

2019-07-19 Thread Marco Maggi
Stuff related to exceptions, condition objects, and the dynamic environment. <http://marcomaggi.github.io/docs/mmck-exceptional-conditions.html/> -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/m

Re: [Chicken-users] wrong number of arguments to continuation when escaping?

2019-07-18 Thread Marco Maggi
Peter Bex wrote: > On Thu, Jul 18, 2019 at 06:43:06AM +0200, Marco Maggi wrote: >> I do not understand why some place expects 1 argument. The problem goes >> away if I replace: >>(escape) >> with: >>(escape 1) > Hi Marco, > This is a known &

[Chicken-users] wrong number of arguments to continuation when escaping?

2019-07-17 Thread Marco Maggi
-current-continuation demo.scm:27: chicken.pretty-print#pretty-print demo.scm:28: chicken.pretty-print#pretty-print demo.scm:29: escape <-- I do not understand why some place expects 1 argument. The problem goes away if I replace: (escape) with: (escape 1) TI

Re: [Chicken-users] importing a syntactic binding for level -1

2019-07-13 Thread Marco Maggi
CRO-TRANSFORMER has been called? I'm not trying to inject syntactic bindings in the original environment, I just want to put as much as possible of a macro body into a separate library to be imported "for syntax". -- Marco Maggi _

[Chicken-users] [announce] MMCK Infix

2019-07-13 Thread Marco Maggi
An infix to prefix notation transformer: <http://marcomaggi.github.io/docs/mmck-infix.html/index.html> -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] importing a syntactic binding for level -1

2019-07-13 Thread Marco Maggi
my-lib)" I have: (define (doit rename) (rename 'fx+)) but for this to work cleanly: in "(my-lib)" I should import "fx+" at level -1? Is it right? This is possible with R6RS implementations. How about CHICKEN? TIA -- Marco Maggi _

[Chicken-users] [announce] MMCK PFDS

2019-07-12 Thread Marco Maggi
A port to CHICKEN of Ian Price's PFDS libraries: <http://marcomaggi.github.io/docs/mmck-pfds.html/> -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] [announce] MMCK Fectors

2019-07-12 Thread Marco Maggi
A port to CHICKEN of the Ian Price's Fectors library: <http://marcomaggi.github.io/docs/mmck-fectors.html/> -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] problem upgrading to chicken 5.1.0: srfi-1.types': No such file or directory

2019-07-10 Thread Marco Maggi
fault? The eggs "procedural-macros" and "system-information" are installed without errors. -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] matchable egg: error while reporting error?

2019-06-03 Thread Marco Maggi
Peter Bex wrote: > On Mon, Jun 03, 2019 at 06:21:56AM +0200, Marco Maggi wrote: >> Ciao, >> with CHICKEN 5.0.0 this form using MATCH from "matchable" (updated >> right now): >> (match '(#:a #:b c d) >> (((? keyword? k*) ... (? symbol? s*) ...)

[Chicken-users] matchable egg: error while reporting error?

2019-06-02 Thread Marco Maggi
lse? Of is it fine to report it here first? And do I really need to privately contact a person to get an account on the bugs server? TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] for those who have interest in procedure objects decoration

2019-05-22 Thread Marco Maggi
gt; So it makes sense they don't have a separate entry. It's like having => > as a separate entry; it doesn't exist either except in cond and case > forms. But people will search for them. -- Marco Maggi ___ Chicken-users mailing list Chicke

Re: [Chicken-users] for those who have interest in procedure objects decoration

2019-05-22 Thread Marco Maggi
Peter Bex wrote: > On Wed, May 22, 2019 at 10:59:17AM +0200, Marco Maggi wrote: >> Ciao, >> I'm composing unofficial documentation for CHICKEN internals that are >> usable from client code. As part of this I have added a section about >> decorating p

[Chicken-users] for those who have interest in procedure objects decoration

2019-05-22 Thread Marco Maggi
e got everything right. I accept issues and pull requests at the project's site: <https://github.com/marcomaggi/mmck-chicken-docs> -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mail

[Chicken-users] what's the license of CHICKEN's manual

2019-05-18 Thread Marco Maggi
Ciao, I do not see any note on the website, nor on the output of "chicken-doc". I ask because I am interested in having documentation in a different format. TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@

[Chicken-users] what does "##core#check" do?

2019-05-13 Thread Marco Maggi
re" uses without it. TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] on the usage of the unsafe operations ##sys##slot and similar

2019-05-12 Thread Marco Maggi
Peter Bex wrote: > On Sun, May 12, 2019 at 11:10:51AM +0200, Marco Maggi wrote: > If you're interested in this, perhaps you find this blog post of mine > useful: https://www.more-magic.net/posts/internals-data-representation.html > It explains how values are represented in memor

[Chicken-users] on the usage of the unsafe operations ##sys##slot and similar

2019-05-12 Thread Marco Maggi
##sys#slot, ##sys#setslot, ##sys#setislot , ##sys#size on every Scheme object whose memory layout is similar to the one of Scheme vectors? TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman

Re: [Chicken-users] is it possible to define expand-time values?

2019-05-04 Thread Marco Maggi
Peter Bex wrote: > On Sat, May 04, 2019 at 03:56:12PM +0200, Marco Maggi wrote: >> ... in CHICKEN 5.0.0 or in a future release? I can find nothing >> relevant on the CHICKEN Wiki. Here what they should do: >> <http://marcomaggi.github.io/docs/vicare-scheme.html

Re: [Chicken-users] is it possible to define expand-time values?

2019-05-04 Thread Marco Maggi
Marco Maggi wrote: > ... in CHICKEN 5.0.0 or in a future release? I can find nothing > relevant on the CHICKEN Wiki. Here what they should do: > <http://marcomaggi.github.io/docs/vicare-scheme.html/iklib-expander-etv.html> > it would open a can of worms^H^H^H^H^H po

Re: [Chicken-users] is there a place where I can do a proper fork of the coops egg?

2019-05-04 Thread Marco Maggi
y fork on Github. -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] is it possible to define expand-time values?

2019-05-04 Thread Marco Maggi
... in CHICKEN 5.0.0 or in a future release? I can find nothing relevant on the CHICKEN Wiki. Here what they should do: <http://marcomaggi.github.io/docs/vicare-scheme.html/iklib-expander-etv.html> it would open a can of worms^H^H^H^H^H possibilities. -- Marco

Re: [Chicken-users] is there a place where I can do a proper fork of the coops egg?

2019-05-03 Thread Marco Maggi
Mario Domenech Goulart wrote: > On Fri, 03 May 2019 15:39:14 +0200 Mario Domenech Goulart > wrote: >> On Fri, 03 May 2019 15:09:57 +0200 Marco Maggi >> wrote: >>> I see nothing in the egg's home page. >> Usually, when you cannot find a link to

[Chicken-users] is there a place where I can do a proper fork of the coops egg?

2019-05-03 Thread Marco Maggi
I see nothing in the egg's home page. TIA -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] better printer for coops instances?

2019-04-25 Thread Marco Maggi
beginning with: Error: (doit) no method defined for given argument classes: (# # #) I would really enjoy seeing something similar to: # value=#\z> # value=2> # value=3> instead of "#". Is something like this possible?

Re: [Chicken-users] repository pathname, location and customisation, lib64

2019-04-06 Thread Marco Maggi
Evan Hanson wrote: > Hi Marco, > On 2019-03-25 6:08, Marco Maggi wrote: >> Am I correct in saying that the README in Chicken's distribution is >> missing a note saying that we should *not* "strip" the installed >> binaries? If I strip them I get

Re: [Chicken-users] how to compile files, modules, shared libraries, programs

2019-03-29 Thread Marco Maggi
ko...@upyum.com wrote: > Marco Maggi wrote: >> I already have a too long list of things to learn. I am used to the GNU >> Autotools and I can recycle this knowledge. Less things, better life... > You might want to check this project out, which uses autotools. :) > htt

Re: [Chicken-users] how to compile files, modules, shared libraries, programs

2019-03-29 Thread Marco Maggi
Kristian Lein-Mathisen wrote: > [...] What's the reason you don't want to use chicken-install to > build? I already have a too long list of things to learn. I am used to the GNU Autotools and I can recycle this knowledge. Less things, better life... -- Marco

Re: [Chicken-users] how to compile files, modules, shared libraries, programs

2019-03-27 Thread Marco Maggi
Marco Maggi wrote: > [...] I want to make the following package work: > <https://github.com/marcomaggi/mmux-chicken-template> I managed to make it work, I think. I am not quite "there", yet. I still have some problems with modules: if a source file defines a mod

Re: [Chicken-users] how to compile files, modules, shared libraries, programs

2019-03-26 Thread Marco Maggi
-L. -L/opt/chicken/5.0.0/lib64 -Wl,-R/opt/chicken/5.0.0/lib64 -lchicken -lm -ldl Makefile:36: recipe for target 'library-for-expand.so' failed make: *** [library-for-expand.so] Error 1 -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nong

Re: [Chicken-users] how to compile files, modules, shared libraries, programs

2019-03-26 Thread Marco Maggi
Peter Bex wrote: > On Tue, Mar 26, 2019 at 06:52:44AM +0100, Marco Maggi wrote: >> Ciao, >> I was not able to find documentation about how to compile libraries >> and programs with Chicken 5, using a Makefile. There are bits here and >> there but nothing comple

[Chicken-users] how to compile files, modules, shared libraries, programs

2019-03-25 Thread Marco Maggi
Ciao, I was not able to find documentation about how to compile libraries and programs with Chicken 5, using a Makefile. There are bits here and there but nothing complete enough for a newbie like me. Is there a project somewhere that does this? TIA -- Marco Maggi

Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-25 Thread Marco Maggi
the following: > git clone https://github.com/wasamasa/breadline > cd breadline > chicken-install It works, thanks! -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] repository pathname, location and customisation, lib64

2019-03-24 Thread Marco Maggi
ko...@upyum.com wrote: > Marco Maggi wrote: >> Under Slackware 32-bit the libraries' directory is "$prefix/lib", >> while underSlackware 64-bit the libraries'directory is >> "$prefix/lib64". On a 64-bit platform: it is possible

[Chicken-users] repository pathname, location and customisation, lib64

2019-03-23 Thread Marco Maggi
Wiki, the bugs database and the mailing list archive: it seems that this is not currently supported? But in some old messages, someone *is* using "lib64"... TIA [1] <http://wiki.call-cc.org/chicken-projects/egg-index-5.html> -- Marco Maggi ___ Chick

[Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-23 Thread Marco Maggi
or: shell command terminated with nonzero exit code 256 "sh /home/marco/.chicken-install/cache/breadline/breadline.build.sh" Sadness. But life goes on... -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] is the readline egg dead?

2019-03-23 Thread Marco Maggi
I'm a newbie on a x84_64-pc-linux-gnu. $ chicken-install readline -sudo Server error: Error: [Server] no such extension or version "readline" #f Server error: Error: [Server] no such extension or version "readline" #f Error: extension or version not found: "readl

Re: [Chicken-users] need help with hygienic macros

2013-05-12 Thread Marco Maggi
gokuraku in the code... but sometimes useful. For example this macro definition pattern is used effectively in the Scheme reader of Ikarus/Vicare. HTH -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org

Re: [Chicken-users] define-macro in chicken 4?

2010-05-26 Thread Marco Maggi
) () ,expression) (,(syntax lambda) ,formals . ,body)) (receive (a b) (values 1 2) (write 'ciao) (list a b)) HTH [1] http://chicken.wiki.br/syntax-case -- Marco Maggi ___ Chicken-users mailing list Chicken-users@nongnu.org http

[Chicken-users] broken links on Chicken's web site

2010-05-24 Thread Marco Maggi
I dunno where to report this; the following links outgoing from: http://chicken.wiki.br/chicken-projects/egg-index-4.html do not work: http://chicken.wiki.br/chicken-projects/egg-index-4.html#macros http://chicken.wiki.br/eggref/4/make -- Marco Maggi