lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> Why does LPEG's span() function use strspn() in its implementation instead
> of the ISpan instruction?

'span' is not an "official" function; it is only an illustration on how
to use external C functions. (Although it does not illustrate how
to implement external C functions in a separate module, which seems to
be the most difficult part...)

-- Roberto