Hi Gustavo,
Thanks for the explanation, it makes perfect sense.
Congratulations on booleano, it's very cool.
Rui
On Aug 6, 2009 8:15 PM, "Gustavo Narea" <m...@gustavonarea.net> wrote:
Hello, Rui.
You have to surround it with spaces because the ":" is also used as the
namespace separator in your custom grammar (e.g.,
namespaceA:namespaceB:variable_name). By using spaces you resolve this
ambiguity.
What you can do is use another symbol for the namespace separator, such as a
dot. You can try the following grammar:
grammar = Grammar(eq=":", namespace_separator=".")
This way it won't be ambiguous and thus spaces wouldn't be necessary.
HTH,
- Gustavo.
Rui said: > Hi everyone, > > I've created a simple grammar, just replacing the equality operator > ...