On this page:
Hack Your Own Language
6.10.1.2

Hack Your Own Language

HYOL

(aka, 4620 Building Extensible Systems)

Extensible systems consist of many different components all written in different languages. Modern web pages are a particularly good example, using for example jQuery to inspect the DOM instead of traversing it manually. Many other such embedded domain-specific languages have appeared, and developers continue to build new ones.

This instance of the course will focus on Racket’s advanced tools for building embedded domain-specific languages. Some of its tools have begun to migrate to the JavaScript universe (see sweet.js, for example) and other languages (see Rust and Scala, for example).

Students will first learn to use these tools and then build at least one language on their own.

The course will be highly interactive similar to the Software Dev course I usually teach. At least half of each class period will be spent on student presentation, and they are expected to learn from each others’ design and code presentations.

Prerequisite

This course will mostly rely on a rock-solid understanding of Fundamentals I, but students will benefit from additional coding experience (prior to college, as a hobby, or via co-op).