On Wed, Jan 12, 2011 at 5:01 PM, Coen Schalkwijk <[email protected]> wrote:
> Thanks for your suggestion. Is it possible in pike to do/use/consume
> something like 'they' do in dotNET:

Simple answer: no, this is not possible in Pike.
More exact answer: you could implement this with a preprocessor (using
Parser.Pike to tokenize the Pike source code) extracting the
formatting meta information from your classes etc., and then run that
either one time in the process (every time you change the code) or
even include it in the Pike compilation process (i. e. when pike loads
foo.pike and compiles it) - both possible, and both probably way
easier in Pike than in any other language.

Tobi

Reply via email to