Reference interpreter v0.7.1

Meaning lives
in the particles.

Japanese particles mark argument roles. Tenioha puts those particles in the type signature, so (5 から 3 を 引く) and (3 を 5 から 引く) are the same call. After Kip; not a translation of Turkish case. Nadesiko already has particle arguments in Japanese.

Python 3.11+, no packages. This page runs the same interpreter through Pyodide.

引くexample call

te·ni·o·ha / the little words that hold a sentence together

(5から3引く)=2
から = fromを = object引く = subtract

The particles carry the roles.
The order can change; the answer stays 2.

01

Particles are labels. Checked on the call, not a permanent case on the value.

02

Effects are declared. 関数 vs 手続き. Arguments stay pure.

03

Small functional core. Immutable bindings, types, closures, exhaustive match.

INTERPRETER

Same interpreter as the CLI

Pyodide, this tab

Programs from examples/ run here in a disposable worker. Same checker and evaluator as python -m tenioha. First load fetches Pyodide; after that it stays in the tab.

TENIOHA / UTF-8
Program input for 読む calls

Output

CONSOLE
Output from 表示する appears here after a run.

Your code stays in this browser.First run takes a moment to prepare.

Loading example notes…

Ctrl + Enter to run · on Mac

Each run starts fresh. Bundled list and option imports work here. Runs stop after 10 seconds; output is limited to 64,000 characters. Runner notes ↗

EXAMPLES

What the programs are testing

All examples on GitHub ↗
CONTEXT

What this is,
and what it is not.

Tenioha is a day-old reference interpreter. Particles are occurrence labels on a signature. The same integer can wear から in one call and in the next. There is no morphology engine, no inferred , and 5から3を引く is not a program: word boundaries stay explicit.

The rest is ordinary functional machinery — immutable bindings, static types, algebraic data, closures, exhaustive match, checked effects. It does not claim those as new. Establishing research novelty would take a literature review that has not been done.

Read Kip first (Korkut, Keles, Akdemir 2026). Nadesiko already has Japanese particle arguments, reordering, and politeness. This is not a translation of Turkish Case.

Design notes ↗
CLI

Run it with Python

3.11 or later. No third-party packages.

$ git clone https://github.com/c0ze/tenioha.git$ cd tenioha$ python -m tenioha examples/fibonacci.ten