in reply to RE: RE:(2) Automatic CODE tags
in thread Automatic CODE tags
Of course, there should be some more logic added, as most code that gets posted, won't compile. That's why it was posted in the first place. But then again,
the analyzer should simply lean more towards code than towards text, because a monospaced text is far easier to read than vario-spaced and line-joined
code.
I thought of that, but if you are taking it line-by-line (rather than whole post), any program of more than a few lines will have plenty of lines that compile.
eval's, even if it doesn't do much. That's why I thought the code was so nicely elegant. You don't need much logic.$var="bob";
|
---|
Replies are listed 'Best First'. | |
---|---|
Automatic CODE-tag creation (Prototype)
by Corion (Patriarch) on Jun 21, 2000 at 20:01 UTC | |
by Shendal (Hermit) on Jun 21, 2000 at 20:21 UTC | |
by swiftone (Curate) on Jun 21, 2000 at 20:40 UTC | |
by Ozymandias (Hermit) on Jun 21, 2000 at 20:45 UTC | |
by swiftone (Curate) on Jun 21, 2000 at 20:47 UTC | |
by Corion (Patriarch) on Jun 22, 2000 at 01:39 UTC |
In Section
Perl Monks Discussion