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

Pages: 1-

Lisp tutorial

Name: Anonymous 2007-09-13 8:39 ID:t4oAORLz

Hello /prog/,

Put that semen encrusted copy of SICP down, youre about to learn LISP for real!

Lets start with the syntax, In this there are atoms and conses, Thats the only data structure and the only code structure from which everything is composed.

And atom could be:
[m]foo
bar
foo-bar
foop
|AnyThingYouCan<IMAGEINE>|
[/m

A cons has two parts the CAR and CDR, it's written like so:
(car . cdr)

Theres a special atom you need to remember, NIL also written (), It denotes the end of a list, heres a list of x y and z
(x . (y . (z . nil)))

There's a shorthand notation for [code][m](z . nil)[/m][/code], which is [code][m](z)[/m][/code], infact
[m][code](x . (y . (z . nil)))[/code][/m]
is also written
[m][code](x y z)[/code][/m]

Name: Anonymous 2007-09-13 8:40 ID:t4oAORLz

yeah thats everything I know about lisp so hum someone else write the next tutorial

Name: Anonymous 2007-09-13 8:41 ID:Heaven

Read SICP.

Name: Anonymous 2007-09-13 8:49 ID:Heaven

no. read BBCPL.

Name: Anonymous 2007-09-13 8:56 ID:hBDbFFpy

Read EPCPL

Name: Anonymous 2007-09-13 9:27 ID:Heaven

READ THE IRC RFC

Name: Anonymous 2007-09-13 13:12 ID:t4oAORLz

moaerw

Name: Anonymous 2007-09-13 13:27 ID:zv43vRsP

1. put this in your init file:

(define cdr cudder)

Name: Anonymous 2007-09-13 14:26 ID:t4oAORLz

>>8
LOL±!?!!?!?!?

Name: Anonymous 2007-09-13 14:44 ID:Heaven

>>9
LOL±‽‽‽‽

Name: Anonymous 2007-09-13 14:45 ID:Heaven




Name: Anonymous 2007-09-13 16:07 ID:h3ZBIw/L

"I remembered something I never did ask when we talked last time, and it surprises me how I forgot, but there's always next time," she wrote, and it piqued my curiosity somewhat.

Name: Anonymous 2010-11-12 21:45

2007bump

Name: Anonymous 2011-02-04 11:38

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