🎈 BLACKPOOL OFFERS
🚚 Free Shipping from 397 USD
πŸƒ TELEPORT PREORDER

Language Β· MagiScript

JavaScript Similarities

MagiScript is a programming language similar to JavaScript, designed specifically for magicians to create mini-apps. While MagiScript is similar to JavaScript, it only supports a limited subset of the JavaScript language. Here’s what’s currently supported:

  • Variables: var, let, and const; literals; basic types.
  • Operators: like addition, subtraction, and comparison.
  • Control flow: if/else, while, do..while, and for.
  • Functions: they can be nested and arrow expressions.
  • Basic classes.

However, there are also some features that are not supported in MagiScript. These include:

  • Most of the built-in functions are missing, such as math, string, and array manipulation-related methods. We can add them on demand.
  • Only === and !== equality operators are supported, == and != are not.
  • Some operators are not working with strings: -, /, %, *, **, <=, <, >=, >. Using them can cause a fatal error and the system will restart.
  • Regular expressions are not supported.
  • No modern features like destructuring, spread, rest, and default parameters.

It’s important to note that any feature from the ECMAScript standard, whether supported or unsupported, is subject to change as we continue to work on improving the language.

We hope this breakdown of supported and unsupported language features has been helpful in understanding the capabilities of MagiScript. For more detailed information on how to use these features, please refer to the relevant sections of this documentation.

General

πŸ“ƒΒ First Steps

MagiScript Editor

πŸ“ƒΒ Basics

πŸ“ƒΒ Running Your First Program

πŸ“ƒΒ App Store

πŸ“ƒΒ Atom Settings (Editor)

πŸ“ƒΒ Debugging Techniques

Examples

πŸ“ƒΒ Atom Time

🎞️ Time Practice

πŸ“ƒΒ Atom Pi (Pi Revelations)

πŸ“ƒΒ Atom Drum

🎞️ Atom Stack

πŸ“ƒΒ Atom Square

πŸ“ƒΒ Atom Level

πŸ“ƒΒ Atom THMPR

πŸ“ƒΒ Poker Hands

πŸ“ƒΒ Keyboard Numeric

πŸ“ƒΒ Keyboard NOKIA

πŸ“ƒΒ Keyboard Cursor

πŸ“ƒΒ Keyboard Media

πŸ“ƒΒ Keyboard Custom

Input/Output

πŸ“ƒΒ Buttons

πŸ“ƒΒ Vibration Motor

πŸ“ƒΒ RGB LED

πŸ“ƒΒ Devices

πŸ“ƒΒ PeekSmith

πŸ“ƒΒ SB Watch

πŸ“ƒΒ Bluetooth Keyboard

πŸ“ƒΒ Bluetooth Mouse

πŸ“ƒΒ Timers

πŸ“ƒΒ Database

πŸ“ƒΒ Events

πŸ“ƒΒ System (exit, sleep, rand)

πŸ“ƒΒ Objects (card, time)

Language

πŸ“ƒΒ Summary

πŸ“ƒΒ Comments

πŸ“ƒΒ Variable Declarations

πŸ“ƒΒ Operators

πŸ“ƒΒ Control Flow

πŸ“ƒΒ Functions

πŸ“ƒΒ Numbers

πŸ“ƒΒ Strings

πŸ“ƒΒ Arrays

πŸ“ƒΒ Objects

πŸ“ƒΒ Uint8Array