Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.02 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.02 KB

Starlark in Rust - REPL

A REPL for the Starlark language in Rust

Disclaimer: This is not an officially supported Google product. This project is supported on a best-effort basis and welcome contributions.

Starlark, formerly codenamed Skylark, is a non-Turing complete language based on Python that was made for the Bazel build system to define compilation plugin.

This REPL uses starlark crates.

Usage

A command line interpreter is provided by this project, it can interpret files passed at the command line and also start a REPL (Read-Eval-Print Loop). The usage of this program is:

$ starlark-repl --help
[Starlark in Rust interpretor]

Usage: starlark-repl [options] [file1..filen]


Options:
    -b, --build_file    Parse the build file format instead of full Starlark.
    -h, --help          Show the usage of this program.
    -r, --repl          Run a REPL after files have been parsed.