Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
what is petitAnalyser and why does it belong to Core in ConfigurationOfPetitParser?
Stef |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
On Mar 7, 2011, at 7:31 AM, Stéphane Ducasse wrote: > what is petitAnalyser and why does it belong to Core in ConfigurationOfPetitParser? > The RB AST is missing some information. E.g. it tells you "there is a variable a", but not if it's a temp, ivar or what kind of literal variable. (for example). So it's an AST without semantic analysis. PetitAnalyzer adds this semantic analysis phase and annotates the AST. (It's therefore very similar and needs to be merged with the semantic analysis of Opal...) Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Stéphane Ducasse
The package PetitAnalyzer adds reflective facilities (querying,
rewriting, tranformation) to PetitParser. PetitAnalyzer is not required to write and execute grammers. Typically you only need to load the package PetitParser. I haven't written the configuration myself, so I don't know how it is setup. Lukas On Monday, 7 March 2011, Stéphane Ducasse <[hidden email]> wrote: > what is petitAnalyser and why does it belong to Core in ConfigurationOfPetitParser? > > Stef > -- Lukas Renggli www.lukas-renggli.ch |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Marcus Denker-4
Ok now I was wondering why we need that in petitParser core in the configuration.
Stef On Mar 7, 2011, at 7:58 AM, Marcus Denker wrote: > > On Mar 7, 2011, at 7:31 AM, Stéphane Ducasse wrote: > >> what is petitAnalyser and why does it belong to Core in ConfigurationOfPetitParser? >> > > The RB AST is missing some information. E.g. it tells you "there is a variable a", but not > if it's a temp, ivar or what kind of literal variable. (for example). > > So it's an AST without semantic analysis. PetitAnalyzer adds this semantic analysis phase > and annotates the AST. > (It's therefore very similar and needs to be merged with the semantic analysis of Opal...) > > Marcus > > -- > Marcus Denker -- http://www.marcusdenker.de > INRIA Lille -- Nord Europe. Team RMoD. > > ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Marcus Denker-4
> PetitAnalyzer adds this semantic analysis phase
> and annotates the AST. No, PetitParser has nothing to do with the AST package of RB. What you are talking about is AST-Analyzer, and that's in the RB repository. Lukas -- Lukas Renggli www.lukas-renggli.ch |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Lukas Renggli
ok this is what I thought :)
On Mar 7, 2011, at 8:07 AM, Lukas Renggli wrote: > The package PetitAnalyzer adds reflective facilities (querying, > rewriting, tranformation) to PetitParser. PetitAnalyzer is not > required to write and execute grammers. Typically you only need to > load the package PetitParser. I haven't written the configuration > myself, so I don't know how it is setup. > > Lukas > > On Monday, 7 March 2011, Stéphane Ducasse <[hidden email]> wrote: >> what is petitAnalyser and why does it belong to Core in ConfigurationOfPetitParser? >> >> Stef >> > > -- > Lukas Renggli > www.lukas-renggli.ch > ... [show rest of quote] |
Free forum by Nabble | Edit this page |