--- Raul Miller <[EMAIL PROTECTED]> wrote: > On 4/16/07, Oleg Kobchenko <[EMAIL PROTECTED]> wrote: > > Scanning usually means lexical analysis, or lexing. > > > > Although ". or 0&". can serve as scanners, together with ;: , > > they won't be useful for something like a date format: > > > > ;:'2001-01-01 00:00:00' > > Actually, dyadic ;: works rather nicely for > lexical analysis.
Can you define an (ad)verb that will accept a one-line pattern for ;: ? Because what can beat this? '(....)-(..)-(..) (..):(..):(..)' <rxscan input Dyadic ;: requires to write a whole new lexer for each pattern: character classes, transition table, different actions, etc. There are just too many patterns to write a lexer for each of them. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
