Peppermint C89 port
This directory is a clean native C89 implementation of the language behavior present in the original TypeScript interpreter.
Implemented subset:
let name := expressionbindings- integer and floating-point literals
- quoted strings with basic escapes
+,-,*,/, and%- string concatenation with
+ #comments and line-oriented programs@argvand@argv:N@env:NAMEand@exit
The original repository also contains a separate Brainfuck compiler/runtime; that is not silently folded into this first language-core port.
Build
Requires only a C compiler with C89 support:
make
./peppermint smoke.ppm hello
The build uses -std=c89 -pedantic and has no TypeScript, Node.js, Beef, or
third-party runtime dependency.