ZZT-OOP: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Created page with "'''ZZT-OOP''' is the programming language used by Objects in ZZT. == Quirks == * While this is not officially documented, Scrolls also rely on the ZZT-...")
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''ZZT-OOP''' is the programming language used by [[Object|Objects]] in ZZT.
'''ZZT-OOP''' is the scripting language used by ZZT. Officially described as "a small object-oriented command language"<ref>Sweeney, Tim. (1991) "ZZT-OOP Programming Language".</ref>, it implements a message-based model for communicating between independent actors called [[Object|Objects]].


== Quirks ==
== Quirks ==


* While this is not officially documented, [[Scroll|Scrolls]] also rely on the ZZT-OOP parser to display messages and can thus execute commands.
* DEMO.ZZT claims that "[[Scrolls]] can contain text, interactive messages, or even complete programs!"<ref>Sweeney. (1991) ''Demo'', board 2. [https://museumofzzt.com/file/view/zzt/?file=DEMO.ZZT&board=2#17,10 Museum of ZZT]</ref> This is partially true. While scrolls can execute ZZT-OOP commands, they cannot perform any tasks that take longer than a single cycle, and there are some commands that outright crash ZZT if used by them.
 
== References ==
 
<references/>


{{ZZT-OOP navbox}}
{{ZZT-OOP navbox}}

Latest revision as of 18:39, 24 December 2025

ZZT-OOP is the scripting language used by ZZT. Officially described as "a small object-oriented command language"[1], it implements a message-based model for communicating between independent actors called Objects.

Quirks

  • DEMO.ZZT claims that "Scrolls can contain text, interactive messages, or even complete programs!"[2] This is partially true. While scrolls can execute ZZT-OOP commands, they cannot perform any tasks that take longer than a single cycle, and there are some commands that outright crash ZZT if used by them.

References

  1. Sweeney, Tim. (1991) "ZZT-OOP Programming Language".
  2. Sweeney. (1991) Demo, board 2. Museum of ZZT