polyglot

Programming Language Bliss
« maj 2007
tiontofr
 
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
       
Today





« Previous month (Mar 2007) | Main | Next month (May 2007) »

maj 03, 2007

New Design

This blog just got a new design. What do you think? Isn't it pretty? I wanted a calm and reasonably clean design that looks more like print. It's still pretty untested so if you spot any bugs, please let me know.

On another note, I gave a lecture on multi-language development and scripting the JavaVM at Stockholm University last week. The response was pretty good, I thought, and I finally got my Scriptable Calculator demo right. I had enough time to go in to some good examples and have a little fun with it as well. Of course, what I really should have, is a scenario that will involve a lot of languages to solve some sort of mathematical or engineering problem. That would be the most fun.

If you haven't seen my calculator demo, it's a re-hash of the Scripting Framework projects old calculator demo where a desk calculator had four scriptable buttons. My calculator has 32 scriptable buttons, a stack and a large multi-line display. You can add as many scripts as you like in any of the language implementations you have in your CLASSPATH and then assign them to any button. The fun thing with the calculator is that it allows me to demo things like pushing a Haskell-lambda on the stack and evaluating it from Python.

I will publish the calculator demo, as soon as I come up with a way of packaging it. The problem is that it relies on a lot of language interpreters and JSR-223 script engines, which in total amounts to around 50 .jar-files, and obviously that is a problem. Personally, I set up a huge CLASSPATH, but I would like to include it all in one great package. Java Web Start, would be one way, but I don't know if anyone would be willing to download 50 jars.

Posted at 10:11AM maj 03, 2007
by Thorbiorn Fritzon in Project Polyglot
Comments[2]


Today's Page Hits: 0