Factor Language Blog

Compiling Factor to JavaScript

Monday, December 11, 2006

Chris Double writes about compiling a subset of Factor to JavaScript. I’d like this to evolve into something which lets me write web apps which use client side JavaScript to manipulate the DOM and communicate with the server (“AJAX”), without having to write JavaScript by hand, or write code which constructs JavaScript code by concatenating strings. Instead, I want to write the whole web app in Factor, with some code running client side and some server side. Perhaps Chris Double’s concurrency library can be used to communicate between Factor on the server and JavaScript Factor too.