June 22, 2015
8:42 a.m.
Hi, is it possible to add such a parser that would consume input, but wouldn't return anything? Right now I do things like... MyParser>>rule ^ ($[ asParser, anotherRule, $] asParser) ==> [ :nodes | nodes second ] Of course when the rules are more complex, so is the block; however it seems that this is how it's done in the example parsers... So, would it be possible to add some kind of Null/Void/Ignore/Throwaway parser, that would consume the input, but would be omitted from the result? so the above method could be written as MyParser>>rule ^ $[ asNullPaser, anotherRule, $] asNullParser or MyParser>>rule ^ $[ asParser ignore, anotherRule, $[ asParser ignore or something else. Thanks, Peter
4057
Age (days ago)
4057
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Uhnák