[Oberon] Re (2): Detecting whether a Text is a module source.

peter at easthope.ca peter at easthope.ca
Sun Jan 29 17:10:59 CET 2017


> According to the EBNF for O7, the smallest legal module ...

OK, thanks.  Will keep in mind for later. For now I'm concerned only 
with detecting the presence of a word in a text; not with conformity 
to a syntax.

What is efficient code to find whether the word "Jaguar" is present 
in a text for example?  There are many ways of varying efficiency.  A 
compiler must have a solution but I'm unlikely to recognize it.  Can 
anyone give a code example or direct me to one?

Thanks,                                 ... Lyall E.



-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca



More information about the Oberon mailing list