Project

General

Profile

Activity

From 04/14/2025 to 05/13/2025

05/13/2025

06:29 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
Octavian Adrian Gavril wrote:
> Octavian Adrian Gavril wrote:
> > OK. So, processing each AST (or walk call graph) ...
Greg Shah
06:29 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
Yes, but there is also the 2nd phase:... Greg Shah
06:18 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
Octavian Adrian Gavril wrote:
> OK. So, processing each AST (or walk call graph) is the job that needs to be divided...
Octavian Adrian Gavril
06:04 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
OK. So, processing each AST (or walk call graph) is the job that needs to be divided between threads, right?... Octavian Adrian Gavril
05:57 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
> I understand that PatternEngine should be thread-safe, but where exactly should the thread work be split? Perhaps ... Greg Shah

05/12/2025

04:50 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
Greg Shah wrote:
> 1. The core @PatternEngine@ itself (and all of its dependent code such as the @SymbolResolver@, X...
Octavian Adrian Gavril

05/09/2025

03:41 AM Feature #1752: eliminate statics/singleton patterns in all TRPL worker classes and other dependen...
I went through all the workers listed above and checked where the variables are good to store in the context-local. I... Octavian Adrian Gavril

05/08/2025

05:56 AM Feature #1752: eliminate statics/singleton patterns in all TRPL worker classes and other dependen...
There is nothing intrinsically unsafe with static methods. Any state they access will need to be context local OR sy... Greg Shah
04:48 AM Feature #1752: eliminate statics/singleton patterns in all TRPL worker classes and other dependen...
Should static methods be kept or make them non-static and use them through a class instance?
@DataModelWorker@:
<pr...
Octavian Adrian Gavril

05/07/2025

08:37 AM Feature #1752: eliminate statics/singleton patterns in all TRPL worker classes and other dependen...
Constantin Asofiei wrote:
> If you look at @DataModelWorker@, you will see the static state is in a @WorkArea@ class...
Octavian Adrian Gavril
05:03 AM Feature #1752: eliminate statics/singleton patterns in all TRPL worker classes and other dependen...
If you look at @DataModelWorker@, you will see the static state is in a @WorkArea@ class, to be context-local. This ... Constantin Asofiei
03:20 AM Feature #1752: eliminate statics/singleton patterns in all TRPL worker classes and other dependen...
Here is a full list with worker classes used in TRPL:
# @com.goldencode.p2j.schema.ImportWorker$SqlRecordLoader@
# ...
Octavian Adrian Gavril
01:51 AM Feature #1752 (WIP): eliminate statics/singleton patterns in all TRPL worker classes and other de...
Octavian Adrian Gavril
08:32 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
Greg, I can't find an exact task for this - I think the discussion was spread-out for runtime query conversion, incre... Constantin Asofiei

05/06/2025

09:41 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
> Constantin: I know you started work on this some time ago. What task had those results and are there any other note... Greg Shah
09:40 AM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
There is an early version of a multi-threaded pattern engine rewrite in @com.goldencode.trpl.*@. It is fairly clean ... Greg Shah

05/05/2025

06:45 AM Feature #1745 (Hold): review, decide upon and document the 1.0 features which will be retained in...
Yes, it is safe to pause. Greg Shah
03:28 AM Feature #1745: review, decide upon and document the 1.0 features which will be retained in 2.0
I made some additional changes that fixed the way @func-library@ children are processed. The main idea was to keep tr... Octavian Adrian Gavril

04/30/2025

10:04 AM Feature #1745: review, decide upon and document the 1.0 features which will be retained in 2.0
I've committed new changes to *1745a/15804* covering the following:
* Fixed the usage of @CallGraphWorker@;
* Fixed...
Octavian Adrian Gavril

04/29/2025

01:51 PM Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
Currently, TRPL runs in a single thread. It is well understood that enabling multi-threading would allow TRPL to lev... Greg Shah
01:46 PM Feature #1754 (Rejected): resolve any performance issues with new multi-threaded pattern engine i...
Greg Shah
05:31 AM Feature #1745: review, decide upon and document the 1.0 features which will be retained in 2.0
I believe that generating/using @callgraph@ is necessary to make rules from @rules/reports@ and @rules/callgraph@ loa... Octavian Adrian Gavril

04/28/2025

10:27 AM Feature #1745: review, decide upon and document the 1.0 features which will be retained in 2.0
I've added a few changes that improve the results. These add the following fixes:
* avoided double logging of keywor...
Octavian Adrian Gavril

04/25/2025

08:33 PM Feature #9942: syntax for tree structure defintion and usage as templates or for pattern matching
We have a mechanism for implementing templates in TRPL v1, using the @TemplateWorker@ (TW). The idea is that the TW ... Greg Shah

04/24/2025

04:27 PM Feature #9942 (New): syntax for tree structure defintion and usage as templates or for pattern ma...
Greg Shah
04:03 PM Feature #9941: natural/integrated scoping for resources
Today we use the @DictionaryWorker@ to implement scoped dictionaries. This allows us to explicitly push/pop state ba... Greg Shah
03:35 PM Feature #9941 (New): natural/integrated scoping for resources
Greg Shah
03:34 PM Feature #9940: array syntax for referencing parent, child or sibling nodes
It is common to use chaining to reference parent nodes. Instead of @copy.parent.parent.parent@ or @copy.getAncestor(... Greg Shah
03:28 PM Feature #9940 (New): array syntax for referencing parent, child or sibling nodes
Greg Shah
02:10 PM Feature #9938: property syntax for annotations
Something else to mention: we allow @node.getAnnotation(someVar)@ (and put/is), especially from TRPL functions I thin... Constantin Asofiei
02:09 PM Feature #9938: property syntax for annotations
> for the @this.name@ syntax, the @name@ must not collide with a @Aast@ getter method (as we can do a @node.firstChil... Greg Shah
01:09 PM Feature #9938: property syntax for annotations
Greg, a few caveats:
* for the @this.name@ syntax, the @name@ must not collide with a @Aast@ getter method (as we ca...
Constantin Asofiei
01:04 PM Feature #9938: property syntax for annotations
In TRPL 1.0, annotations are "second class" features. The syntax of the language itself does not provide any facilit... Greg Shah
11:51 AM Feature #9938 (New): property syntax for annotations
Greg Shah

04/23/2025

09:31 AM Feature #1745: review, decide upon and document the 1.0 features which will be retained in 2.0
I've completed some rules testcases covering all the expression/token/tag rules I monitor. These are not loaded in *1... Octavian Adrian Gavril

04/14/2025

10:44 AM Feature #1745: review, decide upon and document the 1.0 features which will be retained in 2.0
Is @AUTOMATIC NULL CHECKING@ really only used 5 times? That is suspicious. Greg Shah
10:25 AM Feature #1745: review, decide upon and document the 1.0 features which will be retained in 2.0
I've committed some updates to *15800*, which include:
* Added compilation support for @<action>@ expressions. This ...
Octavian Adrian Gavril
 

Also available in: Atom