prql-compiler 0.2.9

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.
Documentation

PRQL compiler

prql-compiler contains the implementation of PRQL's compiler, written in rust.

For more on PRQL, check out the PRQL website or the PRQL repo.

Installation

prql-compiler can be installed with cargo:

cargo install prql-compiler

...or built from source:

# from prql/prql-compiler
cargo install --path .

It can be installed via brew too:

brew install prql/prql/prql-compiler

Usage

$ echo "from employees | filter has_dog | select salary" | prql-compiler compile

SELECT
  *
FROM
  employees
WHERE
  has_dog