Paula Păstrăguș's activity
From 05/17/2026 to 06/15/2026
06/15/2026
- 02:59 PM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I added temporary lexer profiling in order to measure the token generation cost per token type, aggregated across all...
06/12/2026
- 08:42 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Before moving forward, another project conversion progressed further than in previous attempts, it reached the *serve...
- 08:35 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Another slowdown source is the @evaluateExpr@ method: under ANTLR2, Hotel GUI spends *5.3 seconds* in it, whereas und...
06/11/2026
- 08:16 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- 10804b is at rev *16584* now (here you can find today's parser improvements).
- 08:03 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I also attached a log file in my previous post. It includes the total time ANTLR4 spends in prediction mode for each ...
- 08:00 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Hmm, for Hotel GUI, @createShadowNodes@ takes around @0.2@ seconds in total, which seems reasonable from my POV. (we ...
- 07:45 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- *Update*: Hotel GUI performance comparison between ANTLR2 and ANTLR4.
|_. Metric |_. ANTLR2 |_. ANTLR4 |
| Total ...
06/10/2026
- 10:12 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- 10804b is at rev *16583* now (the latest).
- 10:04 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, it is not 3x slower anymore, it is only around 2x now, and I think I can still push the boundaries:)
- 10:00 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- *Update*: the current Hotel GUI parse time is *49 seconds*. I think I can still improve this further through parser c...
- 09:20 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Right, I remember having this error from the very beginning, basically two years ago:-)
Anyway, I think a fresh ch... - 07:11 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> ANTLRv2 and ANTLRv4 both have their loops and optional alternatives set to be greedy by default. ... - 07:06 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Paula Păstrăguș wrote:
> Greg Shah wrote:
> > > This suggests that we may also need some special tricks for cases w... - 07:06 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> > This suggests that we may also need some special tricks for cases where a @no viable alternativ... - 06:23 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, is a @()*@ construct in ANTLR2 greedy or non-greedy by default? I only found three @options@ blocks with @greed...
- 06:11 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Another important thing I noticed is that the ANTLR4 prediction algorithm does not seem to provide a reliable way to ...
- 05:44 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- *Update*: Hotel GUI parse time has now dropped to *1 minute and 8 seconds*, with a total conversion time of *5 minute...
06/09/2026
- 10:22 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- The lexer doesn't appear to be the bottleneck. Using @tokens.fill()@ and summing the elapsed times across all Hotel_G...
- 09:42 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I think it is time to document some findings and updates here.
At this point, I think I have stabilized the Progre...
05/28/2026
- 05:29 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I've already reduced @primary_expr@ prediction time from seconds down to nanoseconds, but that alone isn't enough. I ...
05/27/2026
- 10:03 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I am currently trying one more approach for the ANTLR4 performance issue around @primary_expr@.
The main problem i... - 02:12 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- The main performance culprits still appear to be the "pull" alternatives. @adaptivePredict@ needs these alternatives ...
- 02:43 AM Runtime Infrastructure Feature #10451 (Test): GUI interaction event logging
- Branch 10451a was merged into trunk as rev. @16583@ and archived.
- 02:16 AM Runtime Infrastructure Feature #10451: GUI interaction event logging
- I have Serban's approval for testing with another application and Teodor's approval for the ChUI Regression Testing. ...
05/26/2026
- 01:40 AM Runtime Infrastructure Feature #10451: GUI interaction event logging
- Here are the results from yesterday:
* gso_282 failed: expected.
* gso_320 failed: not expected. However, Teodor ...
05/25/2026
- 05:54 AM Runtime Infrastructure Feature #10451: GUI interaction event logging
- I started the ChUI regression tests. In the best case scenario, we should have the results by EOD.
- 05:39 AM Runtime Infrastructure Feature #10451: GUI interaction event logging
- 10451a was rebased, new rev is *16589*.
- 04:23 AM Runtime Infrastructure Feature #10451: GUI interaction event logging
- The wiki has been updated and is available at [[p2j:Debugging GUI]].
Regression testing did not reveal any issues.... - 03:20 AM Runtime Infrastructure Feature #10451: GUI interaction event logging
- Addressed as rev *16524*.
I'm starting regression testing. - 02:12 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- We need to take some calculated risks.. otherwise, as you said, we will not be able to move forward with ANTLR4. I ma...
05/22/2026
- 10:57 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Here are some relevant values regarding performance issue:
For @avail-rooms-frame.w@, the total time spent into pr... - 10:53 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> In pre-scan mode we are trying to do a minimal parse to get some structural elements without worr... - 10:52 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Sorry for the delay, right now, when trying to commit today changes I find out the connection of off..
- 10:50 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Most of the time is spent in primary_expr decision. I tried to split it.. but I had no luck, the total time for Hotel...
- 04:00 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Current issue I'm working on:
I moved testing to @<app_c>@, at least to check whether the files parse correctly du...
05/21/2026
- 10:26 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Committed the baseline as rev *16576 / 10804b*.
A @./gradlew antlr4All@ followed by @./gradlew jar@ should work no... - 06:46 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Well, it all started because the old 10804a version no longer compiled, and I couldn't realistically make it work aga...
- 06:14 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- It is available at rev *16495 / 10804a*.
Let me create the b version now and port all my changes there. After a b... - 04:36 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I fixed the issue, and fortunately it was not a problem in the fql parser itself. I was accidentally calling the pars...
05/20/2026
- 10:20 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I managed to get both the Hotel GUI server and the web client up and running! 🎉
At this point, there still seems t...
05/18/2026
- 10:42 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- *Update*: *All* Hotel GUI files are now converted (*66* files). I still need to check the generated Java files, ASTs,...
Also available in: Atom