Skip to content

Tag Archives: Lisp

Whalesong: a Racket to JavaScript compiler

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 [...]

Destructuring Lists Using CA*D*R vs First, Second, … vs Pattern Matching

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.

Bringing Scheme to the iPhone

Here is another Scheme on iPhone project.

Adding raw string syntax to Racket

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)

DSLs are still fun

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 [...]

In-Source Documentation in Racket

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)

Emacs Lisp merges Lexical binding to the Trunk

(via emacs-devel)

Javathcript

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 [...]

Do Scheme implementors take hygiene seriously?

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)

Racket on Racket?

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 [...]