It is currently Thu Jun 20, 2013 6:10 am

Lush, an open source LISP implementation for games, etc

View active topics

All times are UTC


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 PostPosted: Wed Jul 08, 2009 1:54 am   

Joined: Tue Jul 07, 2009 10:54 pm
Posts: 18
Has anyone tried running a lisp/lush system on the Pandora? I think you can use commonlisp, and maybe lush in ubuntu, but what about a minimalist approach?

Here's a link to lush: http://lush.sourceforge.net/

Here's a few reasons I really want to learn it:
Object oriented
Interfaces with C code and libraries, in line!
Has full access to math and AI functions (lisp was designed for information processing)
Can be added onto while the engine is running (sort of like macros, except have been implemented since the first lisp engine)
^- that feature makes for a dynamic engine that can be modified on-the-fly
Already has interfaces to openGL and SDL, shouldn't be that hard to interface with what the pandora uses
sound and video grabbing, could be used for cameras, pattern recognition like barcodes and faces or something.
can bind to python c, I don't know what it fully means, but I know lots of people use python

The only drawback is it may not have been significantly altered since 2007, but for me it looks very simple and intuitive (it uses lots of verbs and simple nouns in an easy to learn syntax)


Top
 Profile  
 PostPosted: Wed Jul 08, 2009 6:05 pm   
Guru

Joined: Sat Oct 04, 2008 9:20 pm
Posts: 170
I'm checking out the SF page and it looks pretty good. Since it compiles to C it should be fairly easily portable. I'm looking at the first "language" of the "three" it lists, and I'd throw it out entirely because dynamic scoping is pretty lousy. Also not very interesting due to being interpreted. But that leaves the concern that the second "language" isn't garbage collected, which may very well be the case since it's compiled to C.

Where do you see that this is object oriented? If you're interested in an OO LISP language I suggest you check out OCaml - it's derived from ML instead of LISP, but ML is pretty cool too (but statically typed).


Top
 Profile  
 PostPosted: Thu Jul 09, 2009 5:46 pm   
User avatar

Joined: Wed Mar 11, 2009 5:04 pm
Posts: 29
OT but interesting:
Quote:
"Lush and DjVu were produced by the same people (in fact Lush was used to prototype the first version of DjVu)"

DjVU is PDF alternative, and to my experience much, much better. http://djvu.sourceforge.net/

Lush looks very promising!


Top
 Profile  
 PostPosted: Tue Jul 21, 2009 10:11 am   

Joined: Sun Oct 05, 2008 10:55 am
Posts: 22
Always concerning functionnal languages, has anyone had run any Haskell stuff on the Pandora (or on something with a similar hardware, such as the BeagleBoard)?

Lush seems very interesting, too. I love functionnal programming, and I'm glad to see that everyone is not into the big C++/Java thingy.


Top
 Profile  
 PostPosted: Wed Jul 22, 2009 12:16 am   
User avatar

Joined: Fri Apr 24, 2009 8:23 pm
Posts: 235
Location: Stockholm, Sweden
limestrael wrote:
Always concerning functionnal languages, has anyone had run any Haskell stuff on the Pandora (or on something with a similar hardware, such as the BeagleBoard)?

Lush seems very interesting, too. I love functionnal programming, and I'm glad to see that everyone is not into the big C++/Java thingy.

Hey, there's functional programming available for the JVM platform too! Don't pretend anything else.

Just take a look at Scala, for instance.

(And to counter the arguments that you probably are formulating by now:)
Scala is not a "pure" functional language, but as you all know, it's impossible to make computer programs with "pure" functional languages (and there are no pure functional languages in existence) so don't come with that argument. Also, functional languages don't have to have immutable-only data structures, that's not relevant for the definition.

_________________
... quod erat demonstrandum.


Top
 Profile  
 PostPosted: Fri Jul 31, 2009 12:25 am   

Joined: Tue Jul 07, 2009 10:54 pm
Posts: 18
I've been messing with lush, and good news! They've been working on lush for quite some time, and version 2.0 might be out this year or next or something.

The downloadable version in repository or something is version 1.2.1, very old (like 2007). You can get the dev version 2.0, and if someone could set up opengl es bindings (as simple as making functions that load Opengl ES codes), we could be ready to program. (it already has 2d (ogre and SDL) and 3d opengl stuff ready to go!)

Not to mention if you found a library from C that loaded OpenGL ES, you could load it and lush could use it without any modification.


Top
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style originally created by Volize © 2003 • Redesigned SkyLine by MartectX © 2008