Getting Started with Lispex

Set up your Lispex development environment in 5 minutes, run your first piece of code, and experience the joy of shaping original thought.

Welcome! This guide follows the LENA code interface flow: open → write → understand → run → 1:1 convert.

1) Open in your browser

2) Language defaults

  • At the top, both Input and Output languages default to Lispex.
  • It’s a small but clear signal that LENA code was created for Lispex.

3) File naming

  • The first file is named LENA_001.lispx.
  • Each new file increments: LENA_002.lispx, LENA_003.lispx, and so on.

4) Enter code

  • In the left editor, type or paste the sample below.
  • The version/compat headers are optional.
;; LENA_001.lispx
;! lispex 1.1           ; optional input grammar version header
;! compat: r5rs         ; optional R5RS‑compat toggle

(define message "Hello, Lispex!")
message

5) Understand Code

  • Click the “Understand Code” button (bottom‑right).
  • CSKernel™ decomposes Lispex syntax into semantic atoms and shows the result in the right‑hand Viewer.

6) Lispex Execution

  • Click “Lispex Execution” to run the current Lispex.
  • Results appear in the right console pane.

7) 1:1 Code Convert

  • Pick a target in the Output language dropdown.
  • Click “1:1 Code Convert” to transform to your chosen language (among ~30 languages).

8) More features

  • Functional refactoring: makes your code as close to purely functional as possible.
  • Natural‑language explain: summarize and explain selected blocks in plain language.

Next steps

We’re excited to see what you’ll build with Lispex.