This repository contains the server source code for the Cone Language Website, which:
- Summarizes the Cone language features
- Provides an online playground for running Cone programs
- Offers reference documentation for the Cone language
- Lists available Cone libraries
- Describes Cone ecosystem tools
Using the playground, a Cone programmer can use a web browser to create and run Cone programs, thereby avoiding the need to first install the Cone compiler and toolchain. It also supports the generation of assembler output, LLVM IR, or Github-hosted code gists.
The website's server code depends on Ruby, Passenger/Rack and the Sinatra framework for url routing, automated assembly of pages using templates, and server-based Cone compilation activities.
The playground's front-end makes use of the Ace High-Performance Code Editor for the Web for program editing. The other .html, .css, and .js files are adapted from the Pony playground, which in turn adapted them from an earlier version of the Rust playground.
These files and tools are distributed under the terms of multiple licenses, depending on the original source for the code. See LICENSE for details.