Magik (programming language)

Magik is an object-oriented programming language that supports multiple inheritance and polymorphism, and it is dynamically typed.

The Magik virtual machine is available on several platforms including Microsoft Windows, various flavours of Unix and Linux.

Magik is console based and code can be modified on the fly even when an application is running.

Magik also supports a compressed variation of this operator that works in a similar way to those found in C: To print a variable you can use the following command As well as conventional data types such as integers, floats and strings Magik also implements symbols.

Symbols are a special token data type that are used extensively throughout Magik to uniquely identify objects.

Magik supports multiple inheritance, and mixins (which implement functionality with no data).

Optional arguments that are not passed are assigned by Magik to the special object _unset (the equivalent of null).

New iterator methods can be defined using the _iter and _loopbody statements: Magik also supports functions called procedures.

Procedures are assigned to variables which may then be invoked: Magik supports // regular expression syntax: and to capture groups in Regex: Magik supports making HTTP or HTTPS requests via http library, see below examples: Because Magik was originally developed in England, methods in the core smallworld libraries are spelled using British English.