Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prg-titech/kanon

A live programming environment specialized for data structure programming.
https://github.com/prg-titech/kanon

data-structures javascript live object-graph programming-environment visualization

Last synced: about 1 month ago
JSON representation

A live programming environment specialized for data structure programming.

Awesome Lists containing this project

README

        

# Kanon

__Kanon__ is a live programming environment for data structures.
While you write JavaScript code in the editor on the left-hand side,
the data structures constructed during the execution of the code appears as a graph on the right-hand side.

![](./example.gif)

## How to use

Kanon runs on your browser. Open the following page: [https://prg-titech.github.io/Kanon/](https://prg-titech.github.io/Kanon/).

## How to build

To build __Kanon__ in your local environment,
execute the following command.
```
git clone https://github.com/prg-titech/Kanon.git
```
This will copy the source code of Kanon.
After downloaded, go to the Kanon directory and execute the following command.

```
npm install
```

Then, execute a following command and open http://localhost:8000/ to view the application.

```
npm start
```

(You can change the port by using `npm start -- --port=8001`).

### Desptop Application

You can also use __Kanon__ by desktop application.

```
npm run-script app
```

## Samples

it is recommended that you try to use sample code that is in [samples](https://github.com/prg-titech/Kanon/tree/master/samples) directory if you have never used Kanon.

---

## Notes

__Kanon__ uses the following libraries.

- [vis.js](http://visjs.org) (https://github.com/almende/vis)

- [Ace](https://ace.c9.io) (https://github.com/ajaxorg/ace)

- [esprima](http://esprima.org) (https://github.com/jquery/esprima/tree/3.1.1)
[*]

- escodegen (https://github.com/estools/escodegen)

- [jQuery](https://jquery.com/) (https://github.com/jquery/jquery)

- [jQuery UI](https://jqueryui.com/) (https://github.com/jquery/jquery-ui)

## References

- Live Editor (https://github.com/Khan/live-editor)

## LICENSE

Kanon is distributed under the MIT License. See [LICENSE](https://github.com/prg-titech/Kanon/blob/master/LICENSE) for more information.

[*]: Our repository includes esprima.js in the externals directory, which is taken from https://unpkg.com/[email protected]/dist/esprima.js .