Skip to content

glebm/racketscript-playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Racketscript Playground

Playground for RacketScript. Visit http://rapture.twistedplane.com:8080 to try. Both server-side and client-side code is written in RacketScript.

Instructions

Playground uses Github Gist to save and load files. The name of Gist file must be source.rkt.

  • URL of format /#gist/:id will load gist of that provided id.
  • URL of format /#example/:id will download $ROOT_URL/examples/:id.rkt from server.
  • A POST /compile request will take JSON payload of format: { "code": <racket-code> } and return a compiled JS file in reponse.

CoreMirror is used as editor component. Search and Replace shortcuts are here.

Installation

After installing Racket, NodeJS, and RacketScript, execute following commands to install and run playground:

$ make fireup

Or, if you wish to do it step by step:

$ make setup build
$ make run

For development, you can use:

# for building both server and client without npm install/update
$ make quickbuild

# for building server and client individually
$ make build-server
$ make build-client

License

RacketScript is licensed under MIT license. Third-party libraries can be found over here and here.

About

Online playground from RacketScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Racket 56.0%
  • HTML 34.3%
  • CSS 5.2%
  • Makefile 4.5%