๐Ÿงฌ Ahmad's EmojiScript โ€” GRISP Shadow Arena

Bytecode dialect compiled to SigilOp instructions. Fast-path validation for the Lisp Machine runtime. 15 emoji opcodes, stack-based VM, deterministic execution.

Live Compiler + Executor

๐Ÿ“ EmojiScript Source

๐Ÿ“Š Result

Ready...

Instruction Reference

Stack Operations

Emoji Name Effect
๐Ÿ”ข<digits> Push Push i64 literal onto stack

Arithmetic Operators

Emoji Name Effect
โž•AddPop 2, push sum
โž–SubPop 2, push difference
โœ–๏ธMulPop 2, push product
โž—DivPop 2, push quotient

Bitwise Operators

Emoji Name Effect
๐ŸคAndBitwise AND
๐Ÿ‘OrBitwise OR
๐ŸŒ€XorBitwise XOR

Control Flow

Emoji Name Args Effect
โžก๏ธJumptargetUnconditional jump to PC
โ“JumpIftargetJump if TOS โ‰  0, pop predicate
โ†ฉ๏ธReturnโ€”Halt execution

Advanced (Future)

Emoji Name Purpose
๐Ÿ”‘CapGateCapability proof (pops 2 args)
โšกCallIndirect function call
๐Ÿ—๏ธAllocAllocate memory
๐Ÿ“คLoadLoad from memory
๐Ÿ“ฆStoreStore to memory

Examples

Arithmetic:
๐Ÿ”ข40 ๐Ÿ”ข2 โž• โ†ฉ๏ธ โ†’ 42
๐Ÿ”ข100 ๐Ÿ”ข40 โž– โ†ฉ๏ธ โ†’ 60
๐Ÿ”ข6 ๐Ÿ”ข7 โœ–๏ธ โ†ฉ๏ธ โ†’ 42
Bitwise:
๐Ÿ”ข15 ๐Ÿ”ข7 ๐Ÿค โ†ฉ๏ธ โ†’ 7 (AND: 1111 & 0111 = 0111)
๐Ÿ”ข12 ๐Ÿ”ข5 ๐Ÿ‘ โ†ฉ๏ธ โ†’ 13 (OR: 1100 | 0101 = 1101)
Control:
๐Ÿ”ข1 โ“ โ†ฉ๏ธ โ†’ jump if predicate
๐Ÿ”ข0 โžก๏ธ โ†’ infinite loop