Skip to content

divyansh0x0/algo

Repository files navigation

Algorithm Visualizer

Algorithm Visualizer is an ongoing project focused on building a complete environment for algorithm visualization. The system is under active development and currently includes a working foundation across language, simulation, and tooling.

Current Implementation

The project has implemented the following components:

  1. A high level compiler for YASL
  2. A simple custom text editor
  3. An Entity Component System based simulation engine

The simulation engine runs on HTML Canvas and is capable of:

  1. Simulating arrays
  2. Animating the swapping of array elements

These features form the base layer for further expansion of visualization capabilities.

YASL

YASL, short for YET Another Scripting Language, is the scripting language designed for this project. A high level compiler has been developed, allowing YASL programs to be parsed and prepared for execution within the simulation environment.

The language is intended to support visualization driven constructs and structured execution, with further features planned for future development.

Editor

A basic custom text editor has been implemented to write and manage YASL code. It serves as the initial interface for interacting with the compiler and simulation engine.

Direction

The long term objective remains to build a complete IDE tailored for algorithm visualization, expand the simulation engine to support more data structures, and introduce multiple levels of execution detail. The current implementation establishes the technical base required to move toward that goal.

image

About

Visualize algorithms using a custom domain-specific language and IDE

Topics

Resources

Stars

Watchers

Forks

Contributors