[pypy-svn] r53703 - pypy/branch/jit-hotpath/pypy/jit/tl
fijal at codespeak.net
fijal at codespeak.net
Fri Apr 11 21:12:18 CEST 2008
Author: fijal
Date: Fri Apr 11 21:12:15 2008
New Revision: 53703
Added:
pypy/branch/jit-hotpath/pypy/jit/tl/grep.py (contents, props changed)
Log:
work-in-progress. The fastest grep on earth
Added: pypy/branch/jit-hotpath/pypy/jit/tl/grep.py
==============================================================================
--- (empty file)
+++ pypy/branch/jit-hotpath/pypy/jit/tl/grep.py Fri Apr 11 21:12:15 2008
@@ -0,0 +1,16 @@
+
+""" Fully controlled, dead-simple nfa engine
+"""
+
+class BaseMatch(object):
+ pass
+
+class Single(BaseMatch):
+ def __init__(self, char):
+ self.char = char
+
+def parse(elements):
+ xxx
+
+
+
More information about the Pypy-commit
mailing list