We carry code into other languages and into images
Lena Code
Code analysis, built on a deterministic pipeline.
JavaScript
consttotal=price*qty;
Python
total= (price*qty)
TypeScript
lettotal= (price*qty)
Kotlin
valtotal= (price*qty)
C#
vartotal= (price*qty);
Dart
finaltotal= (price*qty);
PHP
$total= ($price*$qty);
Haskell
total= (price*qty)
Lispex
(definetotal (*priceqty))
Understand, improve, and transform code across 30 languages. Explanation, review and conversion are the starting points. Our own language Lena and Facet IR form the analysis foundation. Existing engine conversions also let you read the original and result side by side, as above.
Start with understanding your code, then explore improvements and transformations.
Fitting every line and page of a book by hand is hard.
ATLAS is a typesetting tool for refining a manuscript and setting the pages of a book. It decides the line breaks of a whole paragraph together, breaking Korean between characters and English between words.
The spread above is pages 18 and 19 of the body text of The Rational Optimist, set with ATLAS.
Topaz is a programming language specialized for typesetting. The function above is the part of the line breaking rules published on the ATLAS site that scores the badness of one line.
jeniapp and kakao.games, written in the same language, run right in the browser.
Lispex expresses a publisher’s typesetting house style as rules that run in the evaluator embedded in Topaz apps. This rule moves the heading to the next page when fewer than 2 lines are left below it.
The same rule with the same input and limits gives the same answer.
Its 105 lessons across five chapters set runnable code and an execution trace beside the text, and each chapter ends with a checkpoint. All code runs in a browser workbench powered by Lispex, and the browser remembers where you left off.
The screen above is lesson 1.2.1 running the iterative factorial of 8 to the value 40320, with its execution trace.
A computer science site that follows a single line of code on its rollicking adventure inside the computer.
Pop Block
Neo Brutal
Sticker
Five spaces make up the site, from First Steps to the Field Guide, and its first story, Hanjuri’s First Day at Work, asks where 1 + 2 goes. Switch between Pop Block, Neo Brutal and Sticker, and Hanjuri, Toktok and Gaji are drawn anew in each theme.
The three screens above are the same home page opened in each theme.