develooper Front page | perl.perl6.internals | Postings from July 2002


Stephen Rawls
July 14, 2002 09:39
Message ID:
Hello everyone,
  I've only been involved with parrot since last week,
but I've been learning quickly from all the
documentation.  With the recent activity about lack of
documentation, I thought I'd try to help out as best I
could.  I've attached a file for an candidate. 
Some parts may be wrong, and at some points I even ask
questions, but there isn't much to rx.[ch], so overall
it should be a decent rough draft.  Below are my
questions, copied right out of the attached document:

1) The rx_is_number_character function breaks the
abstraction and uses the following expression to test
the argument:
if (ch >= '0' && ch <= '9')
It explains that it is "faster to do
My question is: Doesn't this restrict the ability for
adding different character encodings and languge
support?  What about languages that don't use arabic

2) In the rxinfo struct:
opcode_t *substfunc;

My first guess was that that is a pointer to the first
opcode the regex uses, but then I got confused by the
name 'substfunc.'  So basically ... what is it used

Stephen Rawls

Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About