The downloadable compiler is here! (Well, sort of.) To be precise, the compiler is now available as a web service. You can now download a script which will automatically send your page to our server and return the compiled version. So you can just type: $ fxc -o mypage.html mypage.fx.html and it will do the right thing. Download the script here. (You might need to right-click and say "Save Link As...".) It will work on any computer with Python. A Windows version, which will not require Python, will be available soon.


Blogger Julian Morrison said...

A screen scraper. Hmm.

You do realise how harshly slashdotted your online compiler will be if flapjax gets popular at all?

Why not release the real compiler? Are there copyright complications?

Friday, October 20, 2006 6:46:00 AM  
Blogger Pete said...

I like the idea. Especially early on as you fix bugs, we don't have to worry about updating our own versions of the compiler.

Though a cooler approach would definitely be a JS library that extracts the Flapjax from my .html file, sends it to your compiler webservice, and evals the result. :)

Friday, October 20, 2006 11:45:00 AM  
Blogger lmeyerov said...

We are thinking about making an interpreter that would crawl the DOM tree, looking for flapjax tags and doing its magic, though I have a feeling some people would complain about the performance :) I do wonder how fast it would go...

Friday, October 20, 2006 7:41:00 PM  
Blogger Shriram Krishnamurthi said...

The problem with bundling the compiler is not copyright so much as the
number of dependencies it has. It's not pretty.

As Pete points out, avoiding a download helps us as we improve the
compiler, which we're doing constantly.

As Leo said, we'd like to ultimately get rid of the compiler
entirely and replace it with a DOM-walker. It'll take a little time
to reimplement everything, but I think that's the only long-term
scalable solution that also eases maintenance burden.

Saturday, October 21, 2006 3:07:00 PM  
Blogger beingdo said...

I come from china,and insteasted flapjax,I want to create a site for "flapjax china",OK?
If you like this,please email to me.

Saturday, March 17, 2007 11:15:00 AM  
Blogger beingdo said...

hi,when i translate the tutorial,for the following paragraph,i can't understand the "lifting" in it.
This process, of making a function written in JavaScript operate over behaviors, is called lifting: it ``lifts'' the function from operating over JavaScript values to operating over Flapjax behaviors. The Flapjax compiler performs lifting for you automatically, so you should rarely, if ever, have to encounter it yourself. If, however, you treat Flapjax simply as a JavaScript library (which is a mode of operation we support), you'll find yourself performing lifting explicitly.
so i need your help!

Monday, March 19, 2007 11:57:00 AM  

Post a Comment

<< Home