mayant15 / tsml

REPL for a subset of StandardML written in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

REPL for a subset of StandardML written in TypeScript

License:MIT License


Languages

Language:TypeScript 46.4%Language:JavaScript 35.8%Language:Dockerfile 9.8%Language:Nearley 7.0%Language:Shell 1.0%