Scroll to navigation

LIVESCRIPT(1) User Commands LIVESCRIPT(1)

NAME

LiveScript - manual page for LiveScript version 1.6.1

SYNOPSIS

lsc [option]... [file]...

DESCRIPTION

Use 'lsc' with no options to start REPL.

Misc:

display version
display this help message
compile to JavaScript and save as .js files
pass as string from the command line as input
automatically import prelude.ls in REPL
require libraries before executing
read stdin
print/compile as JSON
pass options after this through to the 'node' binary
watch scripts for changes, and repeat
compile all variables as constants

Output control:

compile into the specified directory
print the result to stdout
compile without the top-level function wrapper
do not add "Generated by" header
print the tokens the lexer produces
print the tokens the rewriter produces
print the syntax tree the parser produces
print debug output when compiling
generate source maps - either: 'none', 'linked', 'linked-src', 'embedded', or 'debug'
suppress compiler warnings

Version 1.6.1 <http://livescript.net/>

June 2022 LiveScript version 1.6.1