[Pharo-project] Fwd: More progress...

Marcus Denker marcus.denker at inria.fr
Mon Jan 28 13:09:37 CET 2013

… maybe others are interested. 

Begin forwarded message:

> From: Marcus Denker <marcus.denker at inria.fr>
> Subject: More progress...
> Date: January 28, 2013 1:07:19 PM GMT+01:00
> To: "pharo-compiler at lists.gforge.inria.fr" <pharo-compiler at lists.gforge.inria.fr>
> Hi,
> Lots of progress…
> -> BC to Text mapping (highlighting in the debugger)
> 	     Instead of building the mapping in the code generator, we instead
>             enhanced the AST and IR to have all the right information and needed
>             mapping.
> 	     This means: we can query the AST for "which statement generated the byte code at offset 24?"
> 	     Or "which BlockNode is the one for this Context?".
> 	     The AST combined with the  Scope/Var annotations and the IR contains all information needed,
>             and in cases where something is wrong it is easy to debug.
> -> Correct Temp Vars for Contexts (via the Scope/Var knowledge)
> 	    For accessing temps in blocks in the debugger.
> 	    Here we delegate queries to the annotated AST, this means the Debugger uses
>            the same data structures as the compiler when it wants to know about e.g. local temps.
> 	One of the nice effects is that the needed machinery is much simpler:
> 	DebuggerMethodMap linesOfCode 164 	
> 	DebuggerMethodMapOpal linesOfCode 62
> 	it is actually so simple that in a second step, there is no need for DebuggerMethodMapOpal at all,
>        the code can be moved directly to better places (e.g. MethodContext). Caching is handled by ASTCache.
> -> Error Handling is working. All the error handling (Parsing and Semantic) are handled the same as
>     the old compiler.
> 	=> Pass over integration. Clean up the Compiler/Parser facades.
> 	      (We will first have the whole thing to be compatible to the old from the Compiler/Parser POV,
>               here more cleanups are following after we have the stuff in the image)
> 	=> Pass over the decompiler. BC->IR is working, IR->AST needs to be checked.
> 	=> Fix all showstoppers here: http://code.google.com/p/pharo-newcompiler/issues/list
> 	Marcus and Clement

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20130128/1e864357/attachment.html>

More information about the Pharo-project mailing list