This repository hosts FsLab project templates compatible with many F# editors. Using the templates, you can start with FsLab in 3 simple steps:
- Download a selected template
- Build it to download FsLab packages
- Open scripts in your editor & play!
To get started, download a branch with the template as a ZIP file and extract the files. The repository currently hosts the following templates:
- FsLab Basic template - references FsLab and gives you a single script file with simple demo
- FsLab Journal template - in addition to the above, this template also lets you write literate FsLab scripts and produce HTML or LaTeX reports
Visual Studio and Xamarin Studio should download FsLab packages automatically on build. If this doesn't happen (or when using other editors), you need to explicitly install them.
-
In the basic template, run
paket install
. For example, when using mono on Mac, run:mono .paket/paket.bootstrapper.exe mono .paket/paket.exe install
-
In the journal template you can use build scripts
build.sh
andbuild.cmd
. The following will process all journals and open them in a web browser:chmod +x build.sh ./build.sh run
Once you have the template and packages, you can open the Tutorial.fsx
file and start playing
with FsLab. For more information, see the Getting Started page on www.fslab.org.