CreativeScript v2

From Esolang
Jump to navigation Jump to search

An update to CreativeScript by Unname4798.

Commands

say! a print string a
set! a b set variable a to b
add! a b c add a and b
sub! a b c subtract a and b
mul! a b c multiply a and b
div! a b c divide a and b
mod! a b c modulo a and b
out! a print variable a
in! a set variable a to user input

Examples

Hello world

say! Hello world!

XKCD Random Number

say! 4

A+B Problem

in! a
in! b
add! a b c
out! c