Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Scheme In Common Lisp?

Name: VIPPER 2011-12-18 17:09

Hello /prog/

I recently got myself SBCL to play with. Now i also want to play with scheme maybe, but instead of downloading a separate program i was wondering if there is a scheme implementation in common lisp and if there is more than one which should i use.

Name: Anonymous 2011-12-18 17:12

I think not. I'd write a metacircular CL/Scheme interpreter, but it's probably easier to use a separate Scheme implementation. Chicken for just R5RS Scheme, Racket for anything else.

Name: VIPPER 2011-12-18 17:19

I have the setup file of racket, tough id rather stay with only one lisp interpreter.

I considered the option of writing my own implementation, even if for just educational purposes.
Good idea or bad?

Name: Anonymous 2011-12-18 17:27

>>3
You will waste way too much time on writing it and then ironing out bugs and the worst performance bottlenecks, which you could have spent on creating something actually new and useful! ... wait a second, you are a... Yeah, definitely go for it, but I would recommend to extensively discuss implementation details and rationale for doing implementing Scheme in Lisp on /prog/, alt.lang.lisp and alt.lang.scheme before writing the first parenthesis of your implementation. That's the Lisp way!

Name: VIPPER 2011-12-18 17:51

>>4
I only, well ... trust? ... /prog/, thats why i ask here.

If it would teach me a bit without making me want to rip out my teeth, i wouldnt mind writing such a thing on xmas.

Name: Anonymous 2011-12-18 17:56

>>3,5
Disregard >>4. I suggest you to install a Scheme implementation, CL and Scheme are very, very, very different languages. Of course, you can also write your own interpreter, it's a good exercise.

Name: Anonymous 2011-12-18 18:07

Name: VIPPER 2011-12-18 18:12

>>7
Thats cool, thanks.

Tough i would prefer r5rs, as i understand its what /prog/ would consider the best scheme, yes?

Name: Anonymous 2011-12-18 20:41

It could be done, but it would be a bit of a bitch to handle things like:


(define (blah . args)
  (do-stuff-with args))


It might be more enjoyable to just write a scheme implementation in c or seeples, and it likely wouldn't be that much more difficult.

>>8

it's all shit.

Name: Anonymous 2011-12-18 21:07

>>8
Just forget it. Learn PHP, acquire HIV/AIDS, and become a freelance web developer.

Name: Anonymous 2011-12-18 22:34

>>10
"HIV/AIDS" doesn't exist. It's a hoax invented to sell crap and slow down overpopulation.

Name: Anonymous 2011-12-18 22:47

Have you read you Lisp in Small Pieces today?

Name: META 2011-12-18 23:01

META

Name: Anonymous 2011-12-19 1:32

>>8
The Guile implementation is the best Scheme.

Don't change these.
Name: Email:
Entire Thread Thread List