Popular recipes tagged "trac"http://code.activestate.com/recipes/tags/trac/popular/2010-09-20T01:16:07-07:00ActiveState Code RecipesTRAC Interpreter -- Sixties programming language (Python)
2010-08-22T19:05:09-07:00Jack Trainorhttp://code.activestate.com/recipes/users/4076953/http://code.activestate.com/recipes/577366-trac-interpreter-sixties-programming-language/
<p style="color: grey">
Python
recipe 577366
by <a href="/recipes/users/4076953/">Jack Trainor</a>
(<a href="/recipes/tags/algorithm/">algorithm</a>, <a href="/recipes/tags/educational/">educational</a>, <a href="/recipes/tags/interpreter/">interpreter</a>, <a href="/recipes/tags/language/">language</a>, <a href="/recipes/tags/trac/">trac</a>).
</p>
<p>A Python implementation of an interpreter for the TRAC programming language developed by Calvin Mooers in the early 1960s. This implementation reconstructs Mooers' original algorithm in Python and supports only a limited number of TRAC primitives for demonstration purposes.</p>
TRAC Interpreter - Dragon style (Python)
2010-09-20T00:42:21-07:00Jack Trainorhttp://code.activestate.com/recipes/users/4076953/http://code.activestate.com/recipes/577396-trac-interpreter-dragon-style/
<p style="color: grey">
Python
recipe 577396
by <a href="/recipes/users/4076953/">Jack Trainor</a>
(<a href="/recipes/tags/algorithm/">algorithm</a>, <a href="/recipes/tags/educational/">educational</a>, <a href="/recipes/tags/interpreter/">interpreter</a>, <a href="/recipes/tags/language/">language</a>, <a href="/recipes/tags/lexical_analyzer/">lexical_analyzer</a>, <a href="/recipes/tags/trac/">trac</a>).
</p>
<p>I've rewritten the TRAC interpreter from <a href="http://code.activestate.com/recipes/577366/">Recipe 577366</a> using a modern recursive descent style based on the Dragon book's lexer/parser model at the end of "Compliers: Principles, Techniques and Tools," Chapter 2, by Aho, Sethi, Ullman (1986).</p>
TRAC Interpreter - Class and Stack version (Python)
2010-09-20T01:16:07-07:00Jack Trainorhttp://code.activestate.com/recipes/users/4076953/http://code.activestate.com/recipes/577397-trac-interpreter-class-and-stack-version/
<p style="color: grey">
Python
recipe 577397
by <a href="/recipes/users/4076953/">Jack Trainor</a>
(<a href="/recipes/tags/algorithm/">algorithm</a>, <a href="/recipes/tags/educational/">educational</a>, <a href="/recipes/tags/interpreter/">interpreter</a>, <a href="/recipes/tags/language/">language</a>, <a href="/recipes/tags/lexical_analyzer/">lexical_analyzer</a>, <a href="/recipes/tags/trac/">trac</a>).
</p>
<p>This is my third and final version of the Trac Interpreter from <a href="http://code.activestate.com/recipes/577366/">Recipe 577366</a>. It processes the character stream into appropriate class objects and stores these objects on a stack.</p>
Convert Trac wiki markup to HTML (Python)
2010-03-09T08:02:36-08:00ccpizzahttp://code.activestate.com/recipes/users/4170754/http://code.activestate.com/recipes/577094-convert-trac-wiki-markup-to-html/
<p style="color: grey">
Python
recipe 577094
by <a href="/recipes/users/4170754/">ccpizza</a>
(<a href="/recipes/tags/converter/">converter</a>, <a href="/recipes/tags/trac/">trac</a>).
</p>
<p>Convert trac wiki markup to HTML
Usage: %s <inputfile.wiki> [outputfile.html]
If outputfile.html is missing output is redirected to stdout in utf8 encoding.</p>
Move Firefly/Trac wiki pages (Python)
2010-02-22T12:54:33-08:00Troy Topnikhttp://code.activestate.com/recipes/users/4165698/http://code.activestate.com/recipes/577062-move-fireflytrac-wiki-pages/
<p style="color: grey">
Python
recipe 577062
by <a href="/recipes/users/4165698/">Troy Topnik</a>
(<a href="/recipes/tags/firefly/">firefly</a>, <a href="/recipes/tags/trac/">trac</a>, <a href="/recipes/tags/wiki/">wiki</a>, <a href="/recipes/tags/xmlrpc/">xmlrpc</a>).
Revision 2.
</p>
<p>Moves all wiki pages from one Firefly (Trac) project to another (optionally deleting all wiki pages in the target project first).</p>
<p>The full xml-rpc API can be found in every Firefly project. For example:
<a href="http://firefly.activestate.com/troyt/sandbox/xmlrpc" rel="nofollow">http://firefly.activestate.com/troyt/sandbox/xmlrpc</a></p>