[ANN] LittleCoder 0.4

H

Harold Hausman

Hello all,

http://www.danceliquid.com/LittleCoder/

Years ago, _why wrote an article titled "The Little Coder's
Predicament" where he suggests that it's a problem that programming is
not as accessible as it was in the Commodore 64 days.

I happen to agree with him, and as an attack on that problem I've
written some software.

What is it?
-----------
LittleCoder is essentially a Ruby interpreter bolted on to DirectX.

It hopes to be a fun and easy way to do simple graphics on Windows for
kids of all ages.

Rather than expose the eternal foul suffering of DirectX directly, it
tries to wrap everything up into a lovely Rubyish facade that's all
smiles.

Pretty much everything has been traded in favor of the simplicity of
scripting it. Loading and displaying images is a one liner. Playing
sounds is a one liner. But there is still a bit of depth as it can
respond to mouse and keyboard input, and even do some animation.

It is far from complete, but a few of us have been using it to good
effect and I thought, 'the more the merrier'.

So check it out. It'll be fun!

Learn more
----------
Some examples and documentation are available as links from the main
page at http://www.danceliquid.com/LittleCoder/

Highest regards,
-Harold
 
L

Luciano Ramalho

That's way cool, Harold. I happen to teach programming and I often
talk about that predicament (even though I did not know about _why's
article until I read your post).

I'm a Linux and OSX user however, so I think having LittleCoder run on
top of SDL [1] would make it even cooler.

[1] http://www.libsdl.org/

There are already a couple of Ruby-SDL bindings available. How hard
would it be to port LittleCoder? I'd like to check that, but I'm not
sure when I'll be able to look deeper into this, though.

Nevertheless, great idea, Harold!

Cheers,

Luciano
 
C

Chad Perrin

That's way cool, Harold. I happen to teach programming and I often
talk about that predicament (even though I did not know about _why's
article until I read your post).

I'm a Linux and OSX user however, so I think having LittleCoder run on
top of SDL [1] would make it even cooler.

[1] http://www.libsdl.org/

There are already a couple of Ruby-SDL bindings available. How hard
would it be to port LittleCoder? I'd like to check that, but I'm not
sure when I'll be able to look deeper into this, though.

Nevertheless, great idea, Harold!

There's always the cross-platform open source UCBLogo, which provides
an excellent advancement path from simple and easy (think "Turtle
Graphics") all the way up to m-expression based Lisp dialect with
macros. It's not strictly on-topic for a Ruby list, but still a very
good idea, in my opinion.
 
H

Harold Hausman

That's way cool, Harold. I happen to teach programming and I often
talk about that predicament (even though I did not know about _why's
article until I read your post).

Thanks for the kind words. :)
I'm a Linux and OSX user however, so I think having LittleCoder run on
top of SDL [1] would make it even cooler.

[1] http://www.libsdl.org/

SDL is a different kind of animal, and one I'm only a little familiar
with. On interesting feature of LittleCoder is that *ALL* of the
boiler-plate code for booting up a window, getting a drawing context,
etc, is hidden in the C++ portion of the app. This was a top priority,
because we wanted to be able to express single line Ruby programs that
did interesting things like draw pictures and make noises. (Strangely,
opening a window is not considered interesting. ;)

The other difference here is that LittleCoder builds the Ruby
interpreter into the application.

Getting RubySDL to run anything at all is a non-trivial exercise in
installing Ruby, using gems to get RubySDL, and if you're unlucky,
some .dll dancing becomes necessary. LittleCoder on the other hand can
be downloaded, unzipped, and double clicked.

Definitely something similar could be done on other platforms, perhaps
using SDL, but unfortunately the only computer I have right now is
running Windows. I'm looking to get some linux in my life, so perhaps
an OpenGL linux version of LittleCoder is somewhere over the horizion.
Nevertheless, great idea, Harold!

Thanks again!
-Harold
 
P

Phillip Gawlowski

Harold said:
Definitely something similar could be done on other platforms, perhaps
using SDL, but unfortunately the only computer I have right now is
running Windows. I'm looking to get some linux in my life, so perhaps
an OpenGL linux version of LittleCoder is somewhere over the horizion.

Besides, today's C64 / Apple ][ or other "beginning computer" of the
70s/80s is a Windows PC with DirectX already included. This a much wider
traget audience for the moment.

This is a nice project. And if I had kids, I'd introduce them to
LittleCoder, especially as Windows is really, really lacking in this
department (so is Linux, as far as I know, but that's a different beast
altogether).

Good stuff, really.

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan.110mb.com/

Rules of Open-Source Programming:

22. Backward compatiblity is your worst enemy.

23. Backward compatiblity is your users' best friend.
 
P

Peña, Botp

From: Harold Hausman [mailto:[email protected]] :
# LittleCoder is essentially a Ruby interpreter bolted on to DirectX.

if you can bolt form widgets on it (like text boxes, dropdown list, =
menus, etc) w dazzling eye-candy/presentation-like features, then that =
would be a killer.

kind regards -botp
 
H

Harold Hausman

From: Harold Hausman [mailto:[email protected]] :
# LittleCoder is essentially a Ruby interpreter bolted on to DirectX.

if you can bolt form widgets on it (like text boxes, dropdown list, menus=
, etc) w dazzling eye-candy/presentation-like features, then that would be =
a killer.
A killer of what?

Those do sound like interesting features, but I'm not sure who would
use them, and for what?

Can you elaborate?

Regards,
-Harold
 
P

Peña, Botp

From: Harold Hausman [mailto:[email protected]] :
# Those do sound like interesting features, but I'm not sure who would
# use them, and for what?

because i have yet to see gui apps that are directx (or opengl) driven. =
true they're being used in games, but why not for gui apps? people are =
now realizing this, that is why there is xgl for linux and vista for =
windows. if you can build a set of gui form widgets to start with (so we =
can build/contribute from there) that are as easy to use as ruby, i =
would think it would pave way for a new wave of gui apps that is =
pioneered once again by ruby (think rails pioneering rapid web dev). =
imagine having access to directinput/media/sound/draw with ease using =
simply ruby.

ok, i've seen the bouncing ball and the stretchable boxes. Can you demo =
a text input with transparency and that zooms when you drag it?

:)

kind regards -botp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,239
Messages
2,571,199
Members
47,833
Latest member
JessieKwon

Latest Threads

Top