Shockwave flash

From Esolang
Jump to navigation Jump to search
Not to be confused with ActionScript (Wikipedia), the programming language used by the Adobe Flash platform.

Shockwave flash is an esolang created by WarzokERNST135.

Commands

: Prints "Hello World!"
\: Escape character for putting double quotes on strings and other characters.
¿: An IF statement, where then is ~, and else is ~~.
§: A map over command, used in lists
#: Preceded by the variable name and succeeded by the value of the variable. A variable setter.
Arithmethic operations (+, -, *, /, %) are the same
!: Factorial symbol
@: Input variable, gets user input
: Without parameter brackets: Infinity variable. With parameter brackets: Infinite loop. I/O is implicit.
¬: Raw data.

Examples

Hello World!

Cat program

@

Truth machine

¿(@==1) ~ ∞(1) ~~ @

Quine

"¬"

Since ¬ is raw data, it prints the entire raw data (including the quotes)

Error quine

SWF Error!!! at line 1 - "SWF" is not recognized as a function or command in the ShockwaveFlash domain.