Literate documents
Worked examples written in Org mode: prose and X_eTaL blocks, each
block run by xetal through ob-xetal in Emacs
and its result recorded under it.
- Start here: X_eTaL in fifteen minutes
from typing ASCII to importing a library, run as you read - A literate tour of X_eTaL
every feature of the language, run as you read - Hello, library
writing a library of your own, and using it - Life in one line
Conway's Game of Life in X_eTaL, built up a piece at a time - Libraries
what a library is, and the standard libraries at work - The aviary: combinators in X_eTaL
Raymond Smullyan's birds as a library, run as you read - Trains and birds
two ways to compose functions without naming the argument - TTTML: a machine that learns tic-tac-toe
learning by playing itself, in X_eTaL - Classic APL programs, drawn
Pascal's triangle, Life and turtle graphics in X_eTaL, with their pictures - The Tower of Hanoi, three ways
recursion, currying with combinators, and every move at once - Swimming ducks
animation by rotate, and joining frames along an axis two ways - Macros: source that writes source
the system macros, seeing an expansion, and macro libraries of your own - Some FinnAPL idioms in X_eTaL
historical APL idioms re-expressed as typed, extensible array programs
XeTaL in LaTeX: every line of code we ship or document, as xetal render --latex writes it and KaTeX draws it.
The Org sources are in the repository's docs/literate/, with the Emacs mode and ob-xetal in docs/emacs/.