duckscript icon indicating copy to clipboard operation
duckscript copied to clipboard

Subcommands

Open nickheyer opened this issue 1 year ago • 2 comments
trafficstars

Feature Description

I know that one command per line is a core principle of the language, but after considering it on and off for months, I think it would be worth exploring even with a scoped subset of commands.

Describe The Solution You'd Like

After becoming pretty familiar with the src, it's clear why one command per line is the way to go, it makes things pretty easy to parse and keeps them orderly in terms of execution. That being said, recursively parsing instructions with look backs shouldn't add too much complexity.

Open to suggestions.

nickheyer avatar Nov 13 '24 03:11 nickheyer