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
gravy
Sheepie Whore
Sheepie Whore
Posts: 19572
Joined: Wed May 01, 2002 1:28 pm 0
Location: The Other Place

Re: Lisp links thread

Post by gravy »

failrate wrote:I was excited about Harlan at first, because I was hoping that it was a Lisp shader language. Instead, it's more like a replacement for generic computation on a GPU (OpenCL?). Still neat, but not in my area of interest at the moment.
tufty's been writing a cross compiler of lisp -> glsl
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 »

gravy wrote:
failrate wrote:I was excited about Harlan at first, because I was hoping that it was a Lisp shader language. Instead, it's more like a replacement for generic computation on a GPU (OpenCL?). Still neat, but not in my area of interest at the moment.
tufty's been writing a cross compiler of lisp -> glsl
Scheme, actually :)

The basic idea is much the same as Harlan, i.e. a data parallel language from general purpose programming, but targetting OpenGL rather than OpenCL (this adds a few extra challenges, but gives a much larger "target base" of deployable machines - Raspberry Pi, my iMac's GPU, etc). It could also be bastardised to write entire shaders in scheme (that's pretty much the first hurdle).

It's here, and it's not usable (or even close to it).

https://github.com/tufty/data-parallel- ... ompetition

Simon
"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
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Re: Lisp links thread

Post by failrate »

@adam, re browser-fluxus, deffo. Bookmarked.
@tufty, if and when you get something working, I'd love to take a crack at it.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

lparallel - lisp in parallel http://lparallel.org/
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

one about hacking with an old hacker and more details of the lisp machines - some interesting stuff within: http://symbo1ics.com/blog/?p=1999
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 »

https://github.com/part-cw/lambdanative

An environment for cross-platform native (medical) application development in scheme.

Related paper : http://ecem.ece.ubc.ca/~cpetersen/lambd ... icfp13.pdf
"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
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: Lisp links thread

Post by Firefox »

Paul Graham's book On Lisp is now available as a free download!

http://www.paulgraham.com/onlisp.html
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

thanks, also new is this environment for algorithmic music coding: http://www.scripthica.com/ (choice of js or scheme)
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:thanks, also new is this environment for algorithmic music coding: http://www.scripthica.com/ (choice of js or scheme)
Oooh, that's nice.

Uses biwascheme underneath for the scheme side of things, I'd guess the raw js implementation is a bit more efficient.
"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 »

yeah, i think this generates midi files though so may not make much difference in most cases
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

noticed this today, might be one to make on an fpga:

We have designed and implemented a single-chip microcomputer (which we call SCHEME-79) which directly interprets a typed pointer variant of SCHEME, a dialect of the language LISP. To support this interpreter the chip implements an automatic storage allocation system for heap-allocated data and an interrupt facility for user interrupt routines implemented in SCHEME. We describe how the machine architecture is tailored to support the language, and the design methodology by which the hardware was synthesized. We develop an interpreter for SCHEME written in LISP which may be viewed as a microcode specification. This is converted by successive compilation passes into actual hardware structures on the chip. We develop a language embedded in LSIP for describing layout artwork so we can procedurally define generators for generalized macro components. The generators accept parameters to produce the specialized instances used in a particular design. We discuss the performance of the current design and directions for improvement, both in the circuit performance and in the algorithms implemented by the chip. A complete annotated listing of the microcode embodied by the chip is included.

http://dspace.mit.edu/handle/1721.1/6334
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

http://www.ebay.com/itm/141077224881

Complete set of Symbolics Lisp Machine documentation (for sale)
User avatar
zip accident
Sheepie Whore
Sheepie Whore
Posts: 13928
Joined: Sun Feb 20, 2005 1:58 pm 0
Location: Bristol, UK

Re: Lisp links thread

Post by zip accident »

This is still available:

http://www.amazon.co.uk/LISP-1-5-Progra ... words=lisp

The copyright date is 1962, but in the back it says Printed by Amazon.co.uk Ltd.
"My way is the way of not fighting":- the book of Enter the Dragon.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

the print on demand is really quick - can be 3-4 days from printing in the US to delivery, pretty impressive
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Lisp links thread

Post by adam »

zozotez, a tail recursive lisp interpreter that runs on BrainFuck, bootstrapped with EBF

https://code.google.com/p/zozotez/
Post Reply