whatlang-interpreter
v0.4.1
Published
Interpreter for WhatLang 2024, a stack-based esolang
Readme
whatlang-interpreter
Fork of the core part of the original interpreter for WhatLang (2024), as a standalone package
Usage
what your_code.whatimport { eval_what, default_var_dict } from "whatlang-interpreter"
await eval_what(
"114 514+.",
[[]],
{ ...default_var_dict },
console.log,
) // Prints and returns: 628