A new functionality is coming : parsing.

What is parsing ? and why ?

Parsing is useful when you have a structured plain text. Parsing comes in like a compiler and convert your plain text in an another format.
Parsing will be very useful if you have hundreds of plain text to transform. You will not do it by hands, because it will be terribly fastidious.

How does it works ?
You will have an editor to create a parser to parse specific files.
Second, you load the file and parse it with the selected parser and you get a new file format.

Below, statements are used in editor to make the parser properly functional.

Statements

Bypass until
Bypass until is a statement which wait for specific words. When, the process reads one of that words, next it executes a new procedure (a process).

Pass until
Pass until is a statement which stores what the process reads until specifics words. When, the process reach one of words, then it executes a new procedure (a process).

Bypass
Theses words are not used.

Pass
Words are used. The process usually stores it.

If {word} is recognized then goto x else goto y
This statement says if a word is recognized then the process go to the next label x. Here, you can increment a variable and add a conditional expression to go to a next label.

Label
Label is a name where the process goes as it is invoked earlier.

Next
For example, you can bypass all words until the first "Hello" in the file. And if the second word is "World", the statement Next is invoked. You can store the word in a variable and reuse it later or add a conditional expression to go to a new label.
You can add multiple Next statements with different words.

Start Recording
The process starts a recording from the file

Stop Recording
The process stops the recording. You can store the record and reuse it later.

Last edited Dec 21, 2014 at 8:14 PM by skercrow, version 3