@artemis-lang/cli
v0.3.4
Published
The artemis language cli
Maintainers
Readme
@artemis-lang/cli
Command-line interface for the Artemis programming language.
Installation
npm install -g @artemis-lang/cliUsage
artemis <command> [options]Commands
Run a program:
artemis run <file>Print the Abstract Syntax Tree:
artemis ast <file>Print lexical tokens:
artemis lex <file>Save AST to file:
artemis save-ast <file> <output>Save tokens to file:
artemis save-lex <file> <output>Options
--version- Show version number--help- Show help
Example
Create a file hello.art:
(println "Hello, Artemis!")Run it:
artemis run hello.artDocumentation
For complete language documentation, see the main README.
Version
Current version: 0.3.4
