Set-up

Installation

Simple!

/bin/bash -c "$(curl -fsSL https://seq-lang.org/install.sh)"

If you want to use Python interop, you also need to point SEQ_PYTHON to the Python library (typically called libpython3.8m.so or similar).

Usage

Assuming that Seq was properly installed, you can use it as follows:

seqc run foo.seq  # Compile and run foo.seq
seqc run -release foo.seq  # Compile and run foo.seq with optimizations
seqc build -exe file.seq  # Compile foo.seq executable "foo"

Note that the -exe option requires clang to be installed, and the LIBRARY_PATH environment variable to point to the Seq runtime library (installed by default at ~/.seq/libs/).