Quick Start

Introduction

Welcome to VAlgoLang’s documentation!

VAlgoLang is a domain specific language that helps educators create animations for teaching students about data structures and algorithms.

Here’s a short example:

let stack = Stack<number>();
stack.push(5);
let x: number = stack.pop();

This would produce the video:

Quick Start Guide

The quickest way to get started with VAlgoLang is to head over to the web interface at https://valgolang.netlify.app/. Take a look at the examples pane on the left hand side to get an idea of what you can do with the language and just get stuck in!

Alternatively, if you’d prefer to work locally, follow these instructions to install the required dependencies on your machine. The file extension for VAlgoLang files is .val .

The next steps are to:

  1. Take a look through our Language Tour to familiarise yourself with the syntax of VAlgoLang. It should be pretty easy to pick up if you have even a bit of programming experience!

  2. Check out the Customising Your Animation section for ideas on how to change the style attributes of your animation using the stylesheet.

We hope you enjoy using VAlgoLang! Feel free to reach out to us on GitHub :)