.lmn — Notifications | LMX

LMX // .LMN

.lmnNotifications

Declarative toast / alert / sound / desktop-message directives.

  • Runs here
  • a .lmn file
  • free to run
WHAT IT IS

Why .lmn exists.

A tiny notification DSL (toast / alert / sound / desktop_message). In the hosted runtime it logs the intent rather than touching a desktop — safe to run anywhere.

Runs here

This one runs in the browser sandbox with no account, and offline in the CLI.


A WORKED EXAMPLE

LMN Demo Script for Notifications

The same script the engine test suite runs, so it cannot quietly stop working.

# LMN Demo Script for Notifications

# Show a toast notification
toast "Operation completed successfully!"

# Show an alert message
alert "Warning: Low disk space."

# Play a sound
sound "success.mp3"

# Send a desktop message
desktop_message --title "Task Finished" --message "Your long-running task has completed."
Run it

SYNTAX

The shape of it.

Straight from the interpreter catalogue — the same summary the editor shows as a placeholder.

toast "Build finished"
alert "Something needs attention"

NEXT

Where to take it.