?

Log in

No account? Create an account
OpenLaszlo - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

OpenLaszlo [Oct. 7th, 2004|01:23 pm]
Brad Fitzpatrick
[Tags|, ]

This is pretty cool:

http://www.laszlosystems.com/

In a nutshell, it's a compiler that takes JavaScript code embedded in XML (which is somewhat XUL/XAML-like), and compiles it down to Flash, which you can run in your browser.

And it's now open source.

Sad part is that it requires J2EE or something to run the compiler, but I'm not sure you need that past compiling it the first time. That is, I'm not sure if the data access components need the J2EE bit or not. If so, maybe I can reproduce that part of the server in Perl, so I can comple Flash apps once, then deploy them with a perl dataserver.

Check it:
http://www.laszlosystems.com/demos/

Or use their compiler live:
http://www.laszlosystems.com/lps/laszlo-in-ten-minutes/

Very, very sweet.

In college I once wrote a Java Applet that let you program robot tanks in Lisp (with syntax highlighting), sent the Lisp across the network to a Perl server which compiled it to Java bytecodes, then dynamically loaded the tank class files and it drove around a battlefield, fighting other tanks, based on the Lisp code.

OpenLaszlo has that same sort of hack value to it, but it actually looks useful.
LinkReply

Comments:
[User Picture]From: erik
2004-10-07 01:31 pm (UTC)
I still think the best piece of software you wrote was that game to determine the appropriate urinal to use when other guys are present. Entertaining AND informative.
(Reply) (Thread)
[User Picture]From: brad
2004-10-07 02:30 pm (UTC)
Except I didn't write it. I remember it, but I think I just found it on the web and showed it to you.
(Reply) (Parent) (Thread)
[User Picture]From: erik
2004-10-07 02:49 pm (UTC)
Oh. :-\ Well I guess the best software you wrote was that thing that made the mouse go all slippery, then. That was cute.
(Reply) (Parent) (Thread)
[User Picture]From: brad
2004-10-07 03:21 pm (UTC)
Oh fuck yeah, that ruled!

(I made the mouse cursor like it was on ice... you applied force and it just slid around with a small amount of friction.)
(Reply) (Parent) (Thread)
[User Picture]From: erik
2004-10-07 03:32 pm (UTC)
Yeah, that puts Perlbal and MogileFS and stupid memcached to shame. :P

I dare you, at the next programming conference you present at, to demonstrate the icy mouse thing like it's the greatest thing in the world.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2004-10-07 03:51 pm (UTC)

I remember writing something like that for my Amiga. It also made the pointer bounce off the edges of the screen. Fun times. (it did break kinda when you had two “screens” visible, since then the screen-to-mouse-coordinate mapping prevented the mouse pointer from moving between screens, but whatever.)

(Reply) (Parent) (Thread)
[User Picture]From: endquote
2004-10-07 01:33 pm (UTC)
Sounds like the same thing as Flex, which is not open source, but is pretty freakin' cool. Actually I think the Laszlo people are former Macromedia people.
(Reply) (Thread)
[User Picture]From: mge
2004-10-07 01:41 pm (UTC)

LISP to Java

Did you write a compiler yourself or did you use an existing LISP to Java bytecode compiler?
(Reply) (Thread)
[User Picture]From: brad
2004-10-07 02:30 pm (UTC)

Re: LISP to Java

Myself.
(Reply) (Parent) (Thread)
[User Picture]From: visions
2004-10-07 01:45 pm (UTC)
yes, that is very very sweet. where did you run across this at?
(Reply) (Thread)
[User Picture]From: brad
2004-10-07 02:31 pm (UTC)
It was on both Zawodny's blog, and boingboing, both of whom reported it from the Web 2.0 conference.
(Reply) (Parent) (Thread)
From: evan
2004-10-07 02:24 pm (UTC)
That lazlo fellow gave a talk at a UI designers' meeting I went to at PARC a month or so ago.

Flash is so cool but so sucky at the same time. :(
(Reply) (Thread)
[User Picture]From: jwz
2004-10-07 02:56 pm (UTC)

Flash bad!

Especially for Google! Is there any hope of you guys being able to peel open Flash movies and index the text?
(Reply) (Parent) (Thread)
From: evan
2004-10-07 08:01 pm (UTC)

Re: Flash bad!

we're actually working on making the whole google interface flash!



(haha! you can't know if i'm kidding or not!)
(Reply) (Parent) (Thread)
[User Picture]From: brad
2004-10-08 06:55 pm (UTC)

Re: Flash bad!

(Reply) (Parent) (Thread)
[User Picture]From: niko
2004-10-07 03:18 pm (UTC)
Looks pretty cool.. Are you thinking about using it for LJ or something or just "hey check this out?" :)
(Reply) (Thread)
[User Picture]From: brad
2004-10-07 03:22 pm (UTC)
Just "check it out"

Maybe we could use it for LiveJournal... it'd be optional, of course.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2004-10-07 03:54 pm (UTC)

There must be an S2-related hack in there somewhere… but not when I've been drinking.

(Reply) (Parent) (Thread)
[User Picture]From: visions
2004-10-07 04:11 pm (UTC)
you could probably do a whole lj interface through it without that much difficulty. update your journal, view recent entries, friends list, etc etc.
(Reply) (Parent) (Thread)
[User Picture]From: brad
2004-10-07 04:31 pm (UTC)
Jesse's on it.
(Reply) (Parent) (Thread)
[User Picture]From: yeswad
2004-10-08 09:12 am (UTC)
hi. terrajen told me that i have no choice other than to add you as a frined. added.
(Reply) (Thread)
[User Picture]From: brad
2004-10-08 09:30 am (UTC)
She's gone from hating me to lurving me. Heh.
(Reply) (Parent) (Thread)
[User Picture]From: yeswad
2004-10-08 09:33 am (UTC)
she drunk dialed me and coerced me into adding you. i think its purely the seattle connection. she was drunk and im pretty sure she was on her way to falling down.
(Reply) (Parent) (Thread)