Paula Păstrăguș's activity
From 11/18/2025 to 12/17/2025
12/17/2025
- 10:34 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> Paula Păstrăguș wrote:
> > I also identified another significant issue related to the k = 4 sett... - 09:18 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Paula Păstrăguș wrote:
> I didn’t actually apply the settings from there directly.
In @generate_preproc_output.p@... - 09:09 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I also identified another significant issue related to the k = 4 setting. For example, given the input:...
- 09:02 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> Our ANTLR2 tests are run with a full toolset (preprocessor etc...). I think we may be adding an ... - 09:00 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> Where are the @.lexer@ baselines in the testcases project? I don't see them.
Same here. Anywa... - 07:53 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Should invalid test cases also be expected to produce matching results...? For example, consider the invalid input @*...
- 06:57 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- The first difference appears in the @symbol_backslash.p@ test case, whose content is:...
- 06:39 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I used the test suite located in @testcases/tests/conversion/lexer/4gl_testcases@ to evaluate areas where the current...
- 07:10 AM Conversion Tools Feature #10190: Prototype the changes to the build to add ANTLR v4
- Here are the logs for @ant jar --verbose@:
{{collapse... - 04:03 AM Conversion Tools Feature #10190: Prototype the changes to the build to add ANTLR v4
- I completed a full conversion of a large GUI application, and it passed successfully. I also performed smoke testing,...
12/16/2025
- 07:43 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I think I’ve found a workaround for the DSTRING lexer rule, although it requires changing the original structure a bi...
- 06:09 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Just a quick update on this issue. At the moment, I’m investigating a memory leak in the lexer. Using the following t...
12/12/2025
- 08:39 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> FYI, the testcase should have @.@ instead of @;@ at the end of the first line.
Good catch! - 08:35 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- With a little bit of fine tuning, the test output in this moment looks like this:...
- 08:14 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I think I am making some progress with the lexer. I managed to set up a small test project, and I am actually quite h...
12/10/2025
- 08:31 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Paula Păstrăguș wrote:
> Things are getting more complicated: ANTLR4 does not allow action blocks inside fragment ru... - 04:35 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I’ll rename @SchemaLexer@ to @ProgressLexer@ (+ I'll keep the same structure of the progress.g grammar lexer into the...
- 04:30 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Paula Păstrăguș wrote:
> Paula Păstrăguș wrote:
> > * Fragment rules were introduced in ANTLR4. I haven’t yet creat... - 04:17 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Another aspect we need to clarify is the equivalent for ANTLR2’s @LA() lookahead@ function. At the moment, I used @_i...
- 04:08 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- We will need a mechanism to replicate the old ANTLR2 @append()@ behavior and the @!@ operator when migrating to ANTLR...
- 04:00 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Paula Păstrăguș wrote:
> * Fragment rules were introduced in ANTLR4. I haven’t yet created any, but they can be used... - 01:42 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- You're right, this options block did the trick:...
12/09/2025
- 09:18 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Hm, into the @SchemaLexer.tokens@, the value of @HEX_LITERAL@ is @1@, and into the @SchemaParser.tokens@, the value o...
- 09:01 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Kind of, we need that token for both, the parser and the lexer. But the int values will be different, depending on ho...
- 08:33 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- As a side note, I feel that rewriting the grammar was actually the easy part, what comes next is where the real compl...
- 08:21 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, I'm a bit confused... I initially thought that splitting the grammar would solve this issue. Let me explain the...
- 07:31 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- * The next step is to split the grammar into @SchemaParser.g4@ and @SchemaLexer.g4@. I realize the schema grammar nor...
- 04:21 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Committed the grammar as rev @16006@.
- 02:40 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> For the Progress lexer, I'd like to see the standalone @.g4@ file for it. It is hard for me to g... - 08:35 AM Conversion Tools Feature #10190: Prototype the changes to the build to add ANTLR v4
- Updated the antlr4 version to @4.13.2@ in rev @16005@.
- 06:50 AM Conversion Tools Feature #10190: Prototype the changes to the build to add ANTLR v4
- I tested the build changes and everything appears to be in order. The only missing piece is the @src/com/goldencode/p...
12/08/2025
- 09:54 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Today I worked on the lexer rules and tokens, which are the final missing piece of the schema migration puzzle.
Here... - 09:29 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> What do you mean by "lookahead hooks"? In both ANTLR2 and ANTLR4 we can use @LT()@ to lookahead ...
12/05/2025
- 10:42 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I have some good news: I’m very close to finishing the rewrite of the schema file. The remaining work is mainly to re...
12/04/2025
- 07:20 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg Shah wrote:
> 3. We need to discuss the tree building. I think the idea of returning the created subtree from...
12/03/2025
- 10:02 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, I’ve attached the current @Schema.g4@ grammar. There are only a few rules implemented so far, but if you have s...
- 03:34 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Just a quick note regarding my next steps: I’ll begin modifying the @schema.g@ file to migrate it to ANTLR4. Working ...
11/28/2025
- 08:15 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Thank you, Ovidiu. I asked this because we need to create @helper methods@ that allow us to build the AST directly fr...
- 04:15 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I have a question regarding artificial nodes. These are the nodes that the grammar creates manually, for example usin...
- 03:21 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Regarding the shadow nodes: the @left@ and @right@ IDs are used to locate the nearest AST node for each shadow node, ...
- 03:16 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Ovidiu Maxiniuc wrote:
> I do not think we should use @left@ and @right@. The resulting tree is not always binary.
...
11/27/2025
- 04:51 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Another thing I noticed: I added the shadows nodes to the list after the @left@ and @right@ IDs were populated, which...
- 04:24 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- During testing, I realized I forgot to assign the @parent AST@ to the shadow nodes. Right now, they’re orphans:), so ...
11/26/2025
- 10:08 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Thanks, Greg, I had misunderstood that part. I’ve been working on adapting the @TreeLocal@, the @ShadowNode@, and the...
11/25/2025
- 05:54 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, I reviewed the @hidden@ field, the @ShadowNode@ structure, and the entire @TreeLocal@ mechanism. The conclusion...
11/24/2025
- 10:34 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Aaand this is the output of a @dumpTree(true)@ for this input: @"1 + 2 * 3 + 4 * 5"@
Related java testing code:
<pr... - 10:31 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, I've pushed a new version of @10804a@. You should now be able to see the new classes. I've fully separated the ...
11/21/2025
- 10:20 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, I updated the wiki and pushed the new interface and implementation to 10804a. You should now be able to access ...
- 08:06 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Yes, you’re right! I’ll take care of it. Really appreciate the detailed guidance.
- 05:06 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- My suggestion is to wait until the end of the day, so I can finish covering most of the methods, prepare the comparis...
- 04:49 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- I think creating a table will help clarify things for both of us. At this point, I’ve gone through the ascent/descent...
- 03:12 AM Conversion Tools Feature #10804 (WIP): create replacement AST implementation for use with ANTLR 4
- Greg, I attached the ZIP containing the test project. Inside you will find both approaches: the visitor-based impleme...
11/19/2025
- 11:24 AM Deployment Support #10905: Questions for an end user when something unexpected happens
- There are a few additional considerations: in some extreme scenarios the UI may become completely unresponsive, or a ...
- 10:54 AM Deployment Support #10905: Questions for an end user when something unexpected happens
- Radu, task #10451 is designed to log all relevant events, giving deeper insights into the user journey. It only requi...
- 11:06 AM Conversion Tools Feature #10804: create replacement AST implementation for use with ANTLR 4
- Greg, I’m still a bit unclear on how to properly test these changes. I created a small separate project with a simple...
Also available in: Atom