Skip to content

DGCK81LNN/whatlang-interpreter

Repository files navigation

whatlang-interpreter

npm

Fork of the core part of the original interpreter for WhatLang (2024), as a standalone package

Usage

what your_code.what
import { eval_what, default_var_dict } from "whatlang-interpreter"
await eval_what(
  "114 514+.",
  [[]],
  { ...default_var_dict },
  console.log,
) // Prints and returns: 628

About

stack-based esolang originally made by @YufangProbably

Topics

Resources

Stars

Watchers

Forks