DEMO 1

Syntax overview

Basic struct, matrix, and cell array manipulations. This demo runs in standard interpreter mode.

EDITOR — SEMITONE
OUTPUT
Press Run to execute…
ABSTRACT SYNTAX TREE
AST will appear here…
DEMO 2

SVG logo generator

The semitone logo was generated by a semitone script — in about two hours, including the implementation of for loops in the semitone interpreter. The logo shows two sampled sine waves with a frequency difference of exactly one semitone. The colors represent a sunrise over the ocean, a reference to Oman 🇴🇲, where semitone was developed.

Feel free to play around. Try for example changing N, a, or the width. Or the colors. Or generate your own SVG from scratch. The possibilities are endless...

EDITOR — SEMITONE
SVG OUTPUT
Run the script to generate the SVG
OUTPUT
Press Run to execute…