[Chicken-users] Need to do an install, any changes in the pipe line I should wait for?
I'm going to try getting Chicken 4.8.0.? installed in a corporate environment. This is not a nimble situation and if successful in getting the install approved I'll likely be stuck with that version for a long time. I've seen some messages on the chicken lists that look like some good progress on some important bugs. Should I wait a while before starting this process or is 4.8.0.5 a good target for the long term? Thanks. -- Matt -=- 90% of the nations wealth is held by 2% of the people. Bummer to be in the majority... ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?
On Fri, Nov 08, 2013 at 08:48:38AM -0700, Matt Welland wrote: I'm going to try getting Chicken 4.8.0.? installed in a corporate environment. This is not a nimble situation and if successful in getting the install approved I'll likely be stuck with that version for a long time. I've seen some messages on the chicken lists that look like some good progress on some important bugs. Should I wait a while before starting this process or is 4.8.0.5 a good target for the long term? What sort of thing will this CHICKEN installation be used for? Cheers, Peter -- http://www.more-magic.net ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?
On Fri, Nov 8, 2013 at 7:48 AM, Matt Welland estifo...@gmail.com wrote: I'm going to try getting Chicken 4.8.0.? installed in a corporate environment. This is not a nimble situation and if successful in getting the install approved I'll likely be stuck with that version for a long time. I've seen some messages on the chicken lists that look like some good progress on some important bugs. Should I wait a while before starting this process or is 4.8.0.5 a good target for the long term? Cool! I'm jealous you even have that opportunity! I use CHICKEN a lot for my own webapps and the main problem I've found in using older versions of CHICKEN is in using eggs. You may want to be very careful to keep the source around for each version of the eggs you use in case an egg gets updated to be incompatible with the CHICKEN version you are on and you may not be able to get the old version after that. (Or maybe I missed a way to use chicken-install to get old versions and their old dependencies?) You may also not want to always be on the latest versions of eggs when setting up new environments which would mean being careful about managing your own versions of eggs; ie keep dev and production environments in sync without always updating the production environment. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?
On Fri, Nov 08, 2013 at 08:09:35AM -0800, Thomas Hintz wrote: I use CHICKEN a lot for my own webapps and the main problem I've found in using older versions of CHICKEN is in using eggs. You may want to be very careful to keep the source around for each version of the eggs you use in case an egg gets updated to be incompatible with the CHICKEN version you are on and you may not be able to get the old version after that. (Or maybe I missed a way to use chicken-install to get old versions and their old dependencies?) You can request the specific version 1.0 of an egg named foo using chicken-install foo:1.0 Unfortunately, it will retrieve the latest versions of any dependencies. What we need now is a bundler workalike for CHICKEN. Hint, hint... :) Another simple way is to set up a proxying version of henrietta which will fetch the requested egg's sources of the real henrietta and save a copy for future reference. That would require a little bit of hacking, but shouldn't be too hard. Cheers, Peter -- http://www.more-magic.net ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] missing change-directory* in posix.import.scm
It would appear that change-directory* is not in the export list for the posix unit. This is causing a compile-time warning (which then upgrades to an error) when I use that function from an egg: --- posix.import.scm~ Fri Nov 8 10:14:14 2013 +++ posix.import.scmFri Nov 8 10:12:15 2013 @@ -30,6 +30,7 @@ call-with-input-pipe call-with-output-pipe change-directory + change-directory* change-file-mode change-file-owner close-input-pipe -Alan -- my personal website: http://c0redump.org/ ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] undefined references in egg
I have a situation that resembles the following, where I have a definition |foo| that calls an undefined-by-the-module |bar|: ++ t.setup (compile -s t.scm) (install-extension 't `(t.so t.import.so)) -- ++ t.scm (module t * (import scheme) (import chicken) (define (foo) (bar))) -- Running chicken-install, I get the following warning and error: Warning: reference to possibly unbound identifier `bar' in: Warning:foo Error: module unresolved: t Reading the code, it seems the above warning is converted to a fatal error, though there may be cases where it does not. Here is my problem: I have an egg that, while initializing, defines bar, but bar isn't defined at compile-time, so I'm getting this error. This works when I compile the code outside of a module, but there seems to be an additional constraint when I wrap it around (module ...). Can I tell chicken-install that I know this symbol is undefined, and that things will be ok? Do I need to create a compile-time dummy definition? How should I handle cases where my egg uses but doesn't define a symbol in the runtime environment? Thank you, -a -- my personal website: http://c0redump.org/ ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?
On Fri, Nov 8, 2013 at 8:53 AM, Peter Bex peter@xs4all.nl wrote: On Fri, Nov 08, 2013 at 08:48:38AM -0700, Matt Welland wrote: I'm going to try getting Chicken 4.8.0.? installed in a corporate environment. This is not a nimble situation and if successful in getting the install approved I'll likely be stuck with that version for a long time. I've seen some messages on the chicken lists that look like some good progress on some important bugs. Should I wait a while before starting this process or is 4.8.0.5 a good target for the long term? What sort of thing will this CHICKEN installation be used for? Cheers, Peter -- http://www.more-magic.net The primary purpose is to enable an installation of Megatest. With a little luck I hope to get Megatest, logpro and associated utilities complete and stable so I can install them centrally before the end of the year. BTW, the operative word is try :) A little grepping gives me the list of eggs below. I'll be doing some testing of 4.8.05 over the next week and wanted to hear from the dev's if there were patches in the queue I should wait for. apropos base64 canvas-draw csv-xml directory-utils dot-locking extras fmt format hostinfo http-client intarweb json md5 message-digest posix posix-extras readline regex regex-case regex-literals s11n spiffy spiffy-directory-listing spiffy-request-vars sqlite3 srfi-1 srfi-13 srfi-18 srfi-69 tcp trace uri-common zmq -- Matt -=- 90% of the nations wealth is held by 2% of the people. Bummer to be in the majority... ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] undefined references in egg
On Fri, Nov 08, 2013 at 10:42:10AM -0700, Alan Post wrote: Running chicken-install, I get the following warning and error: Warning: reference to possibly unbound identifier `bar' in: Warning:foo Error: module unresolved: t Reading the code, it seems the above warning is converted to a fatal error, though there may be cases where it does not. Yeah, the warnings are normal Scheme warnings which you'd get in regular compilation units. However, the module system can't handle unresolved references so it'll error out. Here is my problem: I have an egg that, while initializing, defines bar, but bar isn't defined at compile-time, so I'm getting this error. This works when I compile the code outside of a module, but there seems to be an additional constraint when I wrap it around (module ...). What you're asking does not make sense in the presence of a module system. No module can define an identifier into another module (at least, not without relying on weird implementation details). A simple way to fix this is to provide BAR as a hook which the module exposes, and expects another module to implement: (module foo (foo bar) (import chicken scheme) (define bar (parameter (lambda _ (error Hook not implemented (define (foo) ((bar (module something-else () (import chicken scheme foo) (bar (lambda () 42))) You can also use the functors module syntax if you want to get fancy: https://wiki.call-cc.org/man/4/Modules#functors Cheers, Peter -- http://www.more-magic.net ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] undefined references in egg
On Fri, Nov 08, 2013 at 06:50:58PM +0100, Peter Bex wrote: On Fri, Nov 08, 2013 at 10:42:10AM -0700, Alan Post wrote: Running chicken-install, I get the following warning and error: Warning: reference to possibly unbound identifier `bar' in: Warning:foo Error: module unresolved: t Reading the code, it seems the above warning is converted to a fatal error, though there may be cases where it does not. Yeah, the warnings are normal Scheme warnings which you'd get in regular compilation units. However, the module system can't handle unresolved references so it'll error out. Here is my problem: I have an egg that, while initializing, defines bar, but bar isn't defined at compile-time, so I'm getting this error. This works when I compile the code outside of a module, but there seems to be an additional constraint when I wrap it around (module ...). What you're asking does not make sense in the presence of a module system. No module can define an identifier into another module (at least, not without relying on weird implementation details). A simple way to fix this is to provide BAR as a hook which the module exposes, and expects another module to implement: (module foo (foo bar) (import chicken scheme) (define bar (parameter (lambda _ (error Hook not implemented (define (foo) ((bar (module something-else () (import chicken scheme foo) (bar (lambda () 42))) You can also use the functors module syntax if you want to get fancy: https://wiki.call-cc.org/man/4/Modules#functors Cheers, Peter -- http://www.more-magic.net Thank you Peter, that makes sense. My case will be served by parameterizing my currently undefined variables like you suggest. Well, assuming the core team gets my patch for the posix unit committed. -a -- my personal website: http://c0redump.org/ ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?
On Fri, 8 Nov 2013 17:16:11 +0100 Peter Bex peter@xs4all.nl wrote: On Fri, Nov 08, 2013 at 08:09:35AM -0800, Thomas Hintz wrote: I use CHICKEN a lot for my own webapps and the main problem I've found in using older versions of CHICKEN is in using eggs. You may want to be very careful to keep the source around for each version of the eggs you use in case an egg gets updated to be incompatible with the CHICKEN version you are on and you may not be able to get the old version after that. (Or maybe I missed a way to use chicken-install to get old versions and their old dependencies?) You can request the specific version 1.0 of an egg named foo using chicken-install foo:1.0 Unfortunately, it will retrieve the latest versions of any dependencies. What we need now is a bundler workalike for CHICKEN. Hint, hint... :) That would be very nice, indeed. Another simple way is to set up a proxying version of henrietta which will fetch the requested egg's sources of the real henrietta and save a copy for future reference. That would require a little bit of hacking, but shouldn't be too hard. There's also http://wiki.call-cc.org/eggref/4/egg-pack-sources (maybe I can make it handle the version of dependencies with some hackery). Best wishes. Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] R7RS-small draft ratified by Steering Committee
The final draft of R7RS-small has been ratified by a unanimous vote of the Scheme Language Steering Committee. A formal announcement will be made by the SLSC at the Scheme 2013 workshop. The final draft, post-final errata, and the TeX source of the draft are available at: http://trac.sacrideo.us/wg/raw-attachment/wiki/WikiStart/r7rs.pdf http://trac.sacrideo.us/wg/wiki/R7RSSmallErrata http://trac.sacrideo.us/wg/raw-attachment/wiki/WikiStart/r7rs-small-spec.zip Comments and discussion are encouraged on the scheme-repo...@scheme-reports.org mailing list, as always. -- A rose by any other nameJohn Cowan may smell as sweet, http://www.ccil.org/~cowan but if you called it an onion co...@ccil.org you'd get cooks very confused. --RMS ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?
On Fri, Nov 08, 2013 at 10:45:05AM -0700, Matt Welland wrote: The primary purpose is to enable an installation of Megatest. With a little luck I hope to get Megatest, logpro and associated utilities complete and stable so I can install them centrally before the end of the year. Oh, that's really cool! I think if you're just running Megatest and you won't be installing any new Scheme code it's enough to just test Megatest and if it works, stick with it. Usually, as new bugs get found and fixed these are when people run into unexplored corners of CHICKEN and getting in trouble, which you'll only run into when you're writing new code to run on that old CHICKEN, which just happens to expose the bug. There are always security issues which get discovered and may apply even to unchanging systems, but that's a constant with ANY system you set up and expect to keep running for a long time. A little grepping gives me the list of eggs below. I'll be doing some testing of 4.8.05 over the next week and wanted to hear from the dev's if there were patches in the queue I should wait for. Just ensure you have the latest released versions of all these eggs. Right now I'm intending to get 4.9.0 released soon, but this may take on the order of several weeks or even months. The roadmap in Trac is a (very rough) indication of where we're at: https://bugs.call-cc.org/roadmap As you can see, we've closed a whole slew of bugs and there are only a handful remaining. The critical/major ones need to be fixed before the release, the others might get lifted over to be fixed for 4.10.0, or in the stability cycle of 4.9.0. Also, there are some known bugs in the irregex version used in 4.8.0 which are (AFAIK) fundamental to the way the submatch extraction is implemented for the DFA-based matcher. The irregex in 4.9.0 uses a different implementation which does not have this problem. See for example https://bugs.call-cc.org/ticket/1047 This might be a problem for you if you intend to run user-supplied regular expressions with submatches. We're also slowly clearing up the small bugs found through the paranoia results of DEBUGBUILD. This may result in a few small fixes in existing eggs. Cheers, Peter -- http://www.more-magic.net ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] undefined references in egg
Peter Bex scripsit: A simple way to fix this is to provide BAR as a hook which the module exposes, and expects another module to implement: This is the purpose of the interfaces egg. -- There are three kinds of people in the world: John Cowan those who can count,co...@ccil.org and those who can't. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] missing change-directory* in posix.import.scm
On Fri, Nov 08, 2013 at 10:15:26AM -0700, Alan Post wrote: It would appear that change-directory* is not in the export list for the posix unit. This is causing a compile-time warning (which then upgrades to an error) when I use that function from an egg: Thanks, Alan. I've pushed this to master and updated the stability branch with it, which means 4.8.0.6 will include this fix. Cheers, Peter -- http://www.more-magic.net ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] missing change-directory* in posix.import.scm
On Fri, Nov 08, 2013 at 07:18:07PM +0100, Peter Bex wrote: On Fri, Nov 08, 2013 at 10:15:26AM -0700, Alan Post wrote: It would appear that change-directory* is not in the export list for the posix unit. This is causing a compile-time warning (which then upgrades to an error) when I use that function from an egg: Thanks, Alan. I've pushed this to master and updated the stability branch with it, which means 4.8.0.6 will include this fix. Cheers, Peter -- http://www.more-magic.net Thank you sir. -a -- my personal website: http://c0redump.org/ ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Chicken for python
Hello all, first time post here. I decided to give lisp et al. a go and started to dive into functional programming. Since I come from a Python background, I wonder if there is a chance that one could extend Python with the use of a library compiled by Chicken. CHICKEN produces portable and efficient C, so maybe there is a way to feed some chickens to the snake? For the record, I posted the question at stackoverflow: http://stackoverflow.com/questions/19849048/chicken-for-python-extending-python-with-the-use-of-a-shared-library Any opinions, ideas, comments? Cheers! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Chicken for python
You'd likely just have to wrap the C functions that exist for embedding Chicken in other apps. http://wiki.call-cc.org/embedding http://wiki.call-cc.org/man/4/Embedding -Dan On Fri, Nov 8, 2013 at 3:54 PM, m...@freeshell.de wrote: Hello all, first time post here. I decided to give lisp et al. a go and started to dive into functional programming. Since I come from a Python background, I wonder if there is a chance that one could extend Python with the use of a library compiled by Chicken. CHICKEN produces portable and efficient C, so maybe there is a way to feed some chickens to the snake? For the record, I posted the question at stackoverflow: http://stackoverflow.com/questions/19849048/chicken-for-python-extending-python-with-the-use-of-a-shared-library Any opinions, ideas, comments? Cheers! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Chicken for python
Hello all, I am fairly new to the world of lisp, and yet I am hacking a bit here and there to get a better idea of functional programming et al. I recently posted a question to stackoverflow that might be of interest to the chicken people and python people as well, and I thought that it might be a good idea to bring it up on this list as well: http://stackoverflow.com/questions/19849048/chicken-for-python-extending-python-with-the-use-of-a-shared-library The question was whether chicken scheme could be use to create libraries for python, as chicken is able to produce solid C code. Cheers, Piotr ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Sublime Text 2 and Chicken (REPL/highlighting)
Hi, I am wondering if there is a way to include the csi REPL that is provided by Chicken into Sublime Text 2. Examples for this would be the SublimeREPL package that can be downloaded via the Sublime Text package control. Another question I have is if there is a highlighting package for Chicken in Sublime Text, possibly also a paranthesis check and verb highlighting. Cheers! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Chicken for python
Hi Dan, On Fri, Nov 08, 2013 at 03:58:26PM -0800, Daniel Leslie wrote: You'd likely just have to wrap the C functions that exist for embedding Chicken in other apps. http://wiki.call-cc.org/embedding http://wiki.call-cc.org/man/4/Embedding I shall try this out. Thanks! - piotr ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Sublime Text 2 and Chicken (REPL/highlighting)
Hi, This one can help http://stackoverflow.com/questions/18291732/how-to-configure-sublimerepl-to-work-with-chicken-scheme You can use pretty standard color scheme for r5 standard. Sublime have automatic parenthesis highlihgtit as i know. Also you can try some lispy indenter like this https://github.com/odyssomay/sublime-lispindent Friend on mine using sublime as ide for chicken/c++ development, donno what excactly they tune. Hi, I am wondering if there is a way to include the csi REPL that is provided by Chicken into Sublime Text 2. Examples for this would be the SublimeREPL package that can be downloaded via the Sublime Text package control. Another question I have is if there is a highlighting package for Chicken in Sublime Text, possibly also a paranthesis check and verb highlighting. Cheers! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Chicken for python
Hello, There was a similar attempt a couple of years ago, and the results were posted here: http://lists.gnu.org/archive/html/chicken-users/2011-01/msg00179.html This is about embedding a Chicken REPL inside Python, which a little bit different than what you want, but it might be helpful. -Ivan On Sat, Nov 9, 2013 at 8:54 AM, m...@freeshell.de wrote: Hello all, first time post here. I decided to give lisp et al. a go and started to dive into functional programming. Since I come from a Python background, I wonder if there is a chance that one could extend Python with the use of a library compiled by Chicken. CHICKEN produces portable and efficient C, so maybe there is a way to feed some chickens to the snake? For the record, I posted the question at stackoverflow: http://stackoverflow.com/questions/19849048/chicken-for-python-extending-python-with-the-use-of-a-shared-library Any opinions, ideas, comments? Cheers! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] iset egg, wrong intersection result
On Mon, Oct 28, 2013 at 12:40 PM, Alex Shinn alexsh...@gmail.com wrote: On Sat, Oct 26, 2013 at 1:13 AM, r d...@bk.ru wrote: Hi, i have found that on some numbers iset-intersection produce wrong results. example in attachment, all numbers in fixnum range Thanks for the report! If I don't have time before I'll fix this on the weekend. Sorry for the delay, this should be working now. -- Alex ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users