Refactor regsexp for simplicity and future sharing.
authorChris Hanson <org/chris-hanson/cph>
Mon, 25 Nov 2019 09:33:26 +0000 (01:33 -0800)
committerChris Hanson <org/chris-hanson/cph>
Wed, 27 Nov 2019 08:33:36 +0000 (00:33 -0800)
commiteb815140794ebd5f2ea8a9d0ed6b00ff6e669032
treee1b0b013f8af98fb0b9fd727c61eaa0a63e46edc
parentba001262df4cfe9100357e663aa98cf04c434c9a
Refactor regsexp for simplicity and future sharing.

* The rule engine has been moved to its own file, rewritten, and generalized.

* The recursive implementation has been moved to its own file and slightly
  edited.

* There's new support for match replacement.
src/runtime/ed-ffi.scm
src/runtime/make.scm
src/runtime/regexp-recursive.scm [new file with mode: 0644]
src/runtime/regexp-rules.scm [new file with mode: 0644]
src/runtime/regsexp.scm
src/runtime/runtime.pkg