Welcome! This guide follows the Lena Code interface flow: open → write → understand → run → 1:1 convert.
1) Open in your browser
- URL: https://www.lenacode.com
- No install or login required (free).
2) Language defaults
- At the top, both Input and Output languages default to
Lispex. - That default reflects Lispex's role as the core surface language in the Lena Code workflow.
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™ takes the Lispex surface structure, maps it into a deeper language-independent semantic layer, and shows the result in the right-hand Viewer as semantic atoms.
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
- Explore Syntax: tokens, literals, core/derived forms, normalization rules.
- Guides: Capability Modules, Target Run Tips
- Open Lena Code anytime: www.lenacode.com
We’re excited to see what you’ll build with Lispex.