starlark-repl

Crates.iostarlark-repl
lib.rsstarlark-repl
version0.3.1
sourcesrc
created_at2018-12-28 14:35:29.943946
updated_at2020-10-07 08:57:49.351725
descriptionA REPL for the implementation in Rust of the Starlark language.
homepagehttps://github.com/google/starlark-rust
repositoryhttps://github.com/google/starlark-rust
max_upload_size
id104218
size58,293
Neil Mitchell (ndmitchell)

documentation

https://docs.rs/crate/starlark-repl

README

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 in Rust interpreter

USAGE:
    starlark-rust [FLAGS] [OPTIONS] [file]...

FLAGS:
    -a, --ast           Parse and print AST instead of evaluating.
    -b, --build-file    Parse the build file format instead of full Starlark. See https://docs.rs/starlark/0.3.0-
                        pre/starlark/eval/index.html#build_file
    -h, --help          Prints help information
    -r, --repl          Run a REPL after files have been parsed.
    -V, --version       Prints version information

OPTIONS:
    -c <command>        Starlark command to run after files have been parsed.

ARGS:
    <file>...    Files to interpret
Commit count: 327

cargo fmt