summaryrefslogtreecommitdiff
path: root/etc/todo/www.demiurgo.org
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2008-01-07 14:17:43 +0000
committermurphy <murphy@rubychan.de>2008-01-07 14:17:43 +0000
commitbbbbc70a0b2efcd03bbcaf4e08ac139e7969e608 (patch)
tree8eb543ee3633ebedd3746b5557c77df0e8612a2a /etc/todo/www.demiurgo.org
parenta08d41bb16104ad52ecf612c81f75f531af87d25 (diff)
downloadcoderay-bbbbc70a0b2efcd03bbcaf4e08ac139e7969e608.tar.gz
Added etc/todo (scanner drafts) and two TextMate project files.
Diffstat (limited to 'etc/todo/www.demiurgo.org')
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/checkpoints/index.html11
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html17
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=D;O=A17
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=M;O=A17
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=N;O=D17
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=S;O=A17
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventories/index.html11
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventory17
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/patches/index.html18
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/prefs/index.html16
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/_darcs/pristine/index.html13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=A14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=D14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=A14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=D14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=A14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=D14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=A14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=D14
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=D;O=A12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=M;O=A12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=N;O=D12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=S;O=A12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/latex.rb79
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=D13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=D13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=D13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=D13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=D;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=M;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=N;O=D13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=S;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript.rb199
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript/index.html12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=A12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=D12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=A12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=D12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=A12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=D12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=A12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=D12
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/test/index.html13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=D;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=M;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=N;O=D13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=S;O=A13
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/test/test_javascript_scanner.rb104
-rwxr-xr-xetc/todo/www.demiurgo.org/darcs/coderay/test/test_latex_encoder.rb103
58 files changed, 1209 insertions, 0 deletions
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/checkpoints/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/checkpoints/index.html
new file mode 100755
index 0000000..a0a36d5
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/checkpoints/index.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs/checkpoints</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs/checkpoints</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/_darcs/">Parent Directory</a> -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html
new file mode 100755
index 0000000..f6a7303
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="checkpoints/">checkpoints/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="inventories/">inventories/</a> 23-Sep-2006 21:34 -
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="inventory">inventory</a> 28-Sep-2006 00:48 825
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="patches/">patches/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="prefs/">prefs/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="pristine/">pristine/</a> 23-Sep-2006 21:34 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=D;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=D;O=A
new file mode 100755
index 0000000..df9ef0b
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=D;O=A
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="checkpoints/">checkpoints/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="inventories/">inventories/</a> 23-Sep-2006 21:34 -
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="inventory">inventory</a> 28-Sep-2006 00:48 825
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="patches/">patches/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="prefs/">prefs/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="pristine/">pristine/</a> 23-Sep-2006 21:34 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=M;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=M;O=A
new file mode 100755
index 0000000..533958d
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=M;O=A
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="checkpoints/">checkpoints/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="inventories/">inventories/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="prefs/">prefs/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="pristine/">pristine/</a> 23-Sep-2006 21:34 -
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="inventory">inventory</a> 28-Sep-2006 00:48 825
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="patches/">patches/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=N;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=N;O=D
new file mode 100755
index 0000000..a175ae6
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=N;O=D
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="pristine/">pristine/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="prefs/">prefs/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="patches/">patches/</a> 28-Sep-2006 00:48 -
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="inventory">inventory</a> 28-Sep-2006 00:48 825
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="inventories/">inventories/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="checkpoints/">checkpoints/</a> 23-Sep-2006 21:34 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=S;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=S;O=A
new file mode 100755
index 0000000..0ac3f12
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/index.html@C=S;O=A
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="checkpoints/">checkpoints/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="inventories/">inventories/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="patches/">patches/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="prefs/">prefs/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="pristine/">pristine/</a> 23-Sep-2006 21:34 -
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="inventory">inventory</a> 28-Sep-2006 00:48 825
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventories/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventories/index.html
new file mode 100755
index 0000000..f6d1d38
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventories/index.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs/inventories</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs/inventories</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/_darcs/">Parent Directory</a> -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventory b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventory
new file mode 100755
index 0000000..a7a8470
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/inventory
@@ -0,0 +1,17 @@
+[First version
+zoso@foton.es**20060923203447] [Add :wrap option to the LaTeX encoder
+zoso@foton.es**20060924125211]
+[Remove all non-alphanumeric characters from LaTeX commands
+zoso@foton.es**20060924143810]
+[Use \synbs instead of $\backslash$, seems to work better in verbatim
+zoso@foton.es**20060924143837]
+[Add a very basic Javascript scanner (adapted Ruby scanner)
+zoso@foton.es**20060924154208]
+[Improve LaTeX special character escaping
+zoso@foton.es**20060927233750
+ * Rewrite Latex#escape_latex method, so it uses only one pass (avoids some
+ escape-the-already-escaped-characters problems and it's probably faster)
+ * Now backslashes are substituted by "\synbs{}", to avoid problems with letters
+ that could be just after the \synbs, turning it into another, undefined
+ command like "\synbsn" or something
+]
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/patches/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/patches/index.html
new file mode 100755
index 0000000..85ec1c7
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/patches/index.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs/patches</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs/patches</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/_darcs/">Parent Directory</a> -
+<img src="/icons/compressed.gif" alt="[CMP]" /> <a href="20060923203447-5140e-df04368a13906528ef99e9ab5718624532f05b31.gz">20060923203447-5140e-df04368a13906528ef99e9ab5718624532f05b31.gz</a> 23-Sep-2006 21:34 1.4K
+<img src="/icons/compressed.gif" alt="[CMP]" /> <a href="20060924125211-5140e-ea83d35d45314665af86e1bd2eeda952f953dd43.gz">20060924125211-5140e-ea83d35d45314665af86e1bd2eeda952f953dd43.gz</a> 24-Sep-2006 13:52 702
+<img src="/icons/compressed.gif" alt="[CMP]" /> <a href="20060924143810-5140e-a52edb9676be4736a6042e1607be7939e5ec3f28.gz">20060924143810-5140e-a52edb9676be4736a6042e1607be7939e5ec3f28.gz</a> 24-Sep-2006 15:39 250
+<img src="/icons/compressed.gif" alt="[CMP]" /> <a href="20060924143837-5140e-880669c10c7a8b9e8e601724eccce9fff3917f44.gz">20060924143837-5140e-880669c10c7a8b9e8e601724eccce9fff3917f44.gz</a> 24-Sep-2006 15:39 432
+<img src="/icons/compressed.gif" alt="[CMP]" /> <a href="20060924154208-5140e-8cc8c6fbe46d11ab2493b4206c8cc259c01bb883.gz">20060924154208-5140e-8cc8c6fbe46d11ab2493b4206c8cc259c01bb883.gz</a> 24-Sep-2006 16:58 3.3K
+<img src="/icons/compressed.gif" alt="[CMP]" /> <a href="20060927233750-5140e-589da45a369c268f1acb9fad63e9e3f3c8dd01b8.gz">20060927233750-5140e-589da45a369c268f1acb9fad63e9e3f3c8dd01b8.gz</a> 28-Sep-2006 00:48 795
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="pending">pending</a> 28-Sep-2006 00:48 4
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/prefs/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/prefs/index.html
new file mode 100755
index 0000000..5288084
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/prefs/index.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs/prefs</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs/prefs</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/_darcs/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="binaries">binaries</a> 23-Sep-2006 21:34 395
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="boring">boring</a> 23-Sep-2006 21:34 534
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="defaultrepo">defaultrepo</a> 23-Sep-2006 21:34 28
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="motd">motd</a> 23-Sep-2006 21:34 0
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="repos">repos</a> 23-Sep-2006 21:34 28
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/pristine/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/pristine/index.html
new file mode 100755
index 0000000..14bd055
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/_darcs/pristine/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/_darcs/pristine</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/_darcs/pristine</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/_darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/index.html
new file mode 100755
index 0000000..d1b3aec
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=A
new file mode 100755
index 0000000..3cc4074
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=A
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=D
new file mode 100755
index 0000000..8f9e380
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=D;O=D
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=A
new file mode 100755
index 0000000..9606f9a
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=A
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=D
new file mode 100755
index 0000000..00a778c
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=M;O=D
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=A
new file mode 100755
index 0000000..d1b3aec
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=A
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=D
new file mode 100755
index 0000000..8f9e380
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=N;O=D
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=A
new file mode 100755
index 0000000..a191676
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=A
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=D
new file mode 100755
index 0000000..8f9e380
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/index.html@C=S;O=D
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="test/">test/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="lib/">lib/</a> 23-Sep-2006 21:34 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="_darcs/">_darcs/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html
new file mode 100755
index 0000000..7ebac3a
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/encoders</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/encoders</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="latex.rb">latex.rb</a> 28-Sep-2006 00:48 1.4K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=D;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=D;O=A
new file mode 100755
index 0000000..7c7a8c4
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=D;O=A
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/encoders</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/encoders</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="latex.rb">latex.rb</a> 28-Sep-2006 00:48 1.4K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=M;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=M;O=A
new file mode 100755
index 0000000..9d9cd59
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=M;O=A
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/encoders</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/encoders</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="latex.rb">latex.rb</a> 28-Sep-2006 00:48 1.4K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=N;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=N;O=D
new file mode 100755
index 0000000..339f519
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=N;O=D
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/encoders</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/encoders</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="latex.rb">latex.rb</a> 28-Sep-2006 00:48 1.4K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=S;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=S;O=A
new file mode 100755
index 0000000..0d5687f
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/index.html@C=S;O=A
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/encoders</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/encoders</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="latex.rb">latex.rb</a> 28-Sep-2006 00:48 1.4K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/latex.rb b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/latex.rb
new file mode 100755
index 0000000..0a54872
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/encoders/latex.rb
@@ -0,0 +1,79 @@
+module CodeRay
+module Encoders
+
+ # = LaTeX Encoder
+ #
+ # Encoder producing LaTeX.
+ class Latex < Encoder
+
+ include Streamable
+ register_for :latex
+
+ FILE_EXTENSION = 'tex'
+
+ DEFAULT_OPTIONS = {
+ :wrap => true,
+ }
+
+ protected
+ def text_token text, kind
+ @out <<
+ if kind == :space
+ text
+ else
+ text = escape_latex(text)
+ "\\syn#{kind_to_command(kind)}{#{text}}"
+ end
+ end
+
+ def block_token action, kind
+ @out << super
+ end
+
+ def open_token kind
+ "\\syn#{kind_to_command(kind)}{"
+ end
+
+ def close_token kind
+ "}"
+ end
+
+ def kind_to_command kind
+ kind.to_s.gsub(/[^a-z0-9]/i, '').to_sym
+ end
+
+ def finish options
+ case options[:wrap]
+ when true, 1, :semiverbatim
+ @out = "\\begin{semiverbatim}\n#{@out}\n\\end{semiverbatim}\n"
+ when false, 0
+ # Nothing to do
+ else
+ raise ArgumentError, "Unknown :wrap option: '#{options[:wrap]}'"
+ end
+
+ super
+ end
+
+ # Escape text so it's interpreted literally by LaTeX compilers
+ def escape_latex string
+ string.to_s.gsub(/[$\\{}_%#&~^"]/) do |s|
+ case s
+ when '$'
+ '\$'
+ when '\\'
+ '\synbs{}'
+ when /[{}_%#&]/
+ "\\#{s}"
+ when /[~^]/
+ "\\#{s}{}"
+ when '"'
+ '"{}'
+ end
+ end
+ end
+
+ end
+
+end
+end
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html
new file mode 100755
index 0000000..a23f094
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=A
new file mode 100755
index 0000000..9c255dc
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=D
new file mode 100755
index 0000000..79e6552
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=D;O=D
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=A
new file mode 100755
index 0000000..36ef38c
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=D
new file mode 100755
index 0000000..55e3bee
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=M;O=D
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=A
new file mode 100755
index 0000000..a23f094
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=D
new file mode 100755
index 0000000..79e6552
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=N;O=D
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=A
new file mode 100755
index 0000000..00c2252
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=D
new file mode 100755
index 0000000..79e6552
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/index.html@C=S;O=D
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="scanners/">scanners/</a> 24-Sep-2006 16:58 -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="encoders/">encoders/</a> 28-Sep-2006 00:48 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html
new file mode 100755
index 0000000..a35fdd7
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/scanners</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/scanners</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="javascript.rb">javascript.rb</a> 24-Sep-2006 16:58 5.5K
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="javascript/">javascript/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=D;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=D;O=A
new file mode 100755
index 0000000..9b896d4
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=D;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/scanners</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/scanners</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="javascript.rb">javascript.rb</a> 24-Sep-2006 16:58 5.5K
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="javascript/">javascript/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=M;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=M;O=A
new file mode 100755
index 0000000..6860db0
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=M;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/scanners</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/scanners</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="javascript.rb">javascript.rb</a> 24-Sep-2006 16:58 5.5K
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="javascript/">javascript/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=N;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=N;O=D
new file mode 100755
index 0000000..e34a9bd
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=N;O=D
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/scanners</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/scanners</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="javascript/">javascript/</a> 24-Sep-2006 16:58 -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="javascript.rb">javascript.rb</a> 24-Sep-2006 16:58 5.5K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=S;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=S;O=A
new file mode 100755
index 0000000..a92141d
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/index.html@C=S;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/scanners</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/scanners</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="javascript/">javascript/</a> 24-Sep-2006 16:58 -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="javascript.rb">javascript.rb</a> 24-Sep-2006 16:58 5.5K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript.rb b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript.rb
new file mode 100755
index 0000000..da67084
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript.rb
@@ -0,0 +1,199 @@
+module CodeRay
+module Scanners
+
+ # Basic Javascript scanner
+ class Javascript < Scanner
+
+ include Streamable
+
+ register_for :javascript
+
+ helper :patterns
+
+ DEFAULT_OPTIONS = {
+ }
+
+ private
+ def scan_tokens tokens, options
+ first_bake = saved_tokens = nil
+ last_token_dot = false
+ last_state = nil
+ state = :initial
+ depth = nil
+ inline_block_stack = []
+
+ patterns = Patterns # avoid constant lookup
+
+ until eos?
+ match = nil
+ kind = nil
+
+ if state.instance_of? patterns::StringState
+# {{{
+ match = scan_until(state.pattern) || scan_until(/\z/)
+ tokens << [match, :content] unless match.empty?
+ break if eos?
+
+ case match = getch
+
+ when state.delim
+ if state.paren
+ state.paren_depth -= 1
+ if state.paren_depth > 0
+ tokens << [match, :nesting_delimiter]
+ next
+ end
+ end
+ tokens << [match, :delimiter]
+ tokens << [:close, state.type]
+ state = state.next_state
+
+ when '\\'
+ if state.interpreted
+ if esc = scan(/ #{patterns::ESCAPE} /ox)
+ tokens << [match + esc, :char]
+ else
+ tokens << [match, :error]
+ end
+ else
+ case m = getch
+ when state.delim, '\\'
+ tokens << [match + m, :char]
+ when nil
+ tokens << [match, :error]
+ else
+ tokens << [match + m, :content]
+ end
+ end
+
+ when '#'
+ case peek(1)[0]
+ when ?{
+ inline_block_stack << [state, depth]
+ state = :initial
+ depth = 1
+ tokens << [:open, :inline]
+ tokens << [match + getch, :delimiter]
+ when ?$, ?@
+ tokens << [match, :escape]
+ last_state = state # scan one token as normal code, then return here
+ state = :initial
+ else
+ raise_inspect 'else-case # reached; #%p not handled' % peek(1), tokens
+ end
+
+ when state.paren
+ state.paren_depth += 1
+ tokens << [match, :nesting_delimiter]
+
+ else
+ raise_inspect 'else-case " reached; %p not handled, state = %p' % [match, state], tokens
+
+ end
+ next
+# }}}
+ else
+# {{{
+ if match = scan(/ [ \t\f]+ | \\? \n | \# .* /x)
+ case m = match[0]
+ when ?\s, ?\t, ?\f
+ match << scan(/\s*/) unless eos?
+ kind = :space
+ when ?\n, ?\\
+ kind = :space
+ match << scan(/\s*/) unless eos?
+ when ?#, ?=, ?_
+ kind = :comment
+ else
+ raise_inspect 'else-case _ reached, because case %p was not handled' % [matched[0].chr], tokens
+ end
+ tokens << [match, kind]
+ next
+
+ elsif state == :initial
+
+ # IDENTS #
+ if match = scan(/#{patterns::METHOD_NAME}/o)
+ kind = last_token_dot ? :ident :
+ patterns::IDENT_KIND[match]
+
+ # OPERATORS #
+ elsif (not last_token_dot and match = scan(/ ==?=? | \.\.?\.? | [\(\)\[\]\{\}] | :: | , /x)) or
+ (last_token_dot and match = scan(/#{patterns::METHOD_NAME_OPERATOR}/o))
+ last_token_dot = :set if match == '.' or match == '::'
+ kind = :operator
+ unless inline_block_stack.empty?
+ case match
+ when '{'
+ depth += 1
+ when '}'
+ depth -= 1
+ if depth == 0 # closing brace of inline block reached
+ state, depth = inline_block_stack.pop
+ tokens << [match, :delimiter]
+ kind = :inline
+ match = :close
+ end
+ end
+ end
+
+ elsif match = scan(/ ['"] /mx)
+ tokens << [:open, :string]
+ kind = :delimiter
+ state = patterns::StringState.new :string, match == '"', match # important for streaming
+
+ elsif match = scan(/#{patterns::NUMERIC}/o)
+ kind = if self[1] then :float else :integer end
+
+ elsif match = scan(/ \+\+ | -- | << | >> /x)
+ kind = :operator
+
+ elsif match = scan(/ [-+!~^]=? | [*|&]{1,2}=? | >>? /x)
+ kind = :operator
+
+ elsif match = scan(/ [\/%]=? | <(?:<|=>?)? | [?:;] /x)
+ kind = :operator
+
+ else
+ kind = :error
+ match = getch
+
+ end
+
+ end
+# }}}
+
+ last_token_dot = last_token_dot == :set
+
+ if $DEBUG and not kind
+ raise_inspect 'Error token %p in line %d' %
+ [[match, kind], line], tokens, state
+ end
+ raise_inspect 'Empty token', tokens unless match
+
+ tokens << [match, kind]
+
+ if last_state
+ state = last_state
+ last_state = nil
+ end
+ end
+ end
+
+ inline_block_stack << [state] if state.is_a? patterns::StringState
+ until inline_block_stack.empty?
+ this_block = inline_block_stack.pop
+ tokens << [:close, :inline] if this_block.size > 1
+ state = this_block.first
+ tokens << [:close, state.type]
+ end
+
+ tokens
+ end
+
+ end
+
+end
+end
+
+# vim:fdm=marker
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript/index.html
new file mode 100755
index 0000000..9a3769c
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/coderay/scanners/javascript/index.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib/coderay/scanners/javascript</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib/coderay/scanners/javascript</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/lib/coderay/scanners/">Parent Directory</a> -
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="patterns.rb">patterns.rb</a> 24-Sep-2006 16:58 2.5K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html
new file mode 100755
index 0000000..af2e071
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=A
new file mode 100755
index 0000000..6c8f2f8
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=A
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=D
new file mode 100755
index 0000000..80551b7
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=D;O=D
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=A
new file mode 100755
index 0000000..27bdbd0
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=A
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=D
new file mode 100755
index 0000000..80551b7
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=M;O=D
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=A
new file mode 100755
index 0000000..af2e071
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=A
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=D
new file mode 100755
index 0000000..80551b7
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=N;O=D
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=A
new file mode 100755
index 0000000..224354b
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=A
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=D
new file mode 100755
index 0000000..80551b7
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/lib/index.html@C=S;O=D
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/lib</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/lib</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/folder.gif" alt="[DIR]" /> <a href="coderay/">coderay/</a> 24-Sep-2006 16:58 -
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html
new file mode 100755
index 0000000..8d79e63
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/test</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/test</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="test_javascript_scanner.rb">test_javascript_scanner.rb</a> 24-Sep-2006 16:58 3.9K
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="test_latex_encoder.rb">test_latex_encoder.rb</a> 28-Sep-2006 00:48 4.0K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=D;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=D;O=A
new file mode 100755
index 0000000..d3e4481
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=D;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/test</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/test</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="test_javascript_scanner.rb">test_javascript_scanner.rb</a> 24-Sep-2006 16:58 3.9K
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="test_latex_encoder.rb">test_latex_encoder.rb</a> 28-Sep-2006 00:48 4.0K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=M;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=M;O=A
new file mode 100755
index 0000000..0fa49ac
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=M;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/test</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/test</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="test_javascript_scanner.rb">test_javascript_scanner.rb</a> 24-Sep-2006 16:58 3.9K
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="test_latex_encoder.rb">test_latex_encoder.rb</a> 28-Sep-2006 00:48 4.0K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=N;O=D b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=N;O=D
new file mode 100755
index 0000000..81f5381
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=N;O=D
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/test</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/test</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="test_latex_encoder.rb">test_latex_encoder.rb</a> 28-Sep-2006 00:48 4.0K
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="test_javascript_scanner.rb">test_javascript_scanner.rb</a> 24-Sep-2006 16:58 3.9K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=S;O=A b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=S;O=A
new file mode 100755
index 0000000..fd7e1e9
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/test/index.html@C=S;O=A
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+ <head>
+ <title>Index of /darcs/coderay/test</title>
+ </head>
+ <body>
+<h1>Index of /darcs/coderay/test</h1>
+<pre><img src="/icons/blank.gif" alt="Icon " /> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr /><img src="/icons/back.gif" alt="[DIR]" /> <a href="/darcs/coderay/">Parent Directory</a> -
+<img src="/icons/unknown.gif" alt="[ ]" /> <a href="test_javascript_scanner.rb">test_javascript_scanner.rb</a> 24-Sep-2006 16:58 3.9K
+<img src="/icons/text.gif" alt="[TXT]" /> <a href="test_latex_encoder.rb">test_latex_encoder.rb</a> 28-Sep-2006 00:48 4.0K
+<hr /></pre>
+<address>Apache/2.0.46 (CentOS) Server at www.demiurgo.org Port 80</address>
+</body></html>
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/test/test_javascript_scanner.rb b/etc/todo/www.demiurgo.org/darcs/coderay/test/test_javascript_scanner.rb
new file mode 100755
index 0000000..e1bfe70
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/test/test_javascript_scanner.rb
@@ -0,0 +1,104 @@
+require 'test/unit'
+require 'coderay'
+
+class TC_Latex_Encoder < Test::Unit::TestCase
+ def setup
+ CodeRay::Encoders.plugin_path 'lib/coderay/encoders'
+ @enc = CodeRay::Encoders[:latex].new
+ end
+
+
+ def test_simple
+ source_text = <<EOD
+function update_stars(num)
+{
+ for (var i = 0; i < 10; ++i) {
+ var star = $("star"+(i+1));
+ if (i < num) {
+ if (! star.visible()) {
+ Effect.Appear(star);
+ }
+ } else {
+ if (star.visible()) {
+ Effect.Fade(star);
+ }
+ }
+ }
+}
+EOD
+ expected = [["function", :reserved],[" ", :space],["update_stars", :ident],
+ ["(", :operator], ["num", :ident], [")", :operator],
+ ["\n", :space],
+ ["{", :operator],
+ ["\n ", :space],
+ ["for", :reserved], [" ", :space],
+ ["(", :operator], ["var", :reserved], [" ", :space],
+ ["i", :ident],[" ", :space], ["=", :operator], [" ", :space],
+ ["0", :integer],
+ [";", :operator],
+ [" ", :space], ["i", :ident], [" ", :space],
+ ["<", :operator], [" ", :space], ["10", :integer],
+ [";", :operator],
+ [" ", :space], ["++", :operator], ["i", :ident],
+ [")", :operator], [" ", :space], ["{", :operator],
+ ["\n ", :space],
+ ["var", :reserved], [" ", :space], ["star", :ident],
+ [" ", :space], ["=", :operator], [" ", :space],
+ ["$", :ident], ["(", :operator],
+ [:open, :string], ["\"", :delimiter], ["star", :content],
+ ["\"", :delimiter], [:close, :string],
+ ["+", :operator],
+ ["(", :operator], ["i", :ident], ["+", :operator],
+ ["1", :integer], [")", :operator],
+ [")", :operator],
+ [";", :operator],
+ ["\n ", :space],
+ ["if", :reserved], [" ", :space],
+ ["(", :operator], ["i", :ident], [" ", :space],
+ ["<", :operator], [" ", :space], ["num", :ident],
+ [")", :operator], [" ", :space], ["{", :operator],
+ ["\n ", :space],
+ ["if", :reserved], [" ", :space],
+ ["(", :operator], ["!", :operator], [" ", :space],
+ ["star", :ident], [".", :operator], ["visible", :ident],
+ ["(", :operator], [")", :operator], [")", :operator],
+ [" ", :space],
+ ["{", :operator],
+ ["\n ", :space],
+ ["Effect", :ident], [".", :operator], ["Appear", :ident],
+ ["(", :operator], ["star", :ident], [")", :operator],
+ [";", :operator], ["\n ", :space],
+ ["}", :operator],
+ ["\n ", :space],
+ ["}", :operator],
+ [" ", :space], ["else", :reserved], [" ", :space],
+ ["{", :operator],
+ ["\n ", :space],
+ ["if", :reserved], [" ", :space],
+ ["(", :operator], ["star", :ident], [".", :operator],
+ ["visible", :ident], ["(", :operator], [")", :operator],
+ [")", :operator],
+ [" ", :space],
+ ["{", :operator],
+ ["\n ", :space],
+ ["Effect", :ident], [".", :operator], ["Fade", :ident],
+ ["(", :operator], ["star", :ident], [")", :operator],
+ [";", :operator],
+ ["\n ", :space],
+ ["}", :operator],
+ ["\n ", :space],
+ ["}", :operator],
+ ["\n ", :space],
+ ["}", :operator],
+ ["\n", :space],
+ ["}", :operator],
+ ["\n", :space]]
+ symbol_list = CodeRay.scan(source_text, :javascript)
+ assert_equal(expected, symbol_list)
+ end
+
+
+ def teardown
+ @enc = nil
+ end
+end
diff --git a/etc/todo/www.demiurgo.org/darcs/coderay/test/test_latex_encoder.rb b/etc/todo/www.demiurgo.org/darcs/coderay/test/test_latex_encoder.rb
new file mode 100755
index 0000000..686aa38
--- /dev/null
+++ b/etc/todo/www.demiurgo.org/darcs/coderay/test/test_latex_encoder.rb
@@ -0,0 +1,103 @@
+require 'test/unit'
+require 'coderay'
+
+class TC_Latex_Encoder < Test::Unit::TestCase
+ def setup
+ CodeRay::Encoders.plugin_path 'lib/coderay/encoders'
+ @enc = CodeRay::Encoders[:latex].new
+ end
+
+
+ def test_escape_latex
+ tests = {"I have $30, and new\\\nline" => "I have \\$30, and new\\synbs{}\nline",
+ 'I like "clean & simple" things just best than {obscure,complicated}' => 'I like "{}clean \& simple"{} things just best than \{obscure,complicated\}',
+ "The string '\\'' is valid... in C" => "The string '\\synbs{}'' is valid... in C",
+ "Escape dollars as \\$, and continue line, backslash at the end, like so: \\\n" => "Escape dollars as \\synbs{}\\$, and continue line, backslash at the end, like so: \\synbs{}\n",
+ "Perl: $foo{some_key} =~ /^#.*$/" => "Perl: \\$foo\\{some\\_key\\} =\\~{} /\\^{}\\#.*\\$/",
+ "Double backslash escaping: \\\\" => "Double backslash escaping: \\synbs{}\\synbs{}",
+ "\"Some\nmultiline\nstring\"" => "\"{}Some\nmultiline\nstring\"{}",
+ "printf(\"Hello, World\\n\");" => "printf(\"{}Hello, World\\synbs{}n\"{});"}
+ tests.each_pair do |k,v|
+ assert_equal(v, @enc.send(:escape_latex, k))
+ end
+ end
+
+
+ def test_simple
+ source_text = <<EOD
+require 'coderay'
+
+# scan some code
+tokens = CodeRay.scan('some_file.rb', :ruby)
+
+# dump using LaTeX
+puts tokens.latex
+EOD
+ expected = [["require", :ident], [" ", :space], [:open, :string],
+ ["'", :delimiter], ["coderay", :content], ["'", :delimiter],
+ [:close, :string], ["\n\n", :space],
+ ["# scan some code", :comment], ["\n", :space],
+ ["tokens", :ident], [" ", :space], ["=", :operator],
+ [" ", :space], ["CodeRay", :constant], [".", :operator],
+ ["scan", :ident], ["(", :operator], [:open, :string],
+ ["'", :delimiter], ["some_file.rb", :content],
+ ["'", :delimiter], [:close, :string], [",", :operator],
+ [" ", :space], [":ruby", :symbol], [")", :operator],
+ ["\n\n", :space], ["# dump using LaTeX", :comment],
+ ["\n", :space], ["puts", :ident], [" ", :space],
+ ["tokens", :ident], [".", :operator], ["latex", :ident],
+ ["\n", :space]]
+ symbol_list = CodeRay.scan(source_text, :ruby)
+ assert_equal(expected, symbol_list)
+
+ expected_latex = <<'EOD'
+\begin{semiverbatim}
+\synident{require} \synstring{\syndelimiter{'}\syncontent{coderay}\syndelimiter{'}}
+
+\syncomment{\# scan some code}
+\synident{tokens} \synoperator{=} \synconstant{CodeRay}\synoperator{.}\synident{scan}\synoperator{(}\synstring{\syndelimiter{'}\syncontent{some\_file.rb}\syndelimiter{'}}\synoperator{,} \synsymbol{:ruby}\synoperator{)}
+
+\syncomment{\# dump using LaTeX}
+\synident{puts} \synident{tokens}\synoperator{.}\synident{latex}
+
+\end{semiverbatim}
+EOD
+ assert_equal(expected_latex, symbol_list.latex)
+ end
+
+ def test_wrap
+ source_text = <<EOD
+require 'coderay'
+
+# scan some code
+tokens = CodeRay.scan('some_file.rb', :ruby)
+
+# dump using LaTeX
+puts tokens.latex
+EOD
+
+ expected_latex = <<'EOD'
+\synident{require} \synstring{\syndelimiter{'}\syncontent{coderay}\syndelimiter{'}}
+
+\syncomment{\# scan some code}
+\synident{tokens} \synoperator{=} \synconstant{CodeRay}\synoperator{.}\synident{scan}\synoperator{(}\synstring{\syndelimiter{'}\syncontent{some\_file.rb}\syndelimiter{'}}\synoperator{,} \synsymbol{:ruby}\synoperator{)}
+
+\syncomment{\# dump using LaTeX}
+\synident{puts} \synident{tokens}\synoperator{.}\synident{latex}
+EOD
+ expected_latex2 = <<EOD
+\\begin{semiverbatim}
+#{expected_latex}
+\\end{semiverbatim}
+EOD
+ symbols = CodeRay.scan(source_text, :ruby)
+ assert_equal(expected_latex, symbols.latex(:wrap => false))
+ assert_equal(expected_latex2, symbols.latex)
+ assert_equal(expected_latex2, symbols.latex(:wrap => true))
+ assert_equal(expected_latex2, symbols.latex(:wrap => :semiverbatim))
+ end
+
+ def teardown
+ @enc = nil
+ end
+end