literate-purescript

0.1.2 • Public • Published

literate-purescript

Build Status

Literate programming in PureScript.

Usage

npm install -g literate-purescript

Run lit in the root of a project to populate the generate-src directory with PureScript modules based on code blocks defined in Markdown files.

Then, include the generated-src directory when compiling PureScript to verify that everything is valid.

e.g.

purs compile "bower_components/*/src/**/*.purs" "src/**/*.purs" "generated-src/**/*.purs"

or

pulp build --include generated-src

See the example project for a full demonstration.

Dependents (0)

Package Sidebar

Install

npm i literate-purescript

Weekly Downloads

1

Version

0.1.2

License

Apache-2.0

Unpacked Size

2.86 MB

Total Files

7

Last publish

Collaborators

  • paulyoung