RAA - regexp/0.7

regexp / 0.7

Short description: regular expression engine
Category: Library/Regular Expressions
Status: beta
Created: 2003-11-06 21:07:41 GMT
Last update: -
Owner: neoneye (Projects of this owner)
Homepage: http://aeditor.rubyforge.org/
Download: http://rubyforge.org/download.php/233/regexp-engine-0.7.tar.gz
License: Ruby's
Dependency:
None
Description:

AEditor needs a regexp engine. You probably think, why not
rely on an existing engine (for instance Ruby's regexp engine) ?
Existing engines are not flexible enough. The iterator pattern
provides that needed flexibility. Thus it should not matter
wheter the engine operate on: UCS-4 or UTF-8 or ASCII.

Goal is to build an engine which is fully compatible with Ruby's
regexp syntax, which can work with iterators.

Eventualy extend the regexp syntax, with some editor-stuff.
For instance: point where cursor should be placed,
match text which is legal ruby code, execute regexp within
retangular selection... etc. I am open to other suggestions.

Eventualy re-implement in C++ to gain performance.

Running the engine against the Rubicon testsuite, yields
pass=1444, fail=116, pass/total=92.5641025641026

Data structure has stabilized and the fundemental operations
are working quite good (was difficult to implement).
Uses iterators, this should make it easy to operate on many
different kinds of input-streams (unicode, UTF-8), but right
now the iterator only works on ASCII.
Performance is not impressive.
Left is all the easy stuff (unicode, optimizaition).


Its being developed by using test-first development, current status are:
563 tests, 565 assertions, 0 failures, 0 errors

Versions: [0.11 (2004-09-07)] [0.10 (2004-05-06)] [0.9 (2004-04-27)] [0.8 (2004-04-22)] [0.7 (-)]

Edit this project (for project owner)

back to RAA top