[Chicken-users] Two dimensional linked lists

2016-09-08 Thread mfv
? Regards, mfv ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] IDE for Beginners

2015-04-22 Thread mfv
-users%5D+IDE+for+Beginners%22o=newest mfv https://www.mail-archive.com/search?l=chicken-users@nongnu.orgq=from:%22mfv%22 Tue, 02 Dec 2014 05:12:32 -0800 https://www.mail-archive.com/search?l=chicken-users@nongnu.orgq=date:20141202 Hi there, I am currently using Sublime Text 2

Re: [Chicken-users] Parsing HTML, best practice with Chicken

2015-01-12 Thread mfv
Hello and happy new year to all! Peter, Hm, that's unfortunate. However, I've heard this complaint before. Do you have any tips on how we can improve the situation? First, to lighten up spirits a bit: at least for me it was easier to start with Chicken than with Clojure. That being said, I

Re: [Chicken-users] Parsing HTML, best practice with Chicken

2014-12-29 Thread mfv
Hey! Sxml-transform and other sxml related eggs can certainly help you here, but I don’t know them really well so I can’t help you with that. thanks, I will look into that. ;; saving function (define (savedata somedata filename) (call-with-output-file filename (lambda (p)

Re: [Chicken-users] Parsing HTML, best practice with Chicken

2014-12-29 Thread mfv
Hello, I somehow always manage to get it working with sxpath when I need to do some web scraping, but it's somewhat painful. Thanks, I will have a look at sxpath. Are there any packages like Python's Beautifulsoup in the Chicken arsenal? That sort of thing is sorely lacking.

[Chicken-users] Parsing HTML, best practice with Chicken

2014-12-28 Thread mfv
Hello, I am currently playing around the Chicken and the web. More precisely, I want to make some web link collection and see how well it goes for me when scraping web sites for links and content. Which eggs would you recommend for that? What should I avoid doing? So far, I have been getting

[Chicken-users] Error: chicken-install awful [Win7-64, chicken 4.9.0.1]

2014-12-15 Thread mfv
Hello, I failed to install awful today. After some tinkering and consulting with folks from #chicken, I decided to put it up on the mailing list. This is what I got. Any ideas? Regards, Piotr [Windows 7 64 bit] Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft

Re: [Chicken-users] IDE for Beginners

2014-12-05 Thread mfv
Hi, Despite being initially cryptic, I'd strongly recommend learning Emacs. It's a valuable and flexible tool that can be useful in many situations, I will give it a try. Thanks! ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] IDE for Beginners

2014-12-04 Thread mfv
Hello Christian, Maybe this is unrelated to the IDE you tunnel through csi but rather an issue with csi itself: Not sure. I think it is rather a thing with ST2/SublimeREPL. See below. When you say once do you mean you just did it 1 time? Please keep [] Does this solve your

Re: [Chicken-users] IDE for Beginners

2014-12-04 Thread mfv
Hello to another freeshell user :), Ahoi! (: Freeshell i quite something! (: Just a part of an answer, Thanks! Most Lispy stuff is heavilty biased towards Emacs I'm afraid. Not a problem for people that like Emacs, like me, but using anything else can often feel like paddling

[Chicken-users] IDE for Beginners

2014-12-02 Thread mfv
Hi there, I am currently using Sublime Text 2 with Sublime REPL to fool around with Chicken Scheme. It does not work perfect, but until now it has been the best solution apart from using the REPL in the command prompt in Windows 7. However, it seems that sublimeREPL can not handle larger data

[Chicken-users] Nested hash-tables, and so on..

2014-02-09 Thread mfv
performance? Regards, mfv ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Nested hash-tables, and so on..

2014-02-09 Thread mfv
Hi folks, thanks for the comments and suggestions. I will go forward with nested hash-tables then and have a look at composite keys. (= Cheers! ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] Trivial error: Error: call of non-procedure: #unspecified

2014-01-04 Thread mfv
it seems that there is a paranthesis call too much in the whole thing. But I can't find. Note that I know that (define unitlocs (alist-hash-table lcd)) would solve the hassle - but I would like to know what I did wrong.. $*#$(/ Cheers, mfv

Re: [Chicken-users] Trivial error: Error: call of non-procedure: #unspecified

2014-01-04 Thread mfv
Hello Peter, thank you very much. You were indeed right. It takes some time to get used to life with (). Regards, mfv I think that's caused by the strangely-indented paren following the else keyword. It tries to apply the result of hash-table-set! (as if it were a procedure

[Chicken-users] Store data as text in scm files

2013-12-27 Thread mfv
to write a parser. Could someone give some hints or point me to recources were I could read more about this subject. Cheers! mfv ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Some random thoughts about calculations with base-N numbers

2013-12-26 Thread mfv
Thanks! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] Some random thoughts about calculations with base-N numbers

2013-12-22 Thread mfv
Hi, I was fooling around a bit with conversions of base-36 to base-10 numbers. While the solution to convert a base-10 number to a base-36 string is pretty straightforward, I wonder it would be possible to make a scheme program calculate directly in base-36 without any string conversion. Any

Re: [Chicken-users] Some random thoughts about calculations with base-N numbers

2013-12-22 Thread mfv
behaviour. You are right - it does not make much sense to work wuch such calculation. I was asking the question because I did not have any other idea how to store base36 characters for computation other than string - except with vectors/lists maybe. Thanks for the answer. Cheers, mfv

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-12-12 Thread mfv
-lssl -lcrypto -lgdi32 Error: shell command terminated with nonzero exit code 70 \C:\\Chicken\\bin\\csi\ -bnq -setup-mode -e \(require-library setup-api)\ - ... D:\ Perhaps someone enlightened in the dark arts of windows MinGW could help out here. Cheers, mfv

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-12-12 Thread mfv
Addendum: Sjamaan has updated the http-client: It has no longer a hard dependecy on the openssl egg and can be installed. The problem with openssl on Win7/64 and MinGW still remains. ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-12-11 Thread mfv
Hmm. Maybe I should install openssl without making use of chicken-install? What would be a suitbable way to do it on windows? So far I have copied all header files from openssl sources to a directory, and then put the chicken openssl egg files into it (the latter were retrieved via

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-12-10 Thread mfv
Do you have openssl/rand.h on your system? I have rand.h in D:\openssl\include\openssl. If so, the compiler is probably not able to locate it. You can specify its location in the CSC_OPTIONS environment variable. Something like CSC_OPTIONS=-I/path/to/openssl/rand.h chicken-install

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-11-27 Thread mfv
been stashed away into some obscure directory, you may need to pass their locations to the compiler and linker: # env CSC_OPTIONS='-I /foo/include/openssl -L /foo/lib' \ make install-eggs -mfv ___ Chicken-users mailing

Re: [Chicken-users] go routines for chicken

2013-11-27 Thread mfv
Hi, I am trying to port Clojure's core.async module in my very limited spare hacking time to CHICKEN right now. This should be what you are looking for. I will announce it here once something usable comes from that. That is great news. I will watch out for that egg, even if it might take

Re: [Chicken-users] go routines for chicken

2013-11-27 Thread mfv
On a sidenote: It seems that there is an analgon to go routines on Erlang, which can be accessed the LFE (Lisp Flavoured Erlang). However, that would require to learn the entire Erlang VM ecosystem. ___ Chicken-users mailing list

[Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-11-26 Thread mfv
Hi, the chicken-install installation process of http-client came to an abrupt end when the egg dependency openssl (1.6.4) was about to get installed. Exerpt: C:\Chicken\bin\csi -bnq -setup-mode -e require-library setup.api -e (import setup-api) -e (setup-error-handling) [...] openssl.c:22:28:

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-11-26 Thread mfv
Do you have openssl/rand.h on your system? No, I do not have it on my system. That explains the error, I guess. Think about it - rand.h seems to be a pretty basic header file, my bet would be on some kind of random number generator. Where do I get those files from? Where should I put them?

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-11-26 Thread mfv
Hello Mario, Do you have openssl/rand.h on your system? Before trying to compile - no. I downloaded the most recent version of the code now. If so, the compiler is probably not able to locate it. You can specify its location in the CSC_OPTIONS environment variable. Something like

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-11-26 Thread mfv
I think it's shipped with OpenSSL. You should put it in some directory in the C compiler's headers search path. Spot on. Alternatively, you can put it in any arbitrary location and point to it via CSC_OPTIONS (-I). I'm not sure I understand your question. If you are talking about

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

2013-11-26 Thread mfv
Hi, sorry for being so braindead. Intertubes helpzed. Maybe I'm missing something, but you can just set the CSC_OPTIONS environment variable to -I/path/to/openssl/rand.h. It is set CSC_OPTIONS [...] for setting the enviroment variable. Unfortunatly, neither your attempt, nor some possible

[Chicken-users] go routines for chicken

2013-11-22 Thread mfv
Hi, I recently stumbled over a package for Python that allows to use the golang go routines concurrency model (https://github.com/stuglaser/pychan). Is there anything comparable in Chicken Scheme? If not, how complicated would be to make such an implementation? I understand that Chicken only

[Chicken-users] Chicken for python

2013-11-08 Thread mfv
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

[Chicken-users] Chicken for python

2013-11-08 Thread mfv
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

[Chicken-users] Sublime Text 2 and Chicken (REPL/highlighting)

2013-11-08 Thread mfv
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

Re: [Chicken-users] Chicken for python

2013-11-08 Thread mfv
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