Skip to content

New extensive CLI tool!

Compare
Choose a tag to compare
@WilliamRagstad WilliamRagstad released this 05 Aug 21:42
· 74 commits to main since this release

RustScript now comes pre-packaged inside the recently developed CLI tool rsc.
This is a command you can run to directly execute your script files, interact with the playful REPL or in upcoming releases, lint or even compile your scripts into other programming languages.

> java -jar rsc.jar
RustScript CLI version 0.1.0.
A simple command line interface tool for the RustScript language.

Usage: rsc (options) (files)

Options:
        -h, --help
                Prints this help message.
        -v, --version
                Prints the version of the program.
        -r, --repl
                Starts the REPL mode.
        -c, --compile [files]          (Not implemented)
                Compiles the given files.
        -l, --lint [files]             (Not implemented)
                Lints the given files.

Execute scripts: rsc [files]
        Interprets the given script files one at a time.

Copyright (c) 2021 William Rågstad