Free Hero Mesh class definition file

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Mention the character encoding of this file)
Line 6: Line 6:
 
[[Category:Programming Languages]]
 
[[Category:Programming Languages]]
  
A Free Hero Mesh puzzle set consists of four files; this article is about the .class file, which contains the program codes implementing the rules of the game.
+
A [[Free Hero Mesh]] puzzle set consists of four files; this article is about the .class file, which contains the program codes implementing the rules of the game.
  
 
This file is a plain text file, with a somewhat [[Lisp]]-like format, describing the classes of objects, their attributes, and the code to implement their behaviours; however, the code implementing behaviours is stack-based, like [[Forth]] or [[PostScript]]. It also includes a macro preprocessor.
 
This file is a plain text file, with a somewhat [[Lisp]]-like format, describing the classes of objects, their attributes, and the code to implement their behaviours; however, the code implementing behaviours is stack-based, like [[Forth]] or [[PostScript]]. It also includes a macro preprocessor.
  
 
The character encoding is normally the PC character encoding ([[CP437]]); however, it is possible to declare the use of other IBM PC code pages other than 437 as well (see [[MS-DOS encodings]]). The <code>(CodePage)</code> block specifies the number of the code page to use; if it is omitted, then 437 is assumed by default.
 
The character encoding is normally the PC character encoding ([[CP437]]); however, it is possible to declare the use of other IBM PC code pages other than 437 as well (see [[MS-DOS encodings]]). The <code>(CodePage)</code> block specifies the number of the code page to use; if it is omitted, then 437 is assumed by default.

Revision as of 08:34, 11 October 2021

File Format
Name Free Hero Mesh class definition file
Ontology
Extension(s) .class

A Free Hero Mesh puzzle set consists of four files; this article is about the .class file, which contains the program codes implementing the rules of the game.

This file is a plain text file, with a somewhat Lisp-like format, describing the classes of objects, their attributes, and the code to implement their behaviours; however, the code implementing behaviours is stack-based, like Forth or PostScript. It also includes a macro preprocessor.

The character encoding is normally the PC character encoding (CP437); however, it is possible to declare the use of other IBM PC code pages other than 437 as well (see MS-DOS encodings). The (CodePage) block specifies the number of the code page to use; if it is omitted, then 437 is assumed by default.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox