AetherScriptAetherScript is a small, interpreted programming language with its own Aether Studio IDE, available as both a standalone Windows app and a Visual Studio Code extension. Both versions include a syntax-highlighted editor, custom interpreter, run controls, output console, file actions, and language quick reference. Try itWindows installerRun In Aether Studio, press Ctrl+S to save the current program (or Cmd+S on macOS in the VS Code Studio view). Use The installer does not install Python or modify another language's installation. The app is not code-signed, so Windows may display a SmartScreen warning. VS Code extensionInstall the To run the tests, use AetherScript editor tools
These features are built into AetherScript's interpreter and editors, including variable-snapshot tracing and spell navigation. They work without Python or external debugger extensions. Publish to the Visual Studio Marketplace
Language guide
You can also write programs with familiar beginner-friendly words:
More coding tools without librariesThese features are built into the language; no
20 more built-in featuresThese are part of the language itself, not libraries:
AetherGame 2D, perspective 3D, and isometric 3.5DThe
Run The 3D example combines these APIs:
Local machine learningThe
AetherGUI standalone desktop windowsThe separate The current Tkinter-inspired toolkit provides labels, buttons, text entries and areas, checkboxes, radio groups, sliders, progress bars, list boxes, dropdowns, frames, menus, tabs, and drawing canvases. Use
This is a growing native toolkit, not a complete drop-in implementation of every Tkinter feature or widget. It does not expose Python, arbitrary host code, or unrestricted filesystem access to GUI callbacks. For all available calls and a larger example, open Project-scoped file managementIn standalone Studio, choose Project Folder before using file calls. In VS Code, AetherScript uses the first open workspace folder. Paths must be relative to that root; path traversal and links escaping the root are rejected. Text operations are capped at 1 MiB per file, directory listing is one level deep, and
Available calls are Data and vector tools
The 50 newly added APIs across AetherGame, Beginner-friendly wordsThese 25 words are aliases for AetherScript's existing commands and operators. You can mix them with the original words:
Standard librariesThe 15 standard libraries are available after Studio setup. Their identifiers can be used directly with Bring extra tools into a program with
Lists use square brackets, zero-based indexing ( Additional libraries (
|
| Library | What it does | Functions |
|---|---|---|
requests |
Parse URLs and fetch a public URL. | parseUrl, isHttps, encode, get |
beautifulsoup |
Extract information from HTML text you supply. | text, title, links |
flask |
Build in-memory route and response descriptions. | route, response |
django |
Build route/response descriptions and paginate lists. | route, response, paginate |
plotly |
Display basic charts as console text. | bar, line |
bokeh |
Display basic charts as console text. | bar, line |
nltk |
Split text into words/sentences and count words. | words, sentences, frequency |
spacy |
Find words, sentences, and capitalized phrases. | words, sentences, capitalizedPhrases |
wifi |
Read-only local interface/address details plus simulated profiles and public HTTP GET; no network control. | profiles, connect, status, connection, fetch |
aethergame |
Draw 2D, projected 3D, and isometric scenes in Studio. | start, maze, rect, polygon, triangle, ellipse, grid, setCamera, point3d, line3d, box3d, sphere3d, tile3d, circle, line, text |
aethergui |
Create separate interactive desktop windows and controls. | window, label, button, entry, checkbox, radio, slider, progress, textArea, listBox, dropdown, frame, canvas, menu, tab, pack, grid, place, bind, get, set, remove, clear, widgets, message, show, hide, close, title, drawRect, drawLine, drawText |
aetherml |
Train and evaluate small local numeric models. | trainLinear, predictLinear, trainLogistic, predictClass, normalize, split, accuracy, mse, precision, recall |
data |
Parse/format JSON and CSV and reshape/sample lists. | parseJson, toJson, parseCsv, toCsv, flatten, chunks, frequencies, minmax, shuffle, sample |
utils |
Reusable game and math helpers. | clamp, lerp, mapRange, seededRandom, vector2, vector3, distance2, distance3, normalizeVector, angle2 |
calendar |
Find the weekday of an ISO date. | dayOfWeek |
datetime |
Validate and format an ISO date. | isoDate |
statistics |
Find the median of numbers. | median |
random_tools |
Make repeatable seeded random choices. | integer, choose |
text_patterns |
Search/replace literal text (not regular expressions). | contains, replaceAll |
encoding |
Encode and decode URI or base64 text locally. | uriEncode, uriDecode, base64Encode, base64Decode |
hashing |
Make a deterministic, non-cryptographic text hash. | fnv1a |
identifiers |
Make a repeatable UUID-shaped identifier from a seed. | fromSeed |
geometry |
Measure 2D distance and rectangle area. | distance, rectangleArea |
physics |
Calculate speed and force from supplied values. | speed, force |
sound |
Convert semitones from A4 to frequency. | frequency |
keyboard |
Normalize a key label; does not capture key presses. | normalizeKey |
mouse |
Normalize supplied coordinates; does not capture mouse input. | relative |
tiles |
Convert a position to a tile-grid cell. | cell |
collision |
Test overlap of axis-aligned rectangles. | rectanglesOverlap |
animation |
Interpolate between animation values. | lerp |
camera |
Project a point through a simple perspective camera. | project |
mesh |
Return educational facts about simple meshes. | cubeEdgeCount |
matrix |
Transpose a rectangular list-based matrix. | transpose |
vectors |
Calculate equal-length vector dot products. | dot |
probability |
Run repeatable seeded chance checks. | chance |
linear |
Calculate the slope between two points. | slope |
normalize |
Scale a numeric list to the zero-to-one range. | minMax |
validate |
Check whether values are text or finite numbers. | isNumber, isText |
convert |
Convert text and finite numbers. | toNumber, toText |
formatting |
Pad text on the left. | padLeft |
console |
Convert values to JSON text for display. | stringify |
config |
Read a value from simple key=value text. |
get |
timer |
Convert seconds to milliseconds; no background timer. | milliseconds |
stopwatch |
Subtract supplied time values; no running stopwatch. | elapsed |
text_tools |
Convert a label to a lowercase URL-style slug. | slugify |
pixels |
Calculate brightness from RGB values. | brightness |
colors |
Convert between RGB values and hex strings. | hexToRgb, rgbToHex |
shapes |
Calculate a circle's area. | circleArea |
collections |
Remove duplicate values while preserving order. | unique |
queue |
Add/remove values at the ends of a queue list. | enqueue, dequeue |
stack |
Push/pop values on a stack list. | push, pop |
graphs |
Find neighbors from a list of directed edges. | neighbors |
search |
Find the first matching value in a list. | indexOf |
sorting |
Sort finite numeric lists ascending. | ascending |
sets |
Find values shared by two lists. | intersection |
paths |
Read an extension from path text (no file access). | extension |
json_tools |
Format a value as readable JSON. | pretty |
csv_tools |
Split one quoted CSV line into fields. | splitLine |
coordinates |
Convert polar coordinates to Cartesian coordinates. | polarToCartesian |
units |
Convert Celsius to Fahrenheit and meters to feet. | celsiusToFahrenheit, metersToFeet |
logic |
Calculate exclusive-or. | xor |
network_tools |
Parse URL text offline; opens no connections. | parseUrl |
web_tools |
Escape HTML-special characters in supplied text. | escapeHtml |
testing |
Compare numbers using a tolerance. | approximatelyEqual |
These are learning-oriented language libraries, not Python package ports: they do not train neural networks, start web servers, access cameras or image files, scan/connect to Wi-Fi, or run Python code. Images and tables are represented using AetherScript lists. requests.get(url) and wifi.fetch(url) make one explicit HTTP GET per program run; only public HTTP/HTTPS hosts are accepted, redirects and credentials are rejected, and requests time out after five seconds with a 1 MB response limit. wifi.connection() only reports non-internal local interface addresses; it does not scan nearby networks or change network connections. The online helpers use the system curl command, which must be available on PATH.
For example, install and use an optional module from CMD:
aetherdip install statistics
summon statistics
shine statistics.median([2, 8, 4])
summon requests
weave page = requests.get("https://example.com/")
shine page
Handmade libraries
A library is an .aether file containing one or more spell definitions and optional summon imports, for example examples/hello_tools.aether. Its lowercase filename becomes its library name:
aetherdip install .\hello_tools.aether
Open a new terminal after installation, then use the library in a program:
summon hello_tools
shine hello_tools.double(6)
You can also use Libraries → Import .aether library in Aether Studio, or run AetherScript: Install Library from the VS Code Command Palette. aetherdip, Aether Studio, and the VS Code extension share the per-user custom library folder. Custom libraries run in the AetherScript interpreter; they cannot execute JavaScript, access files, or make network requests. Online publishing is not configured because this project has no library registry or upload server; installs are local to your account.
aetherdip commands
Open CMD after installing AetherScript Studio. Install the direct executable-converter command once:
aetherdip install auto_aether_to_exe
Then run commands from CMD (a new terminal window may be needed after installing):
aetherdip repl
aetherun .\hello.aether traveler
auto_aether_to_exe .\hello.aether .\hello-app
aetherun .\hello.aether
aetherdip check .\hello.aether
aetherdip install statistics
aetherdip install camera
aetherdip install .\hello_tools.aether
aetherdip list
aetherdip auto_aether_to_exe .\hello.aether
aetherdip repl starts an interactive prompt. Enter complete statements directly, or enter multiline blocks and finish them with their normal AetherScript end marker. Variables persist between entries. Use :help for prompt help and :quit or :exit to leave. aetherun <program.aether> [arguments...] runs a program and passes each remaining CMD argument as a string in the built-in args list, starting at index zero; quote arguments that contain spaces. For example:
shine args[0]
aetherdip install auto_aether_to_exe adds an auto_aether_to_exe.cmd command beside the installed aetherdip shim, in the folder the installer added to your user PATH. auto_aether_to_exe creates a folder containing hello.exe and its runtime files. Share the whole folder, not just the .exe. Opening the generated app runs the bundled program and shows its output. The package also includes the currently installed bundled-library selection and your custom .aether libraries. Command output and errors are written in the terminal.
Keywords and values
| Syntax | Purpose |
|---|---|
weave name = value |
Declare a variable in the current scope |
name = value |
Python-style variable assignment; creates the name if needed |
set name = value |
Update an existing variable |
shine expression |
Print a value |
when condition / otherwise / end |
Conditional branch |
orbit condition / end |
Loop while the condition is true |
for item in items / endfor |
Loop over a list or string |
repeat count times / endrepeat |
Repeat a fixed number of times |
for item from start to stop / endfor |
Count through an inclusive number range |
choose value / case value / endchoose |
Run the matching case |
constant name = value |
Declare a value that cannot be changed |
check condition |
Stop with an error if the condition is false |
spell name(args) / endspell |
Define a function |
def name(args): / endspell |
Python-style function header |
if condition: / elif condition: / else: / end |
Python-style conditional headers |
while condition: / end |
Python-style while header |
for item in items: / endfor |
Python-style for header |
pass |
Do nothing on this line |
assert condition, "message" |
Stop with an error when the condition is false |
from math import sqrt as root |
Import one library member with an optional alias |
try: / except Error as problem: / finally: / endtry |
Catch runtime errors and optionally run cleanup code |
raise expression |
Stop with an error using the expression as its message |
del name |
Remove a variable from its scope |
return expression |
Return from a function |
leave, exit, break |
Exit the innermost loop |
continue, next, skip |
Skip to the next loop iteration |
summon math |
Import a standard library; optional as alias |
true, false, nothing (True, False, None) |
Boolean and empty values |
and, or, not |
Boolean operators |
Python-style headers accept a trailing colon, but blocks still close with AetherScript's explicit end, endfor, endspell, or endtry; indentation does not determine block boundaries. except currently catches runtime errors without filtering by exception class. Strings use double quotes and support \\n, \\r, \\t, \\", and \\\\. Comments start with #. Arithmetic supports +, -, *, /, %, and **; comparisons support ==, !=, <, <=, >, and >=. The in operator checks for a value in a list or string. Assignment supports =, +=, -=, *=, /=, and %=. Parentheses group expressions. + joins values when either side is a string.
Global built-in functions are len, text, number, kind, first, last, isEmpty, contains, sum, average, sorted, reverse, and range. For example, range(4) creates [0, 1, 2, 3], sum([2, 3]) returns 5, and first("Aether") returns "A". Ranges are capped at 10,000 items. The interpreter limits execution to 100,000 steps and spell calls to 100 nested calls.
Commands
- AetherScript: Run File — run the active
.aetherdocument (Ctrl+F5). - AetherScript: Run Selection — run the selected code, or the whole file if no selection is active.
- AetherScript: Open Aether Studio — open the full-size Studio editor.