|No such thing as a small change|
Re^3: Exploring Inline::C (Generating primes)by BrowserUk (Pope)
|on Oct 25, 2011 at 16:15 UTC||Need Help??|
is Inline::C able to use the #line directive?
Theoretically yes. But ...
The XS pre-compiler already uses (something like) this to try and make error messages produce by the C compiler relate to line numbers in the .XS file.
Inline::C extracts the source code from the .pl file, places it into an .XS file with some requisite pre- and post-amble, and then pre-compiles that to produce the the .c file. That then gets compiled to build a .dll/.so binary that is then dynamically linked back to the perl binary at runtime.
I don't think anyone has tried to apply two levels of line control simultaneously. I'm not sure we humans would understand the results :)
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.