Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ee04c120
Commit
ee04c120
authored
Feb 12, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update again.
parent
68a9446f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
lib/python/TAL/README
lib/python/TAL/README
+13
-6
No files found.
lib/python/TAL/README
View file @
ee04c120
...
...
@@ -37,7 +37,14 @@ How To Play
The script driver.py takes an XML file with TAL markup as argument and
writes the expanded version to standard output. The filename argument
defaults to test/test1.xml.
defaults to test/test1.xml. The script can use three different TAL
implementations, from slowest to fastest:
-p: parsed (directly from XML to intermediate code which generates XML)
-c: compiled (from XML to DOM to intermediate code which generates XML)
-v: visiting (from XML to DOM, then from DOM to DOM, which is printed)
Parsed mode is currently the default.
Regression test
---------------
...
...
@@ -56,6 +63,11 @@ DOMVisitor.py base class to create DOM visitor classes
CopyingDOMVisitor.py class to copy DOM trees
TALVisitor.py class to copy DOM trees with TAL expansion
DummyEngine.py simple-minded TALES execution engine
TALCompiler.py class to compile DOM trees to intermediate code
TALInterpreter.py class to interpret intermediate code
TALGenerator.py class to generate intermediate code
XMLParser.py base class to parse XML, avoiding DOM
TALParser.py class to parse TAL into intermediate code
driver.py script to demonstrate TAL expansion
timer.py script to time various processing phases
setpath.py hack to set sys.path and import ZODB
...
...
@@ -77,11 +89,6 @@ Here are some things that should be done.
- Provide a dummy implementation of evaluateStructure()?
- Check for attempt to replace the documentElement. (Exception: when
replacing with a single element? Should it be the same tag?)
- Speed up findMacro()?
It's unclear on what to do about these items:
- A comment (or other non-element node) before the documentElement.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment