The codeworld-api package

[Tags:apache, library]

This module provides the drawing code for CodeWorld. It is heavily inspired by Gloss, but modified for consistency and pedagogical reasons.

It comes with two backends. When compiled with GHCJS, it uses the JavaScript FFI to run on http://code.world/. When compiled with GHC, it uses the blank-canvas package to provide a webpage consisting of just a panel locally. This way, the same program that runs on the CodeWorld server can also be run locally.

Properties

Versions 0.1.0.1, 0.2.0.0, 0.2.1.0
Dependencies base (>=4.8 && <5), blank-canvas (==0.6.*), cereal (>=0.5.4 && <0.6), cereal-text (>=0.1.0 && <0.2), codeworld-game-api, codeworld-prediction, containers (>=0.5.7 && <0.6), ghcjs-base, ghcjs-dom, ghcjs-prim, hashable (>=1.2.4 && <1.3), mtl (>=2.2.1 && <2.3), random (==1.1.*), text (>=1.2.2 && <1.3), time (>=1.6.0 && <1.7) [details]
License Apache
Copyright (c) 2016, The CodeWorld Authors
Author The CodeWorld Authors
Maintainer Chris Smith <cdsmith@gmail.com>
Uploaded Fri Apr 21 22:17:08 UTC 2017 by ChrisSmith
Distributions NixOS:0.2.1.0
Downloads 420 total (156 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-04-21 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees