/tsml

REPL for a subset of StandardML written in TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

TSML

checks codecov

A bare-bones REPL for a subset of StandardML written in TypeScript.

Using

Requires no dependencies except NodeJS. After cloning the repo then run

yarn install

You can then start the REPL with

yarn start

You can end the REPL Ctrl+D on Linux.

Supported Features

  • Literal integers and strings
  • Variable bindings with val expressions
  • Functions

Why?

Just as an exercise since I'm new to building programming languages. I learnt about StandardML through Dan Grossman's excellent Programming Languages MOOC and thought a minimal implementation shouldn't be that hard.

I neither aim nor claim to conform to the specification, implement/maintain all features or make this the fastest implementation. I'll try to implement what I find interesting while going through the MOOC.