develooper Front page | perl.perl6.internals | Postings from October 2002

RE: Draft sketch of bytecode generation

Thread Previous | Thread Next
From:
Brent Dax
Date:
October 27, 2002 23:15
Subject:
RE: Draft sketch of bytecode generation
Message ID:
001201c27e53$889e3450$6501a8c0@deepblue
chromatic:
# On Sun, 27 Oct 2002 08:54:08 -0800, Dan Sugalski wrote:
# 
# These two seem highly similar:
#  
# > =item Add source code to segment
# > 
# > This adds a line or more of source code to the bytecode segment.
#  
# > =item Add line number information
# > 
# > This adds line number info to the bytecode segment, allowing the 
# > interpreter to find out what line of source a particular piece of 
# > bytecode corresponds to.

Appearances are deceiving--the first adds some (unparsed?) source code,
the second adds information on file and line numbers, probably based on
offset into the bytecode.

--Brent Dax <brentdax@cpan.org>
@roles=map {"Parrot $_"} qw(embedding regexen Configure)

Wire telegraph is a kind of a very, very long cat. You pull his tail in
New York and his head is meowing in Los Angeles. And radio operates
exactly the same way. The only difference is that there is no cat.
    --Albert Einstein (explaining radio)


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About