r/purescript • • Sep 25 '17
Silly-quick question, I have `purs`, but where is `psc`?
I've seen references to psc = "the compiler", and am about to toy around with some alternative-backend scenario I have in mind (via --dump-core outputs rather than forking) --- but all I have after npm installing PureScript is purs, both in $PATH and in my global npms bin.
3
Upvotes
5
u/hdgarrood Sep 25 '17
Up until the v0.11.0 release,
pscwas the name of the command-line tool for compiling PureScript code, and each a compiler release includedpscas well as a bunch of related tools for various tasks, likepsc-docsfor rendering documentation as Markdown, orpsc-bundlefor bundling the compiler output into a single JavaScript file.As of v0.11.0 we just have one executable with subcommands for each of these things, so e.g.
purs compilerather thanpsc,purs docsrather thanpsc-docs, and so on.1
u/Exallium Sep 25 '17
It's "pretty much" the same thing.
pursis the purescript compiler.