treedl-users Mailing List for TreeDL (Tree Description Language)
Brought to you by:
all-x
You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(1) |
Feb
(2) |
Mar
(3) |
Apr
|
May
|
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
|
| 2006 |
Jan
|
Feb
(5) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Alexey D. <de...@is...> - 2007-07-26 10:03:11
|
TreeDL 2.3.2 is maintenance release where some minor bugs are fixed. Now TreeDL 2.x is declared stable. Download location: https://sourceforge.net/project/showfiles.php?group_id=120633&package_id=132194&release_id=527498 New TreeDL home page: http://treedl.org Maven1 repository for treedl and supporting libraries: http://treedl.org/repository Changes in this release: add: copy visitor generator uses Java 5 features if treedl.language="java5". fixed: path in treedl.check.source.path property is comma-separated to be platform independend fixed: handling of incorrect value of the treedl.version property improved fixed: bugs in C# code generator changed: TreeDL build process is Ant-based now, Maven is not used. The dependencies are downloaded from Maven repositories automatically. Regards, Alexey --- Alexey Demakov TreeDL: Tree Description Language: http://treedl.org |
|
From: Alexey D. <al...@al...> - 2006-03-13 20:59:39
|
treedl-2.3.1.1-beta-060313: - JDK 1.5 API usage removed. - translate.smap.generate default value changed to false. - some internal improvements. treedl.eclipse-0.3.1-beta-060313: - outline shown for incorrect input - updated for treedl-2.3.1.1 maven-treedl-plugin-2.3.1.1-beta-060313: updated for atplib-3.6.4 treedl-2.3.1.1 --- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <al...@al...> - 2006-02-21 22:29:36
|
Initial "minimalistic" TreeDL plugin 0.3.0-beta-06.02.22 released! - Basic syntax highlighting - Outline (sorry, only for syntactically correct files) - Open declaration & build file actions - File building with maven-compatible convention for property-files location It's enough to throw out custom builders. --- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2006-02-16 16:04:01
|
http://treedl.sourceforge.net/ 2006.02.16. New release: atplib-4.0.2-beta-06.02.16 add: Message.Severity VERBOSE and methods to work with it add: some constructors and methods add: FilterSeverityMessageReceiver fix: PrintStreamMessageReceiver.defaultOut initialization in constructor Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2006-02-14 12:08:27
|
http://treedl.sourceforge.net/ 2006.02.14. New releases: atplib-3.6.4-stable-06.02.14 atplib-4.0.1-beta-06.02.14 These are bugfix releases and ANTLR support from 3.6.4 added to 4.0.1. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2006-02-09 11:09:54
|
http://treedl.sourceforge.net/ 2006.02.09. New releases: treedl-2.3.1.0-beta-06.02.09 atplib-3.6.3-stable-06.02.09 atplib-4.0.0-beta-06.02.09 maven-treedl-plugin-2.3.1.0-beta-06.02.09 atplib-4.x.x contains redesigned messages subsystem, not compatible with atplib-3.x.x. TreeDL tool still uses 3.x.x. However, this TreeDL tool release has messages2 action to generate atplib-4.x.x-compatible property file with messages patterns. Some features of atplib-3.x.x (tool & plugins framework) are not included in atplib-4.0.0 yet. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <al...@al...> - 2006-02-09 08:45:54
|
http://treedl.sourceforge.net/ 2006.02.09. New releases: treedl-2.3.1.0-beta-06.02.09 atplib-3.6.3-stable-06.02.09 atplib-4.0.0-beta-06.02.09 maven-treedl-plugin-2.3.1.0-beta-06.02.09 atplib-4.x.x contains redesigned messages subsystem, not compatible with atplib-3.x.x. TreeDL tool still uses 3.x.x. However, this TreeDL release has messages2 action to generate atplib-4.x.x compatible property file with messages patterns. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-11-28 07:30:59
|
Many parser and AST improvements and bugfixes. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-11-25 06:20:40
|
New releases: a.. treedl-2.3.0-beta-05.11.24 [changes] b.. atplib-3.6.1-stable-05.11.24 [changes] c.. atplib.net-2.0-alpha-05.11.24 [changes] d.. maven-treedl-plugin-2.3.0-beta-05.11.24 The main new feature of this release is new target language - C#. It is = TreeDL 1.x C# generation updated for new TreeDL language features. Is = was tested with unreleased C# AST. In general, this is beta release, but now each plugin has its own = stability status. Java generation is almost stable (almost - because of = operations that are not fully tested yet), Java5 generation is beta, C# = generation is alpha. To see a status of all plugins, run: treedl - To see description of <plugin>, including status: treedl - <plugin> Another nice feature - isAttrName() methods for boolean attributes = attrName. Note, if attrName already starts with is, method name will be = attrName(). That is, boolean attribute isValid can be accessed through = isValid(), not isIsValid(). Of course, old getIsValid() method also can = be used. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-09-15 13:43:27
|
Some bugs fixed in semantic checking and translation of operations. Also options added to control generation of checks for non-optional attributes, not-empty lists and setonce attributes. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-09-13 17:20:57
|
New versions: treedl-2.2-alpha-050913, atplib-3.6-beta-050913. This release adds inheritance of operations (see 'Inheritance of operations' section in language reference). Because it's major new feature, treedl release is qualified as alpha. Translation of node types and enumeration types should be stable as in previous releases, but translation of operations (especially with more than one virtual parameters from more than one module) should be reviewed. After some testing and the use of this TreeDL release in j5tdl development, it will be returned to beta status. Also, some entity properties are added for translate action to make translation more flexible. See the documentation for translate action in TreeDL tool user's guide. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-08-02 10:53:33
|
TreeDL-2.1.1-beta-050802: fix: non-late overriding attribute is constructor parameter when overridden attribute is late add: Error mesage: AbstractAttributeShouldBeOverridden add: readResolve() for EnumClass inheritors is generated to allow == comparision after deserialization atplib-3.5.2-beta-050802: update: com.unitesk.atp.tree.dynattrs.MapAttributed: default map created only by request to save memory update: com.unitesk.atp.tree.EnumClass implements Serializable maven-treedl-plugin-2.1.1-beta-050802: allows to use TreeDL 2.1.1 from maven Regards, Alexey P.S. Today is my grandmother's 83th birthday. This release is dedicated to her :) ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-07-18 12:28:09
|
New releases published: http://sourceforge.net/projects/treedl/ treedl-2.1-beta-050718 Translation to Java5 added! Many bugs in translation (mainly for operations) fixed atplib-3.5-beta-050718 TextGeneratorClient separated from TextGeneratorVisitor to allow different dispatching scheme - for example, using TreeDL operations atplibj5-0.1-alpha-050718 Run-time support for TreeDL to Java5 translation maven-treedl-plugin-2.1-beta-050718 To use treedl-2.1-beta-050718 with Maven 1.x http://maven.apache.org/ j5tdl-0.2-alpha-05.07.07 See Java5 Frontend as big example of TreeDL usage It already contains Java5 parser (jdk 1.5 sources parsed successfully), Java5 AST (described in TreeDL) and AST -> Java5 printer Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-06-28 13:33:54
|
New releases: atplib-3.3-beta-050628: - com.unitesk.atp.tree.tool.antlr.JavaUnicodeEscapeFilterReader added - com.unitesk.atp.tree.tool.antlr.ListFactory and implementations added - com.unitesk.atp.text.filters.PositionFilter added treedl-2.0.1-beta-050628: - position information added in TreeDL.tdl - some bugs in generation fixed - some internal implementation changed to prepare smap file generation j5tdl-0.1-alpha-050628: The first alpha release of Java 5 frontend (parser + AST) based on ANTLR and TreeDL jdk5 sources parsed successfully :) Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-06-02 14:31:55
|
TreeDL 2.x highlighting scheme for Colorer library released. Colorer plugins exist for Eclipse IDE and FAR file manager. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-06-02 08:38:45
|
Notes: This is the first beta release of TreeDL 2.x. Documentation for 1.x is not updated, so search TreeDL.bnf for syntax changes, TreeDL.tdl for changes in AST and Message.tdl for semantic requirements in form of error messages. Changes: The main improvement from TreeDL 1.x is operations on tree nodes. It is like switch where case labels correspond to node types - types of virtual parameters. Operation is alternative (to visitors) dispatching scheme with many benefits - arbitrary signature, compile-time control of completeness. Constant types (enum/flags) are top level types now and translation scheme changed - objects are used instead of integers. late attributes can have initializers now. 'readonly' modifier renamed to more adequate 'setonce'. 'noset' modifier added for explicit specification of calculated attributes. Download TreeDL 2.x beta release from http://sf.net/projects/treedl Almost all you need is treedl-2.0-beta-050601-standalone.zip It contains ready-to-run binaries, source code and docs (javadocs, source xref etc) atplib sources are in atplib-3.2-beta-050601-src.zip and docs (also with class files) are in atplib-3.2-beta-050601.zip To integrate TreeDL with Maven you need both maven-atp-plugin-3.0.jar and maven-treedl-2.0-beta-050601.jar. Maven treedl plugin requires jar files all of them included in standalone distribution. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-03-22 08:28:53
|
Hi all,
In the next version of TreeDL I plan to replace 'readonly' keyword
with something more adequate. In fact, there are two important cases
that require keywords.
1. A value of an attribute may be set no more than once.
The second call of set-accessor causes runtime exception.
If attribute is not late, it will be set at node creation time (in constructor).
2. A value of an attribute should not be set, because it is calculated
by get-accessor. In this case, there can be no set-accessor at all,
or if set-accessor exists, it should throw UnsupportedOperationException.
Now 'readonly' keyword used for the first case, but it is slightly confusing.
I prefer to have different keywords for these cases, but can not invent them :)
In fact, the first case can be implemented using custom code for set-accessor,
but the second case is more important - it controls gneration of set-accessor.
-----
There are another case that can be implemented in custom code, but I don't know
strict pattern and therefore don't plan to introduce keyword and translation.
This case always requires custom get-code, so overhead is not very big.
It is lazy attributes, calculated during the first call of get-accessor:
attribute T v
get {
if( v == null ) { v = ...; }
};
With 'lazy' keyword is would be:
attribute lazy T v
get {
v = ...;
};
-----
Well, do you have any proposals for two new keywords?
Regards,
Alexey
-----
Alexey Demakov
TreeDL: Tree Description Language: http://treedl.sourceforge.net
RedVerst Group: http://www.unitesk.com
|
|
From: Alexey D. <de...@is...> - 2005-03-21 08:16:20
|
Just released: atplib-3.1-050320: * com.unitesk.atp.tree.tool.antlr.LinkedToken: EOF token text set. * com.unitesk.atp.tree.TreeClass is marked Serializable. * Tree.getRoot() -> Tree.getRootNode() * Tree.setRoot() -> Tree.setRootNode() treedl-1.1-050320: 'root' keyword and translation added For use from maven: maven-treedl-plugin-1.1-050320 ----- 'root' is new node type modifier. No more than one node type in tree description can have 'root' modifier. If there is such node type, generated tree class will have methods <RootNodeType> getRoot() ... setRoot( <RootNodeType> node ) ... that cast type and call Tree.getRoot()/setRoot() Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-03-18 16:25:08
|
Just released TreeDL.hrc version 0.0.1 Now it is possible to highlight syntax of TreeDL files in Eclipse IDE and FAR File Manager using Colorer library (http://colorer.sourceforge.net). Install Colorer plugin for Eclipse or FAR, download TreeDL-hrc-0.0.1.zip from http://sf.net/projects/treedl and follow instructions from included readme.txt file to add TreeDL support to Colorer plugin. Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-02-22 09:24:53
|
atplib-3.1-beta-2: ADD: com.unitesk.atp.dynattrs package: implementations of Attributed interface are marked Serializable ADD: TreePrinter separated from DumpAction. maven-treedl-plugin-1.1-beta-2: For atplib-3.1-beta-2 and treedl-1.1-beta-1 Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-02-16 13:58:41
|
TreeDL new release: *.1-beta-1 Changelist: atplib-3.1-beta-1: ADD: com.unitesk.atp.tree.Tree.properties file for usage in messages UPDATE: Node interface doesn't depend on Attributed interface now treedl-1.1-beta-1: ADD: possibility to cancel visitor pattern generation (tree property visitor.name="" ) UPDATE: Node interface not added to implemented interfaces list when custom base class for node used FIX: TDL.TreeDesc.DEFAULT_CLASS -> TDL.TreeDesc.DEFAULT_CLASS_PROPERTY UPDATE: getAttr(mask) methods renamed to checkAttr(mask) ADD: 'print' action and printer visitor ADD: C# codegeneration maven-treedl-plugin-1.1-beta-1: UPDATE: atplib-3.1-beta-1 and treedl-1.1-beta-1 used Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2005-01-20 11:23:59
|
Hi all, In upcoming 1.1 release in addition to C# generation and support library I want to improve configurability of translation. The main issues are: 1. Node interface. 2. Base class name. 3. Default base class name. 4. Visitor interface name. ----- 1. Node interface implements Attributed interface. In fact, there are no dependencies between these interfaces. If no objections will be raised, in atplib-3.0.1 only NodeClass (default node implementation class) will implement Attributed, not Node interface. 2. When base class name is specified, explicit "implements com.unitesk.atp.tree.Node" is added during translation of tree node. It seems to be not convenient when TreeDL is used only as model description, when standard interfaces not used. If no objections will be raised, in treedl-1.1 it will be cancelled. 3. 'default.class' global property in TreeDL tree description is used to specify base class for all node types without ": ..." part. It slightly conflicts with old behaviour - when 'default.class' property is not specified, NodeClass is used. Now, to cancel NodeClass usage, user need to specify [ default.class = "" ] What is better - the current or fair behaviour when user should specify default.class = "com.unitesk.atp.tree.NodeClass" to use good old default node implementation? 4. Visitor interface implementation (accept() method) is generated in all cases. But when base class that don't implement this interface is specified, it is not right. Now, if 'visitor.name' global property in TreeDL tree description is not specified, default name <TreeName>_Visitor is used. If no objections will be raised, in treedl-1.1, visitor interface implementation will be generated only if 'visitor.name' property is specified. I'm waiting for your feedback Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2004-11-23 17:22:52
|
TreeDL 1.0 just released. Artifact versions: treedl-1.0 atplib-3.0 maven-atplib-plugin-3.0 maven-treedl-plugin-1.0 Changes in notation: - predefined types added - identifiers escaped by @ not _ - no tree can be listed in base tree list more than once Tool changes: - default visit function called by methods of empty visitor - depth-first walker generation added - get(mask) method generated for enumeration types - bug 1061349 fixed Download location: https://sourceforge.net/project/showfiles.php?group_id=120633 Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2004-11-16 13:18:41
|
Hi there, At ANTLR mailing list we're arguing about various tree types (homogenous vs heterogenous) and tree processing (visitors vs tree parsing). If you are interested, check list archives http://groups.yahoo.com/group/antlr-interest/archives (subjects are 'summary of trip to Montreal/SableCC land' and 'Translators Should Use Tree Grammars') and article with the same name on ANTLR site http://www.antlr.org/article/1100569809276/use.tree.grammars.tml Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |
|
From: Alexey D. <de...@is...> - 2004-10-27 15:08:54
|
Hi all, 1. Step-by-step tutorial on TreeDL is available: How to create tool that process simple language for calculator. http://treedl.sourceforge.net/examples/calc/ 2. New releases can be downloaded from project page http://sourceforge.net/projects/treedl/ treedl-1.0-rc2 atplib-3.0-rc2 maven-atp-plugin-rc2 maven-treedl-plugin-rc3 Regards, Alexey ----- Alexey Demakov TreeDL: Tree Description Language: http://treedl.sourceforge.net RedVerst Group: http://www.unitesk.com |