The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 18, 2019, 06:58:32 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Scheme Resources  (Read 5944 times)
nop_90
Global Moderator
Lifer
*****
Offline Offline

Posts: 2203


View Profile
« on: April 20, 2007, 09:40:29 PM »

The famous lisp in a box Smiley
common-lisp.net/project/lispbox/
a package of emacs and popular lisp implementations

Practical Common Lisp
www.gigamonkeys.com/book/
Lisp oriented. Designed for lisp newbies, advantages of lisp and how to use lisp macros.

Structure and Interpretation of Computer Programs
mitpress.mit.edu/sicp/full-text/book/book.html
this is my favorite book. For the examples in the book it uses scheme.
(one day when i get time have to finish working on examples)
But it is more the a book on scheme.
It is a book on programming Smiley
Ironically very few books on "programming"
Covers everything from simple data structures to compiler construction
Those MIT boys are brilliant Smiley

Example of how to implement a state machine in scheme using syntax case macro system
not for newbies. a very complex macro. if you look at it ur head will blow up like perks did Smiley
classes.eclab.byu.edu/330/wiki/index.cgi?FunWithMacros

Red lisp
A very small lisp, probably not much practical use, will investigate
http://omouse.googlepages.com/
« Last Edit: April 26, 2007, 06:00:12 PM by nop_90 » Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: April 20, 2007, 09:44:33 PM »

I made it about 3/4 the way down before I started swimming... I'm gonna read that again tomorrow because tonight the fog of a nice Chardonnay has got me listing hard to port... I'm still having trouble seeing why that is superior (as they claim) to the C macros, but let me at it tomorrow again...

/p
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nop_90
Global Moderator
Lifer
*****
Offline Offline

Posts: 2203


View Profile
« Reply #2 on: April 21, 2007, 03:23:09 AM »

C macros are basically a simple replace macro.
the only "logic" you can do with the macro are primite IF statements.

But imagion if the macro had all of the C string manipulation libs, and runtime available ?

Logged
malloc
n00b
*
Offline Offline

Posts: 4


View Profile
« Reply #3 on: March 10, 2008, 05:42:41 PM »

Another good book is "The Little Schemer"  formally "The Little Lisper" 

http://www.ccs.neu.edu/home/matthias/BTLS/ 

You don't learn much about Scheme but it does teach you to think recursively.
Logged

No links in signatures please
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #4 on: March 10, 2008, 06:47:17 PM »

Another good book is "The Little Schemer"  formally "The Little Lisper" 

LOL @ The Little Lisper - someone had a giggle titling that book.

Actually interesting how many programmers DONT think recursively M... I agree. My first exercise was to write a formula solver in a recursive way (about the best way it can be done IMO...) for example:

2+((3*4) / 5)

... basically the routine called itself as it found the innermost parens, then kept reducing the forumula to "Left Side / Operator / Right Side", solved that, then stepped out of recursion until the problem was solved. This also worked very well for a robotics language I wrote for evaluating the "right side" of a line.

Sounds like you'll do well here Wink
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nop_90
Global Moderator
Lifer
*****
Offline Offline

Posts: 2203


View Profile
« Reply #5 on: March 10, 2008, 11:16:37 PM »

One day when i get arround to it, i want to order that book from amazon Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!