Menu

Tree [r181] /
 History

HTTPS access


File Date Author Commit
 TODO 2009-06-10 pointlesscoding [r179] moved files into plr directory
 addLanguage.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 addTitle.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 apply_addLanguage.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 apply_edit.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 conf.py 2009-06-18 pointlesscoding [r181] changed conf.py data to point to new sourceforg...
 edit.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 launch.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 processAddTitle.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 readme 2009-06-10 pointlesscoding [r178] moved readme file as a test
 server.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 tools.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 trans.py 2009-06-10 pointlesscoding [r179] moved files into plr directory
 translator.xml 2009-06-10 pointlesscoding [r179] moved files into plr directory

Read Me

###############################################################################
## Data Format
###############################################################################

This is an example data file showing all 5 possible data types; input, output,
comments, links and entry breaks.  This is an example of a Python file so we'll
use Python style comments (##) to identify the 5 data types

<c>This is a comment</c>                      ## Comment
8 + 5                                         ## Input
>>> 13                                        ## Output
<a href="http://www.python.org">Python</a>    ## Link
<hr>                                          ## Entry break
def someFunc(a, b):
  c = a + b
  return a + c
someFunc(3, 5)
>>> 11

Comments:
  Comments can appear anywhere in the file (before, after or in the middle of
  input or output), but inline comments are not allowed.  A comment must be
  on a seperate line and prefixed with '<c>' and ending in '</c>'.

Input:
  Input is the only data type that does not have any prefix/suffix.  Input can
  span multiple lines and encompass multiple commands.  Blank lines are allowed
  but remember that all blank lines will be interpreted as input.

Output:
  Output is prefixed with '>>> '.  If the output spans multiple lines a
  seperate '>>> ' must preceed each line.

Link:
  Links are standard HTML links using <a href=""></a>.  Links are specific to
  an entry (meaning that if only the first entry is displayed, links in
  subsequent entries will not be shown) and should generally be the last items
  in an entry.

Entry Break:
  Each data file can hold multiple solutions to the same problem.  However it
  is not always desirable to show every possible solution to a problem.  Entry
  breaks allow the display program to display only the requested number of
  solutions.  The order of entries is important, the first entry is the
  cannocal entry and will be showed if only 1 entry is requested.  The goal of
  the first entry is to be easy to understand, not to be the shortest, fastest,
  most efficient, or most creative solution.