Re: RFC: static line number information

2002-10-07 Thread Sean O'Rourke
On Mon, 7 Oct 2002, Nicholas Clark wrote: > On Mon, Oct 07, 2002 at 08:27:29PM +0200, Juergen Boemmels wrote: > > But there must also be a way the higher level languages can assign > > line numbers. Maybe C-like > > #line 1 "foo.c" > > directives are a solution. > > or create dedicated assembler

Re: RFC: static line number information

2002-10-07 Thread Leopold Toetsch
Juergen Boemmels wrote: >>From TODO: > Metadata (source line number info, symbol table) > > Currently parrot the line number information in parrot is done via > special opcodes, namely setline/getline and setfile/getfile. This is a > good solution when you write an interpreter in parrot, and

Re: RFC: static line number information

2002-10-07 Thread Nicholas Clark
On Mon, Oct 07, 2002 at 08:27:29PM +0200, Juergen Boemmels wrote: > But there must also be a way the higher level languages can assign > line numbers. Maybe C-like > #line 1 "foo.c" > directives are a solution. > or create dedicated assembler macros > ..line > ..file > (maybe) .column ooh. nice.

Re: RFC: static line number information

2002-10-07 Thread Dan Sugalski
At 8:27 PM +0200 10/7/02, Juergen Boemmels wrote: > >From TODO: > Metadata (source line number info, symbol table) > >Currently parrot the line number information in parrot is done via >special opcodes, namely setline/getline and setfile/getfile. This is a >good solution when you write an int

RFC: static line number information

2002-10-07 Thread Juergen Boemmels
>From TODO: Metadata (source line number info, symbol table) Currently parrot the line number information in parrot is done via special opcodes, namely setline/getline and setfile/getfile. This is a good solution when you write an interpreter in parrot, and the line number information is only