Tick-tock
Interpreter of the Tick-tock programming language.
Installation
Prepare the directory:
$ mkdir --parents "$(go env GOPATH)/src/github.com/thewizardplusplus/"
$ cd "$(go env GOPATH)/src/github.com/thewizardplusplus/"
Clone this repository:
$ git clone https://github.com/thewizardplusplus/tick-tock.git
$ cd tick-tock
Install dependencies with the dep tool:
$ dep ensure -vendor-only
Build the project:
$ go install ./...
Usage
$ tick-tock -v | --version
$ tick-tock -h | --help
$ tick-tock [options] [<filename>]
Options:
-v
, --version
— show application version;
-h
, --help
— show application help;
-i SIZE
, --inbox SIZE
— inbox buffer size (default: 10
);
-s STATE
, --state STATE
— initial state (default: __initialization__
);
-m MESSAGE
, --message MESSAGE
— initial message (default: __initialize__
).
Arguments:
<filename>
— source file name; empty or -
means stdin.
IDE support
Docs
Docs (RU).
License
The MIT License (MIT)
Copyright © 2019-2021 thewizardplusplus