BayHac2018/CodeWorld

From HaskellWiki
< BayHac2018
Revision as of 21:13, 6 April 2018 by Drb226 (talk | contribs) (Created page with "{| |Project: |CodeWorld |- |Description: |Educational computer programming environment using Haskell |- |Maintainers/liaisons: |Chris Smith |- |Source: |https://github.com/goo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Project: CodeWorld
Description: Educational computer programming environment using Haskell
Maintainers/liaisons: Chris Smith
Source: https://github.com/google/codeworld
Website: https://code.world/

What It Is

CodeWorld is a web-based development system for Haskell programming in education. The web site provides a code editor, in-browser preview, and options to load and save programming projects. The library is inspired by Gloss, and provides a purely functional API for drawing pictures, animations, and interactive programs.

The main intent of CodeWorld is to be used for middle school aged children. Because of this, it defaults to a simplified variant of Haskell. However, a full Haskell version is available and widely used.

Installing

You do not need to install anything to use CodeWorld for your own project! Just visit [1] or [2] to get started. (The first link is the simplified educational language variant; the second is plain Haskell.) You can also make some changes to the front end by just editing JavaScript and opening files in the browser.

If you want to make most deeper changes, installation is done by cloning the repository, and then running install.sh, then build.sh, and finally run.sh. Be aware that running install.sh will delete your ~/.ghc directory!

Installing takes some time (mostly building and installing node.js and GHCJS), but only needs to be done once. Future changes can just run the build and run scripts, which is considerably faster. I'll be happy to help with this process, either at BayHac or earlier.