Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

tkw1536/SimpleLang

Repository files navigation

SimpleLang

A really simple Interpreter written for GenICT.

Install

npm install -g simplelang

Usage

To run a simple program:

simple_lang 'LOAD #5 STORE 15 LOAD #0 EQUAL 15 JUMP #6 HALT #0 ADD #1 JUMP #3'

To run a program stored in a simple text file:

simple_lang /path/to/text/file

To set memory size:

simple_lang /path/to/text/file -m MEMORY_SIZE

To set memory values:

simple_lang /path/to/text/file -m CELL_0 CELL_1 ... CELL_N

License

(c) Tom Wiesing 2014, licensed under MIT. See License file.

About

A really simple Interpreter written for GenICT.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published