You shouldn't use broken code examples.
How is it broken? It looks perfectly valid to me, and it works. What do you suggest I do if gets and fgets crash my program?
This is _extremely_ verbose for something that just parses whitespace.
You're right. The format is much more useful for complicated wordforms - ws takes the hit so that more complicated wordforms are easier to describe.
I was thinking it might be useful to have syntax like this:
parse ws
[-> " " || "\t" || "\t"
[ return true; ]
]
Do you think that would be worth while? In other words, do you think that is acceptable verbosity?
Last edited by frencheneesz; Dec 14th, 2008 at 8:10 pm. Reason: m