|
Revision 55, 0.8 kB
(checked in by simon, 5 years ago)
|
|
Outline of project.
|
| Line | |
|---|
| 1 | A project to convert wiki text from one format to another (possible non-wiki) |
|---|
| 2 | format. |
|---|
| 3 | |
|---|
| 4 | The basic processing model is: |
|---|
| 5 | |
|---|
| 6 | * Fetch data |
|---|
| 7 | - Retrieve data from URL or filename. |
|---|
| 8 | - Result is set of files. |
|---|
| 9 | * Pre-process |
|---|
| 10 | - Standardise wiki mark. |
|---|
| 11 | - Re-organise files (join, split, etc). |
|---|
| 12 | - Result is a set of page files (i.e. files represent one wiki page). |
|---|
| 13 | * Parse (to AST from original wiki format) |
|---|
| 14 | - Parse pages one at a time. |
|---|
| 15 | - Result is an AST represent the whole page set. |
|---|
| 16 | * Compile (from AST to new format) |
|---|
| 17 | - Write out file(s) from AST. |
|---|
| 18 | * Post-process |
|---|
| 19 | - Perform further processing on files written out (compiling LaTeX files to |
|---|
| 20 | PDF, etc). |
|---|
| 21 | |
|---|
| 22 | Import data objects are: |
|---|
| 23 | |
|---|
| 24 | * Page set. |
|---|
| 25 | * Page. |
|---|
| 26 | * Paragraph (with style). |
|---|
| 27 | * List (numbered or unnumbered). |
|---|
| 28 | * Character styles (applied to sets of characters). |
|---|
| 29 | |
|---|