Page 1 of 1

Lobster

PostPosted: 19 Jun 2013, 18:29
by Sauer2
Wouter van Oortmerssen (the guy behind Cube, Cube2 and perhaps more programming languages than all of us together) created a scripting language which is designed for game prototyping.
http://strlen.com/lobster
Note that the language itself isn't that interesting (it's like Python Light with Pascal assignment operator and C++ comments), but the standard libraries itself are made for game prototyping.
Perhaps all the math stuff for 3D is included.
That makes it possible to create a simple Minecraft clone in 66 lines.
http://i.imgur.com/ZZWFkXn.jpg
According to the homepage, it's based around SDL2 and therefore available on all major OSs.

EDIT: The ':=' operator is not assignment, but assignment + declaration. Normal assignment is still '='.

Re: Lobster

PostPosted: 19 Jun 2013, 20:48
by Julius
It is therefore not very suitable for non-programmers.


Damn, I feel discriminated against :(

Looks like a pretty neat little prototyping toy though. And that Mincraft example is awesome :D

Re: Lobster

PostPosted: 20 Jun 2013, 01:49
by charlie
Moving to programming. Not sure what possessed you to put it in Showcase & Collaboration, since it qualifies as neither.

Re: Lobster

PostPosted: 20 Jun 2013, 22:55
by Sauer2
@charlie: Only games are allowed in the showcase? Ok...

Anyway: For the language guys thinking "Hmm, that's just another dynamic typed interpreter.", here is the good news that the author is thinking about inferenced static typing and compiling technology. Somewhere on this reddit page...
http://www.reddit.com/r/programming/com ... guage_now/

Re: Lobster

PostPosted: 21 Jun 2013, 00:04
by charlie
No, languages are allowed in Showcase.

You spreading the word about somebody else's programming language, with pretty much only a link and a throwaway "Minecraft in 66 lines"; that doesn't.

If you want to write a more in depth introduction, I'm sure we'd be happy to accommodate it.

Re: Lobster

PostPosted: 21 Jun 2013, 11:59
by Sauer2
You are right.
Since I don't want to dig too far into this (Lobster is not released for daily use after all), the topic is better placed here.

Re: Lobster

PostPosted: 21 Jun 2013, 13:14
by Evropi
You may also want to check out Bennu, a language with the purpose of easing game development (i.e. it's not 'general purpose' like most popular languages are).

It has been around for a long time and has a bigger scope than prototyping, so it's very comprehensive.

Re: Lobster

PostPosted: 21 Jun 2013, 13:57
by NaN
Sauer2 {l Wrote}:Wouter van Oortmerssen (the guy behind Cube, Cube2 and perhaps more programming languages than all of us together) created a scripting language which is designed for game prototyping.
http://strlen.com/lobster
Note that the language itself isn't that interesting (it's like Python Light with Pascal assignment operator and C++ comments), but the standard libraries itself are made for game prototyping.
Perhaps all the math stuff for 3D is included.
That makes it possible to create a simple Minecraft clone in 66 lines.
http://i.imgur.com/ZZWFkXn.jpg
According to the homepage, it's based around SDL2 and therefore available on all major OSs.

EDIT: The ':=' operator is not assignment, but assignment + declaration. Normal assignment is still '='.

Looks neat. I like the 'everything is a function' concept, reminds me of io. On the other side, the syntax seems, let's say, obfuscation friendly :cry: (but maybe i am just spoiled)
{l Code}: {l Select All Code}
for(10) (i): print(i)
for(10) i: print(i)
for(10): print(_)