Live data from Hacker News

Chicken Scheme 5.0

lists.nongnu.org

31–40 of 89 posts

Re: Chicken Scheme 5.0

#32
post #28
post #12

Earlier quoted context omitted.

Guile or Chibi depending on what I want. Guile is about 2mb and seriously fast. Chibi is tiny and not very fasy.

Do you statically link Guile? Guile is a pleasure to work with, but I was under the impression that you can’t embed Guile because it’s GPL.

Guile ls LGPL.

You can statically link to LGPL libraries so long as you also provide your program in "object form" so that the user can re-link their program with a different version of guile.

See: https://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynami...

Re: Chicken Scheme 5.0

#33

Just curious. Does anyone use Chicken Scheme in production?

It's not a high-volume application by any means, but I wrote an online testing program (multiple choice, etc.) in Chicken that's been running at our university for about twelve years. It was meant as a short-term, interim solution until the bugs in our 'enterprise' testing system were fixed... but it still finds some use today. (I just took a peek at the database; we've had about 250,000 test submissions over the years. Not bad for a little Scheme app.)

Re: Chicken Scheme 5.0

#34
post #31

Awful seems to have come a long way since I last looked at it: http://wiki.call-cc.org/eggref/4/awful . Anybody used it in production?

I don't know many uses of awful in production.

http://paste.call-cc.org/ is awful-based. My home page (http://parenteses.org/mario/) is also in awful, but it's nothing fancy.

It's been ported to CHICKEN 5, by the way: http://wiki.call-cc.org/eggref/5/awful

Re: Chicken Scheme 5.0

#35

Wow! It has been almost 6-7 years since I used Chicken Scheme, but I have fond memories of it. I wrote a program to automatize the creation of scientific reports in the Planck/LFI project [1]. The purpose was to quickly scan a large number of maps and power spectra produced by the data analysis pipeline, detect any weirdness in the data, and create a report in HTML format. The report included several tables and plots…

> LISP is perfect for creating HTML programmatically

'printf' has always worked just as fine for this purpose.

Re: Chicken Scheme 5.0

#36
post #29

Is there some lisp that has offers nearly as powerful and fast data processing and tensor algebra facilities like Pandas and Numpy of Python? I would love to use a lisp but am not sure how well are they going to manage with huge 2-3D arrays.

Yes there is a really great statistics functional programming language that was founded on being a scheme for data science. Unfortunately the data scientist back then were not training in doing code well so the examples of the language got cluttered up but there is a great functional Scheme right in there. That language is R. http://adv-r.had.co.nz/Functional-programming.html I learned Racket (Lisp) and then realized…

The parent asked for a Lisp dialect. R is not a Lisp dialect. It's ridiculous to claim there's a "Scheme" in R. R is not Scheme, it's not even close.

Re: Chicken Scheme 5.0

#37
Looked really cool. Downloaded it via Homebrew but my first test file[1] ran into a myriad of issues like 'unbound variable: use', 'unbound variable: printf', 'import had trouble expanding the macro: srfi-1' (paraphrasing). Not sure if the Homebrew recipe is broken but I would love to use this for some of my side projects.

Congrats on the release!

[1] test.scm

(use srfi-1) (define (test number1 number2) (printf "Sum: ~s" (+ number1 number2))) (test 1 2)

Re: Chicken Scheme 5.0

#38
post #35

Wow! It has been almost 6-7 years since I used Chicken Scheme, but I have fond memories of it. I wrote a program to automatize the creation of scientific reports in the Planck/LFI project [1]. The purpose was to quickly scan a large number of maps and power spectra produced by the data analysis pipeline, detect any weirdness in the data, and create a report in HTML format. The report included several tables and plots…

> LISP is perfect for creating HTML programmatically 'printf' has always worked just as fine for this purpose.

Have you worked with SXML or Reagent or anything like that? You're not wrong, but your comment makes me wonder if maybe you just haven't seen a more elegant solution than string interpolation.

Re: Chicken Scheme 5.0

#39

Looked really cool. Downloaded it via Homebrew but my first test file[1] ran into a myriad of issues like 'unbound variable: use', 'unbound variable: printf', 'import had trouble expanding the macro: srfi-1' (paraphrasing). Not sure if the Homebrew recipe is broken but I would love to use this for some of my side projects. Congrats on the release! [1] test.scm (use srfi-1) (define (test number1 number2) (printf "Sum:…

This is an old example. This should now be something like

(import (chicken format)) (define (test number1 number2) (printf "Sum: ~s" (+ number1 number2))) (test 1 2)

If you're trying to actually use srfi-1, that's now imported via (import srfi-1). (use...) no longer exists.

Re: Chicken Scheme 5.0

#40
post #31

Awful seems to have come a long way since I last looked at it: http://wiki.call-cc.org/eggref/4/awful . Anybody used it in production?

I don't know many uses of awful in production. http://paste.call-cc.org/ is awful-based. My home page ( http://parenteses.org/mario/ ) is also in awful, but it's nothing fancy. It's been ported to CHICKEN 5, by the way: http://wiki.call-cc.org/eggref/5/awful

I took a peek at the link to your homepage. I wish I had a cute dog named Ada!
Post reply on HN