Lisp links thread

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12524
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Re: Lisp links thread

Post by tufty »

Got any of those going? I'm available :)
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Re: Lisp links thread

Post by teamonkey »

tufty wrote:Came across this a couple of days ago, it's a nice scripting language based on Lisp with a lot of the cruft cut away. If nothing else, it's worth looking at for its memory management technique, which I've not seen before, and which claims to be deterministic, with no pauses for gc.
Its memory management technique is that only one reference per entity is allowed. That means that new objects are created on the stack instead of the heap. Like creating structs on the heap when entering a C function (if C had no pointers or references).

Symbols are allowed to be referenced more than once, of course.

From what I can gather,

Code: Select all

; scheme
(define l '(1 2 3 4 5 6))
(define p (cddr l)) ;  p = '(3 4 5 6) but actually a reference to the third element of l

; new lisp
(define l '(1 2 3 4 5 6))
(define p (cddr l)) ;  p = '(3 4 5 6) but actually is (cddr l)
So rather than being a reference, p stores the instructions on how to get to the element you want. A bit liked gimped lazy evaluation.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

http://landoflisp.com/?ref=nf

a new book, looks to be by the creator of program a lisp text adventure in your browser, hi sbandwidth looks to be taking a pounding due to big pics on his site & pdf's
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

just having a look at the fluxus page again and noticed corporate crisis:

http://www.pawfal.org/fluxus/projects-using-fluxus/
An experiment in Fluxus that got a bit out of hand. Each player has a single button to control his catapult. The catapult is used to fire office equipment at the competitions’s headquarters across the street. Break down the opponent’s building before time runs out to win. The catch is that you can counter your opponent’s projectiles by shooting them, reflecting them back for extra damage.
:lol:
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12524
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Re: Lisp links thread

Post by tufty »

The fluxus link got me looking at impromptu, which is another OSX based livecoding thing. And thence onto extempore, which is the developers-only (for the moment) cross-platform version. It's got some neat stuff which could be really handy for game development, and it's fast as fuck. Scheme with direct calldowns to C, C++ and ObjC is lovely.
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

that looks brilliant, i suppose the livecoding could speed up game development if theres no need to compile
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

http://blocky.io/
Blocky is a visual programming system written in Common Lisp designed for multimedia authoring and game development. In addition to borrowing ideas from GNU Emacs, the language design is heavily influenced by existing visual programming research projects such as PureData, Squeak, Self Morphic, MIT Scratch, Berkeley's Build Your Own Blocks, and more recently Jens Moenig's Smalltalk Elements.
User avatar
disciple
Sheepie Whore
Sheepie Whore
Posts: 13941
Joined: Mon Oct 27, 2003 11:33 pm 0
XBL Gamertag: LiberMentis
PSN: Prime_Heretic
Location: Greenfield
Contact:

Re: Lisp links thread

Post by disciple »

adam wrote:http://landoflisp.com/?ref=nf

a new book, looks to be by the creator of program a lisp text adventure in your browser, hi sbandwidth looks to be taking a pounding due to big pics on his site & pdf's
Coincidentally, just started reading this a couple of days ago.
PS4 : Prime_Heretic
Steam: bitstorm
Elite Dangerous: Cmdr Britain
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

how are you finding it?
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12524
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Re: Lisp links thread

Post by tufty »

My Lisp based OS is coming on apace. I've mainly been doing the garbage collector recently.

http://stm8sdiscovery.blogspot.com/2011 ... based.html
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

can't get that page to load simon, i remember seeing some pages about the old lisp machines a few years ago, i think one had the source code for one, may still be up..

googling lisp machine source code brings up likely results... you might have looked already

& http://www.archive.org/details/lisploreguidetop00brom

Lisp lore : a guide to programming the Lisp machine (1986)
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12524
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Re: Lisp links thread

Post by tufty »

adam wrote:can't get that page to load simon
Oh, arsebiscuits. Looks like the new blogger interface just randomly hangs. I've reverted to the old layout and it appears to load much better.

Like that lisp machine link.
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: Lisp links thread

Post by gilesgoat »

2011 ... Still not getting lisp, I still believe my mind has something that does not allow me to understand lisp.
Giles the billy goat
"Baa"
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12524
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Re: Lisp links thread

Post by tufty »

adam wrote:googling lisp machine source code brings up likely results... you might have looked already
I hadn't. You bastard. I've just lost umpteen hours reading through it. And there's more hours beckoning.

(tear-self-away-and-do-something-useful '())
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

:lol: i do apologise
Post Reply