"Roger Browne" <[EMAIL PROTECTED]> wrote:
> Does it make sense to have nestable structures?
Not always. Consider debug info that includes "line number" and
"statement number". You could have multiple statements per line, or
multiple lines per statement.
Actually the example notation looks quite different from what other
people are suggesting, so let me rephrase it as:
.hll_debug_begin HLL "perl5"
.hll_debug_begin copyright "Fred"...
I much prefer your previous, more compact, example syntax.
I think we'll end up with something more compact than .hll_debug - it's
quite long and as has been mentioned we'll generate quite a lot of them.
I'm wondering about .ann (for annotate), or maybe just .dbg (for debug).
.hll_debug_end line
.hll_debug_begin line 2
I don't think the "end" directives add much. There's almost always going
to be an "end line" before a "begin line", so why not let 'begin line'
to imply the end of any previously-declared line?
This was my take on things. Plus the fact that nesting doesn't always make
sense, as mentioned above.
Thanks,
Jonathan