Lena

Лена

The language that reads meaning

Structure of the wrapping addition exampleTakes one argument and adds it to itself using wrapping addition.yieldwrap-add(var 0)(var 0)

Code

(lena-0.1 64 (params (0 int)) int
  (block (do)
    (yield
      (wrap-add (var 0) (var 0)))))

Structure

Takes one argument and adds it to itself using wrapping addition.

Grown from the first Topaz.

Lena is a dialect of Lisp. Now it reads code written in many languages and finds the meaning it holds.

Parentheses outside. Structure within.

Lena is written in S-expressions. What it actually works on is typed structure.

30 languages. One meaning.

  • JavaScript
  • TypeScript
  • Python
  • C++
  • Java
  • Rust
  • C#
  • Go
  • PHP
  • C
  • Kotlin
  • Swift
  • Ruby
  • Dart
  • R
  • Scala
  • Objective-C
  • Lua
  • Solidity
  • Julia
  • Haskell
  • OCaml
  • Elixir
  • Zig
  • ReScript
  • Elm
  • CoffeeScript
  • Emacs Lisp
  • Lispex
  • Topaz