ZILF: Difference between revisions

From IFWiki

mNo edit summary
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Software infobox
{{Software infobox
|Type=Utility
|Type=Authoring system, Utility
|Developer=Jesse McGrew
|Style=Parser
|Utility description=ZIL compiler/tools
|Developer=Tara McGrew
|Home page=https://foss.heptapod.net/zilf/zilf
|Home page=https://foss.heptapod.net/zilf/zilf
|Format=Z-code
|Format=Z-code
|System=Windows, macOS, Linux
|System=Windows, macOS, Linux
|Version=0.9
|Date=2019/08/11
|Status=Stable
|License=GPL3
|Notes=A set of tools for working with the ZIL interactive fiction language, including a compiler, assembler, disassembler, and game library.
|Notes=A set of tools for working with the ZIL interactive fiction language, including a compiler, assembler, disassembler, and game library.
}}
}}
'''ZILF''' is an open-source [[ZIL]] [[compiler]], [[Z-machine]] [[assembler]], [[world model]], and related tools written by [[Jesse McGrew]]. ZILF has been said to stand for either ''Zork Implementation Language of the Future'' or ''The ZIL Implementation You Really, Really Like.'' It is written in C#, and runs under Windows, or under MacOS or Linux using Mono*. It takes ZIL [[source code]] and compiles it into [[Z-machine]] assembly code, which is then passed to [[ZAPF]] to make the final [[Z-code]] [[story file]].
'''ZILF''' is an open-source [[ZIL]] [[compiler]], [[Z-machine]] [[assembler]] ('''ZAPF'''), base library, and related tools written by [[Tara McGrew]]. ZILF has been said to stand for either ''Zork Implementation Language of the Future'' or ''The ZIL Implementation You Really, Really Like.'' It is written in C#, and runs under Windows, MacOS, or Linux. It takes ZIL [[source code]] and compiles it into [[Z-machine]] assembly code, which is then passed to ZAPF to make the final [[Z-code]] [[story file]].


Note: [https://foss.heptapod.net/zilf/zilf/-/releases/0.9 Zilf 0.9] does not require Mono for use with Linux. (Including RPi 4 64 bit Raspbian)
==ZAPF==
ZAPF (the ''Z-Machine Assembler Program of the Future'') is an attempt at reconstructing [[Infocom]]'s [[ZAP]]. Thus, by default, it uses instruction names and syntax that will be unfamiliar to [[Inform]] programmers. However, it supports both these classic (Infocom) and modern (Inform) instruction names and syntax.
 
; "Hello World" for ZAPF (V3)
GLOBAL::                        ; labels that must be defined
OBJECT::                        ;  even though this simple demo
WORDS::                        ;  doesn't use them
IMPURE::                        ; end of dynamic memory
VOCAB:: .BYTE 0,4,0,0          ; minimal dictionary
ENDLOD::                        ; end of low memory
        .FUNCT GO
START::                        ; entry point
        PRINTI "Hello, world!"
        CRLF
        QUIT                    ; game over once it returns
        .END                    ; end of input
 
===Links===
* [https://hansprestige.com/zapf/ ZAPF 0.1] (before ZILF, historical interest only)


{{DEFAULTSORT:Zilf}}
{{DEFAULTSORT:Zilf}}
[[Category:Z-machine]] [[Category:Infocom]]
[[Category:Z-machine]] [[Category:Infocom]]
{{software navbox}}
{{software navbox}}

Latest revision as of 05:12, 21 November 2024

ZILF
Authoring system, Utility
ZIL compiler/tools
[[File:|385px|center]]
Link Home page
Developer Tara McGrew
Format Z-code
Interaction style Parser
Systems Windows, macOS, Linux
System details
Latest version 0.9 / 11 Aug 2019
Status Stable
Implements
Uses


License GPL3
Notes A set of tools for working with the ZIL interactive fiction language, including a compiler, assembler, disassembler, and game library.
Browse the software database
Edit this infobox

ZILF is an open-source ZIL compiler, Z-machine assembler (ZAPF), base library, and related tools written by Tara McGrew. ZILF has been said to stand for either Zork Implementation Language of the Future or The ZIL Implementation You Really, Really Like. It is written in C#, and runs under Windows, MacOS, or Linux. It takes ZIL source code and compiles it into Z-machine assembly code, which is then passed to ZAPF to make the final Z-code story file.

ZAPF

ZAPF (the Z-Machine Assembler Program of the Future) is an attempt at reconstructing Infocom's ZAP. Thus, by default, it uses instruction names and syntax that will be unfamiliar to Inform programmers. However, it supports both these classic (Infocom) and modern (Inform) instruction names and syntax.

; "Hello World" for ZAPF (V3)

GLOBAL::                        ; labels that must be defined
OBJECT::                        ;   even though this simple demo
WORDS::                         ;   doesn't use them
IMPURE::                        ; end of dynamic memory
VOCAB:: .BYTE 0,4,0,0           ; minimal dictionary
ENDLOD::                        ; end of low memory

        .FUNCT GO
START::                         ; entry point
        PRINTI "Hello, world!"
        CRLF
        QUIT                    ; game over once it returns

        .END                    ; end of input

Links

  • ZAPF 0.1 (before ZILF, historical interest only)
Authoring systems
By style ParserChoiceParser-choice hybrid
By system BrowserAndroidiOSLinuxmacOSWindows
Browse Stable authoring systemsSearch formDrilldown
Other software InterpretersUtilities
Utilities
Browse Stable utilitiesSearch formDrilldown
Other software Authoring systemsInterpreters