Thanks, it is really annoying that you have to recompile the scanner
and parser. Currently I know no other workaround than recompiling. I
send the problem to a guy here at the university that is looking for
strange bugs using his implementation of an omniscent debugger, so
maybe he can find out about the real problem.
anyway, it's quite simple to compile it with the interface... but maybe
as a workaround to wait for a better solution, is it possible to do
that manipulation through the install ? (in a class initialize...or
even by writing some lines of code in the workspace...)
Would it be something like that (doesn't work here as
scanerDefinitonComment doesnt return a string...):
| parserCompiler |
parserCompiler := SmaCCGrammarCompiler new.
buildScanner: PRDocumentScanner scannerDefinitionComment ???
andParser: PRDocumentParser parserDefinitionComment. ???
parserCompiler compileInto: PRDocumentScanner andParser: PRDocumentParser.
Mhh, it works in my image, but the syntax is not as strait forward as
you might expect ;-)
oh ok ;) I tried to find out how the query stuff is working but did
not really succed lol - the query mechanism is still a bit obscure for me...
but it's working...cool
Some examples that are known to work:
title beginsWith: 'Info' OR title matches: '*orm*'
level>1 AND text matches: '*ink*'
If you just want to do a full text search you can write:
I know I should create a new page about pier with some documentation
about its features. Also I should enhance the query parser to be less
picky about its input.
I imagine it's all a question of time :). I wish I could help but my
understanding remains quite limited...