This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
data-driven-system [2014/08/18 21:34] Mitch [Variables] |
data-driven-system [2015/08/15 18:35] (current) Mitch |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ParserMonster Framework Data-driven System ====== | ====== ParserMonster Framework Data-driven System ====== | ||
- | The ParserMonster Framework derives much of its flexibility from plain old text files! | + | The ParserMonster Framework derives much of its flexibility from plain old text and image files! |
- | Of course, these files have special instructions but, the point is that you can drastically alter the behavior of any program based on the ParserMonster Framework. | + | |
- | ===== Task Files ===== | + | Some of them are read-only, embedded files. They never change unless you receive an update. |
+ | |||
+ | Others are read-write, which means that you can edit them. | ||
+ | |||
+ | Finally, you can create your own. If you follow the correct syntax, you can extend the ParserMonster Framework with customized data. | ||
+ | |||
+ | The following file types make up the ParserMonster Framework Data-driven System: | ||
+ | |||
+ | ===== Task Files (*.task) | ||
The most visible of these files is the [[taskfiles|Task file]]. It contains the [[ParserMonster Commands|commands]] and [[ParserMonster Directives|directives]] that make the framework come to life. Naturally, the more task files you have, the more powerful your program becomes. If you learn to write your own tasks, you may not have buy more than one ParserMonster-based product! (The obvious corollary is that, yes, you can mix and match tasks - as long as they are not embedded in the program package.) | The most visible of these files is the [[taskfiles|Task file]]. It contains the [[ParserMonster Commands|commands]] and [[ParserMonster Directives|directives]] that make the framework come to life. Naturally, the more task files you have, the more powerful your program becomes. If you learn to write your own tasks, you may not have buy more than one ParserMonster-based product! (The obvious corollary is that, yes, you can mix and match tasks - as long as they are not embedded in the program package.) | ||
===== Task Icon Files ===== | ===== Task Icon Files ===== | ||
- | The [[taskicons|icons]] associated with task files get honorable mention in this group, because | + | The [[iconfiles|icons]] associated with task files are read-only, but you can add your own. |
===== Script Files ===== | ===== Script Files ===== | ||
- | Once you've played | + | [[scriptfiles|Script files]] are task files with super powers. |
+ | |||
+ | |||
+ | ===== Constant Files (cx*.txt) ===== | ||
+ | As you become more proficient | ||
+ | |||
+ | You won't have access | ||
- | ===== Variables | + | ===== Data ===== |
- | As you become more proficient with writing tasks and scripts, you'll want to explore [[parsermonster_flags|flags]] and [[parsermonster_constants|constants]]. | + | These are //your// files. ParserMonster can read several types, in addition |
+ | * txt - Plain text | ||
+ | * rtf - Rich text format (not always, though!) | ||
+ | * doc - Microsoft Word format | ||
+ | * xls - Microsoft Excel format (except binary) | ||
+ | * xml - XML format | ||
- | Flags are true/false variables that modify many different parts of the software. | + | ParserMonster has a predefined list of [[Recognized Filetypes|recognized filetypes]]. If you need to extend or override this list, just create a [[parsermonster_constants|cx- file]] with your own mappings. |
- | Constants are short names for values that never change. | + | (Note, due to the versatility of [[parsermonster_constants|cx- files]], the mapping may change in the future.) |