Regexp is far from the only text processing library in Factor. There's also PEGs EBNF, which uses a packrat parser to execute a parsing expression grammar. It's not very efficient right now, though. You can also do little ad-hoc things with manipulating strings directly (as sequences); the Unicode library does this in parsing resource files. The XML library builds its own terrible parsing abstraction, but it's terrible and I plan to replace it soon.
Dan On Fri, Mar 13, 2009 at 9:40 AM, Kobi Lurie <[email protected]> wrote: > Great news, kudos to littledan :) > Slava, is regexp the only or main way to get text processing on factor? > I've created some utilities for text processing which are more low level > and also less complete, > but they might be faster, or simply more ready out of the box. (if > anyone is less familiar with regexp's syntax) > ofcourse they also need some cleanup and more logical placement/refactoring. > and later on, some help to mature them from the more knowledgeable > factorers would be great too. > > I also think documentation is important for newbies and an example goes > a long way for quick reference. > (more example code, gets devs faster :-)) > All in all, I'm quite sure everyone here loves factor, and the way it's > developing, > I personally see the meta features as ones having alot of (untapped) > potential, if used as tools for helping with development and getting > quick information about the code. > Are there any big projects you plan in order to test and refine Factor > further? tip us, and probably some will be glad to lend a hand for > implementing the smaller stuff... > > Thanks, Kobi > > > Slava Pestov wrote: >> Hi all, >> >> A few people have asked questions so I thought I'd post a little status >> update. >> >> The new_ui branch is now merged into master and there is no further >> development in the new_ui branch. I've updated a lot of code in basis >> and extra (and moved other stuff to unmaintained that I didn't want to >> update). I will do a blog post about the API changes and other new >> features soon. Please do test, keeping in mind that the new gadgets >> still need some cosmetic tweaks. >> >> There are still some things that don't load and pass tests, hence we >> haven't had binaries for a while. This doesn't mean development has >> slowed down or stopped, though; quite the opposite, a lot of work is >> being done and we're going through a less stable phase. I expect >> things to settle down in a week or so. >> >> In other news, Daniel Ehrenberg has been working on our regular >> expression implementation, originally written by Doug Coleman. Dan has >> added some features and also major performance improvements; regexes >> now compile to machine code, and as a result the benchmark.regex-dna >> benchmark now runs 60x faster than before. Dan will also add group >> capture soon, giving us a full-featured regex engine. >> >> Slava >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Factor-talk mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/factor-talk >> > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
