Nevli the mongoose

nevla playground


  

About the nevla playground

nevla is a statically typed, interpreted language: Go's discipline, CPython's ecosystem. This page runs the real interpreter, compiled to WebAssembly, entirely in your browser. Nothing you type is sent anywhere.

Run (or Ctrl/Cmd+Enter) typechecks the whole program and executes it. Compile errors carry line:col positions and light up the matching lines in the gutter.

Share copies a link with your program encoded in the URL fragment itself. There is no server and nothing is stored; the link is the program.

The examples menu walks the ideas that make nevla nevla: errors as values with mandatory handling, option types instead of nil, and Go's copy model.

Limitations

The python bridge (import py), http, and ctx.timeout need a real CPython and a real machine, so they report their absence here rather than pretend. File imports need a filesystem. For the whole language:

uv tool install nevla      # or: brew install guygrigsby/tap/nevla
nevla new hello && cd hello && nevla run

The normative reference is the language spec; every behavior in it is pinned by golden tests.