Lobster

Lobster

Postby Sauer2 » 19 Jun 2013, 18:29

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 '='.
Last edited by Sauer2 on 21 Jun 2013, 11:56, edited 1 time in total.
User avatar
Sauer2
 
Posts: 430
Joined: 19 Jan 2010, 14:02

Re: Lobster

Postby Julius » 19 Jun 2013, 20:48

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
User avatar
Julius
Community Moderator
 
Posts: 3297
Joined: 06 Dec 2009, 14:02

Re: Lobster

Postby charlie » 20 Jun 2013, 01:49

Moving to programming. Not sure what possessed you to put it in Showcase & Collaboration, since it qualifies as neither.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: Lobster

Postby Sauer2 » 20 Jun 2013, 22:55

@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/
User avatar
Sauer2
 
Posts: 430
Joined: 19 Jan 2010, 14:02

Re: Lobster

Postby charlie » 21 Jun 2013, 00:04

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.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: Lobster

Postby Sauer2 » 21 Jun 2013, 11:59

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.
User avatar
Sauer2
 
Posts: 430
Joined: 19 Jan 2010, 14:02

Re: Lobster

Postby Evropi » 21 Jun 2013, 13:14

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.
You just wasted 3 seconds of your life reading this.
User avatar
Evropi
 
Posts: 385
Joined: 02 Sep 2012, 16:18

Re: Lobster

Postby NaN » 21 Jun 2013, 13:57

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(_)
NaN
 
Posts: 151
Joined: 18 Jan 2010, 10:32

Who is online

Users browsing this forum: No registered users and 1 guest