Difference between revisions of "Frolg"

From IFWiki
Jump to: navigation, search
Line 5: Line 5:
 
* Dynamic fwords
 
* Dynamic fwords
 
* Z-machine versions 1 to 10 (including 6)
 
* Z-machine versions 1 to 10 (including 6)
* Standard library defines Infocom and Inform names, and a few other macros
+
* Standard library defines names of instructions, and a few other macros
 
* Optimal text packing algorithm
 
* Optimal text packing algorithm
 
* Multiple passes
 
* Multiple passes
Line 11: Line 11:
 
* Can define your own opcodes
 
* Can define your own opcodes
 
* Both relative and named (absolute) labels are supported
 
* Both relative and named (absolute) labels are supported
 
+
* Four character encodings: ASCII/ZSCII (the default), CP437/CP850, Windows-1252/ISO-8859-1, and UTF-8
These are some features which might be implemented in the future:
+
* COMPLIANT mode disables the text packing algorithm and enables the Unicode translation table
* Non-filter mode, where input/output filenames are specified using command-line parameters (doing this also enables a few other things)
+
* <tt>GRAHAM_NELSON</tt> command, to enable "Graham Nelson" mode which disables the text packing algorithm (and might do a few other things too, but I don't know yet)
+
* <tt>IFID</tt> command, to generate IFID and stores it in a file as well as the inline (non-filter mode is needed)
+
* Ability to create ZMETA records when in non-filter mode
+
* Macros definable using command-line switches
+
* Input character encoding setting
+
* Command to Z-encode an unpacked text which is already in memory or stack
+
  
 
== External resources ==
 
== External resources ==

Revision as of 00:02, 4 August 2013

Frolg is a Z-machine assembler written by User:Zzo38. It is written in C, and is licensed under GNU GPL 3 or later version.

Here is a list of some features:

  • Macros
  • Dynamic fwords
  • Z-machine versions 1 to 10 (including 6)
  • Standard library defines names of instructions, and a few other macros
  • Optimal text packing algorithm
  • Multiple passes
  • Long text entry
  • Can define your own opcodes
  • Both relative and named (absolute) labels are supported
  • Four character encodings: ASCII/ZSCII (the default), CP437/CP850, Windows-1252/ISO-8859-1, and UTF-8
  • COMPLIANT mode disables the text packing algorithm and enables the Unicode translation table

External resources

This article is a stub. You can help IFWiki by expanding it.