Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

TODO ideas

benson-basis edited this page Oct 17, 2014 · 1 revision

TODO

  • Backreferences. Troubles in the compiler.

  • More unit tests; try for full coverage with simple tests.

  • Convert runtime to take CharSequence instead of array/indices.

  • Add thread interrupt checks in appropriate places; where are those?

Errors

  • parser to report offsets in error messages
  • all error messages informative
  • Runtime (Runtime, Dfa) to throw RegexRuntimeException

Code structure

  • Get rid of 'Guts' and 'Runtime', sink all this into RegExp.

  • Decide how far to push java style; this code seems like a place where 'package access' fields are in fact reasonable.

  • final / private, however, when trivally possible.

  • bitflags versus enum sets in the guts

  • Performance measurement / tuning

Clone this wiki locally