Misplaced Pages

GameMonkey Script

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help improve this article by introducing more precise citations. (May 2010) (Learn how and when to remove this message)
The topic of this article may not meet Misplaced Pages's general notability guideline. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.
Find sources: "GameMonkey Script" – news · newspapers · books · scholar · JSTOR (February 2019) (Learn how and when to remove this message)
(Learn how and when to remove this message)

GameMonkey Script is a small, cross-platform scripting language designed for embedding into games. GameMonkey bears many similarities to Lua, except the syntax is more similar to that of C.

History

GameMonkey Script was written in 2002 by Matthew Riek and Greg Douglas as part of a closed-source project for Auran Development. However, on 12 June 2003 Auran granted license for the full source code of GameMonkey to be released to the public under the MIT License. It is currently being used in commercial and hobby applications on a wide range of machines, from the Windows PC, Apple Mac, and Microsoft Xbox to Sony's PlayStation 2, PlayStation 3, Nintendo GameCube, Nintendo DS, Nintendo Wii and various distributions of Linux.

Features

  • A cross-platform machine library
  • C-style syntax
  • A small memory footprint (~50 KB)
  • Soft, real-time incremental garbage collection (no reference counting)
  • Native threading
  • Full implementation of states
  • Simple binding with C++ code
  • Debugger support (with supplied debugger)

Like Lua, the primary data structure in GameMonkey Script is the table. Tables allow for a variety of other data structures to be created; from arrays, sets, hashmaps, lists and records. They can also be used to simulate namespaces and C++ class structures, containing both functions and properties.

External links

Categories: