Wednesday, November 9, 2011
Whalesong is a compiler from Racket to JavaScript; it takes Racket programs and translates them so that they can run stand-alone on a user’s web browser. It should allow Racket programs to run with (hopefully!) little modification, and provide access through the foreign-function interface to native JavaScript APIs. The included runtime library supports the numeric [...]
This thread discusses the pros and cons of using the CA*D*R functions vs named first, second, third, list-tail, … and so on vs pattern matching for the same task. I thought that pattern-matching was the best way to do it; and now I’m curious about why CA*D*R is better.
Here is another Scheme on iPhone project.
Saturday, August 13, 2011
Racket is great; if you are missing a language feature then you just add it. How empowering. Joan wanted C# style @-escaped strings and documents how he added them here. (via Racket)
Now the popularity of DSLs may have waned, but the fun surrounding them surely has not. A while back James and I looked into implementing a DSL for modeling insurance products in Java that worked really nicely: built on top of Java we’ve full access to all its goodies like the libraries and object system [...]
The scribble/srcdoc and scribble/extract libraries support writing documentation within the documentation code along with an export contract, similar to using JavaDoc. Very nice. (via racket)
Thursday, December 16, 2010
kybernetikos shared with me a link to his Lispy language implementation on Javascript: Javathcript allows you to script your web pages in a simple lisp variant. Once you include Javathcript.js, any script tags in your document with type=”text/lisp” will be evaluated. It will also download lisp files (only from the original server), if you have [...]
Sunday, November 21, 2010
Even the vast majority of Scheme systems, the platform that has experimented the most with hygiene, provide unhygienic defmacro-style macros—presumably because not even Scheme implementors take hygiene very seriously. – Let Over Lambda, Chapter 6 Hygiene is in the standard here. (via Racket-users)
Wednesday, September 22, 2010
There is a precedent for hosting other languages on top of Racket by compiling their syntax down to Racket. What got me thinking other languages on Racket was Shriram’s P4P article, and also to some degree a discussion surrounding Gambit’s SIX. It got me wondering… Would PLT have anything to gain from providing a non-parenthesized [...]