Commit graph

2 commits

Author SHA1 Message Date
River Tarnell 646ffc5a78 - fray::find(fray, size_type) was broken, caused infinite recursion in count()
- advance last_pos in count() by the size of the matched needle
- add tests for all built-in functions
2008-08-10 21:09:54 +00:00
River Tarnell bbf1737cc2 - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported)
- to compensate for the slower parser, optimised it a little
- change basic_string to fray, a refcounted immutable string
- add 'xml' tool, prints the parser tree in XML
2008-08-10 03:52:17 +00:00