On Tue, May 19, 2015 at 10:02 AM, Thierry Goubier <thierry.goubier@gmail.com> wrote:


2015-05-19 7:49 GMT+02:00 Marcus Denker <marcus.denker@inria.fr>:

On 13 May 2015, at 11:21, Denis Kudriashov <dionisiydk@gmail.com> wrote:

Thanks's Marcus. It is beautiful thing.

Is parsing locate errors by "dot"s? I mean how it will parse "3+. 1+2"? It will be super cool if we have only "3+." as error but remains code as good one


You can just look at��

OpalCompiler new
�� �� �� �� �� �� �� �� source: 'method ��3+. 1+2';
�� �� �� �� �� �� �� �� useFaultyForParsing: true;
�� �� �� �� �� �� �� �� parse.

Impressive !
��

with the GT inspector, it has a very nice AST view:

The AST view of the GT Inspector is useless for serious work.

I've been spending the past weeks and months looking at ASTs, SSA and CFGs of code and I allways need a twin view: node + source code (and selecting one of those node select the relevant portion of the code).

Switching to the 'Source code' view in the second pane gives you exactly that

Inline image 1
��

Thierry