Skip to content

Materials for the ICLC 2016 language design workshop

License

Notifications You must be signed in to change notification settings

lukechurch/iclc2016

Repository files navigation

Getting started with Molly

The following has been tested only on macOS, but the process should be similar on Linux as well.

Install Dart

Follow the instructions on www.dartlang.org.

To test that is has installed successfully, run dart --version from the command line.

Install Node.js and npm

Follow the instructions on nodejs.org.

To test that is has installed successfully, run node --version and npm --version from the command line.

Install the dependencies for each server

Run install_dependencies.sh from the root directory of the repo (i.e. iclc2016/):

bash install_dependencies.sh

Start (all) the servers

Each server below must be started in a different terminal window. All commands are relative to the root directory of the repo (i.e. iclc2016/)

Start the Vis server

dart vis-server/bin/main.dart

Start the parser server

cd parser && node server-demo.js

Start the execution server

dart runner/bin/server_exec.dart

Start the Vis UI

cd vis && pub serve --port=8081

Start the editor UI

cd web-editor && pub serve --port=8080

Start coding

Go to localhost:8080 to write code in Molly, and see the visualisation created at localhost:8081.

Development environment

A substantial part of the code is written in Dart. If you've written Java before, it should be very easy to pick up. To get code completion and syntax highlighting, you can use the Atom editor with the dartlang package.

About

Materials for the ICLC 2016 language design workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published