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

Re: Draft sketch of bytecode generation

Thread Previous | Thread Next
From:
chromatic
Date:
October 28, 2002 16:19
Subject:
Re: Draft sketch of bytecode generation
Message ID:
200210280840.00135.chromatic@wgz.org
On Sunday 27 October 2002 23:27, Brent Dax wrote:

> 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.

Similar in terms of implementation, that is.  :)  In Perl terms, I'd expect to 
see:

	sub add_source_code_to_segment
	{
		...
		.add_metadata_into_segment();
	}

	sub add_line_info_to_segment
	{
		...
		.add_metadata_into_segment();
	}

Maybe I'm jumping too quickly into implementation details.

-- c

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