I was wondering what the possibilities of getting the PCRE library included as a bundle for source distributions of Pike. It seems as though it's presence would be a useful thing for people trying to wean themselves off another language, and I've found it handy a few times (and I'm generally anti-regexp). Simple regexps are nice, but are missing a lot of the standard features people typically associate with regular expressions.
Any thoughts?
Bill
Seems like the sourcecode is about 250k (compressed), after throwing away generated configure files, documentation and test data.
Does it build on all platforms?
License issues? It's BSD with an advertisment clause.
You can't throw the configure script out of a bundle through, then it won't build...
Of course not. Then you would need to have autoconf installed just to build a source dist, which is not acceptable.
Of course not. Have you ever seen a source dist of anything that requires autoconf to build? That's the whole point of autoconf, that only the developers need to have it.
we are talking about _creating_ the source dist, not using it. what is to stop that creation process to run autoconf on PCRE as well?
greetings, martin.
Nope, I was talkning about using the source dist. Sorry. The bundles are used when using the source dist, not when creating it.
seems i missread "build a source dist" but that doesn't change the question.
what is to stop the creation of the source dist to run autoconf on PCRE and then bundle an exported PCRE that builds without autoconf?
greetings, martin.
Nothing, but there would be no point in doing that. JS was calculating how much larger the PCRE bundle would make the source dist. The configure script has to be included in that figure regardless of whether it's created by 'make dist' or not, as it needs to be present in the source dist itself.
ah, duh, sorry, now i see what i really missed :-) what's the size with the configure script?
greetings, martin.
Seems like the sourcecode is about 250k (compressed), after throwing away generated configure files, documentation and test data.
Does it build on all platforms?
License issues? It's BSD with an advertisment clause.
On thing about the PCRE module I don't really get is why there are two classes "Plain" and "Widestring", when the only difference seems to be that the first one throws exceptions instead of doing its job whenever a character with a codepoint > 255 is encountered, which doesn't really strike me as a great feature...
pike-devel@lists.lysator.liu.se