effekt-lang / effekt-website

Website of the effekt language

Home Page:https://effekt-lang.github.io/effekt-website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Effekt Website

Website of the effekt language

SBT Microsites

The initial version of the website was generated by sbt-microsites (© 2019 47 Degrees). We then moved to directly editing the generated Jekyll code for more flexibility.

Original Notice

sbt-microsites
Copyright (c) 2016-2020 47 Degrees.  All rights reserved.

Licensed under Apache License. See [LICENSE](LICENSE) for terms.

Original License

See the MICROSITE-LICENSE file for the original sbt-microsite license.

How to Update the Effekt Compiler / LSP Server

The website features an interactive REPL and editor. In order to update the underlying compiler, run the following commands.

  1. In the effekt repo:
sbt> project effektJS
effektJS> fullOptJS
[info] Full optimizing ./js/target/scala-2.13/effekt-opt.js
  1. Move the resulting effekt/js/target/scala-$VERSION/effekt-opt.js to src/effekt.js in the website repo.

  2. In the website repo, run webpack:

> webpack

This will generate a bunch of packed js files.

Building the Website Locally

The website is built with jekyll and requires a ruby installation.

Follow instructions on the Jekyll website to install jekyll (which requires Ruby) and serve the website locally with

bundle exec jekyll serve

About

Website of the effekt language

https://effekt-lang.github.io/effekt-website

License:MIT License


Languages

Language:SCSS 83.6%Language:TypeScript 7.0%Language:HTML 6.6%Language:JavaScript 2.5%Language:CSS 0.3%Language:Ruby 0.0%