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/24 03:18] Mitch |
data-driven-system [2015/08/15 18:35] (current) Mitch |
||
---|---|---|---|
Line 11: | Line 11: | ||
The following file types make up the ParserMonster Framework Data-driven System: | The following file types make up the ParserMonster Framework Data-driven System: | ||
- | ===== Task Files ===== | + | ===== 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.) | ||
Line 22: | Line 22: | ||
- | ===== Constants, Flags and Variables | + | ===== Constant Files (cx*.txt) |
- | As you become more proficient with writing tasks and scripts, you'll want to explore [[parsermonster_constants|constants]], | + | As you become more proficient with writing tasks and scripts, you'll want to explore [[parsermonster_constants|constants]], |
- | ==== Constant Files ==== | + | You won't have access to most of the [[constantfiles|constant files]] maintained by ParserMonster. Constants are names for a number, a literal string, a formula or a state (** true ** / ** false **). It is easier to write [[longtime|$LongTime]] than **Hh:Nn:Ss ampm**) and it is nearly impossible to remember some of the really long values, such as the regular expression for something like $regexEmailAddress. |
- | You won't have access to most of the constant files maintained by ParserMonster. (you might see them in an Explorer window: they have a **cx-** prefix.) | + | ===== Data ===== |
- | ==== Flag Files ==== | + | These are //your// files. ParserMonster can read several types, in addition to all plain text files of which it is aware. To ensure |
- | + | * txt - Plain text | |
- | Flags are true/false variables that modify many different parts of the software. | + | * rtf - Rich text format (not always, though!) |
- | + | * doc - Microsoft Word format | |
- | ==== Headline ==== | + | * xls - Microsoft Excel format (except binary) |
- | + | * xml - XML format | |
- | Constants are short names for values | + | |
+ | 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. | ||
+ | (Note, due to the versatility of [[parsermonster_constants|cx- files]], the mapping may change in the future.) |