Closed lawrancej closed 12 years ago
Write a function that tests whether a regular expression can derive the empty string (see: http://matt.might.net/articles/parsing-with-derivatives/ for a definition). Use the visitor class to assist with this.
gboolean compilerkit_nullable(GObject *regex)
Hi Professor,
Could I do this one too?
Nomose
Absolutely!
https://github.com/lawrancej/CompilerKitJava/blob/master/CompilerKit/src/com/joeylawrance/language/RegularNullableVisitor.java
Any progress on this one?
I'm still working on it.
Write a function that tests whether a regular expression can derive the empty string (see: http://matt.might.net/articles/parsing-with-derivatives/ for a definition). Use the visitor class to assist with this.
gboolean compilerkit_nullable(GObject *regex)