When To Say When: Reinventing the Switch Statement

submited by
Style Pass
2025-01-16 12:00:12

I have spent over a year working obsessively to bring my vision of the perfect pixel art editor to life. The fruit of my labour is Stipple Effect, a program that lets users write scripts for a variety of use cases, including transforming the project for display in the preview window in real time:

I was very particular about how I wanted the script-writing process to feel for users: quick, clear, painless, iterative. To achieve that, I opted to design and implement my own scripting language rather than embed Lua or another established scripting language in my program.

The result is DeltaScript, a scripting language "sketelon" designed to be extended for specific application domains. Stipple Effect's scripting API is one such extension.

I released the language specification for DeltaScript v0.1.0 today, so I figured now is the perfect time to write about one of the language's features that I am most excited about.

Leave a Comment