Skip to content

Commit a89e38e

Browse files
committed
0.10.8 - Renamed project from JParserTools -> JParseCode, moved plugin-js/ -> plugins/node-js/, updated dependencies.
1 parent ee313a3 commit a89e38e

10 files changed

+66
-58
lines changed

.classpath

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="plugins"/>
45
<classpathentry kind="src" path="test"/>
5-
<classpathentry kind="src" path="plugin-js"/>
66
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
77
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
88
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/ANTLR"/>
@@ -22,7 +22,6 @@
2222
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jfile-io/bin/jfile_io.jar" sourcepath="/JFileIo"/>
2323
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jfunc/bin/jfunc.jar" sourcepath="/JFunc"/>
2424
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jinterfaces/bin/jinterfaces.jar" sourcepath="/JInterfaces"/>
25-
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jparser-data-type-like/bin/jparser_data_type_like.jar" sourcepath="/JParserDataTypeLike"/>
2625
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jprimitive-collections/bin/jprimitive_collections.jar" sourcepath="/JPrimitiveCollections"/>
2726
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jrange/bin/jrange.jar" sourcepath="/JRange"/>
2827
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jsimple-types/bin/jsimple_types.jar" sourcepath="/JSimpleTypes/src"/>
@@ -34,5 +33,6 @@
3433
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jtree-walker/bin/jtree_walker.jar" sourcepath="/JTreeWalker"/>
3534
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jtuples/bin/jtuples.jar" sourcepath="/JTuples"/>
3635
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jtwg2-logging/bin/jtwg2_logging.jar" sourcepath="/JTwg2Logging"/>
36+
<classpathentry kind="lib" path="C:/Users/TeamworkGuy2/Documents/Java/Libraries/jparse-primitive/bin/jparse_primitive.jar" sourcepath="/JParsePrimitive"/>
3737
<classpathentry kind="output" path="bin"/>
3838
</classpath>

CHANGELOG.md

+55-47
Original file line numberDiff line numberDiff line change
@@ -4,98 +4,106 @@ This project does its best to adhere to [Semantic Versioning](http://semver.org/
44

55

66
--------
7-
###[0.10.7](N/A) - 2016-08-28
8-
####Added
7+
###[0.10.8](N/A) - 2016-09-02
8+
#### Changed
9+
* Updated dependency, switched jparser-data-type-like (now deprecated/removed) to jparse-primitive which is a separate project containing just the primitive parsing code from jparser-data-type-like
10+
* Renamed project from JParserTools -> JParseCode
11+
* Moved plugin-js/ -> plugin/node-js/
12+
13+
14+
--------
15+
###[0.10.7](https://github.com/TeamworkGuy2/JParseCode/commit/ee313a3fe1bfe4e4be59c85b5997c5b13c26d1c8) - 2016-08-28
16+
#### Added
917
* Added jdate-times dependency (since dependent date/time code was moved from jdata-util and jparser-data-type-like to jdate-times)
1018

11-
####Changed
19+
#### Changed
1220
* Updated dependencies to latest version
1321

1422

1523
--------
16-
###[0.10.6](https://github.com/TeamworkGuy2/JParserTools/commit/d1099ba9ef35ff0109c2c923044efe2219bd061d) - 2016-08-27
17-
####Changed
24+
###[0.10.6](https://github.com/TeamworkGuy2/JParseCode/commit/d1099ba9ef35ff0109c2c923044efe2219bd061d) - 2016-08-27
25+
#### Changed
1826
* Fixed version numbers and jackson-* dependency names in package-lib.json
1927

2028

2129
--------
22-
###[0.10.5](https://github.com/TeamworkGuy2/JParserTools/commit/d2efb99774df457392525dbdf4341c438fb20160) - 2016-08-21
23-
####Changed
30+
###[0.10.5](https://github.com/TeamworkGuy2/JParseCode/commit/d2efb99774df457392525dbdf4341c438fb20160) - 2016-08-21
31+
#### Changed
2432
* Added JCollectionBuilders and JTuples dependencies
2533
* Updated jcollection-util to latest 0.7.x version (removed twg2.collections.builder and twg2.collections.tuple)
2634

2735

2836
--------
29-
###[0.10.4](https://github.com/TeamworkGuy2/JParserTools/commit/5a3686f828a91eac9896755fb8f6ee8d888b3ca7) - 2016-08-18
30-
####Changed
37+
###[0.10.4](https://github.com/TeamworkGuy2/JParseCode/commit/5a3686f828a91eac9896755fb8f6ee8d888b3ca7) - 2016-08-18
38+
#### Changed
3139
* Updated jdata-util to latest 0.3.x version (EnumUtil renamed ErrorUtil, TimeUnitUtil package name changed)
3240
* Fixed compiled jar path and name
3341

3442

3543
--------
36-
###[0.10.3](https://github.com/TeamworkGuy2/JParserTools/commit/5e2e75da19451f6e99427405b6b04f844fb260de) - 2016-08-07
37-
####Changed
44+
###[0.10.3](https://github.com/TeamworkGuy2/JParseCode/commit/5e2e75da19451f6e99427405b6b04f844fb260de) - 2016-08-07
45+
#### Changed
3846
* Updated jcollection-util to latest 0.5.x version
3947
* Updated jfile-io to latest 0.6.x version (SourceInfo renamed to DirectorySearchInfo)
4048
* Updated jtext-util to latest 0.10.x version (some classes moved to new twg2.text.stringSearch package)
4149
* Added jcollection-interfaces dependency
4250

4351

4452
--------
45-
###[0.10.2](https://github.com/TeamworkGuy2/JParserTools/commit/719509161f795fbafc56c8beefd51562103b6cb7) - 2016-06-21
46-
####Added
53+
###[0.10.2](https://github.com/TeamworkGuy2/JParseCode/commit/719509161f795fbafc56c8beefd51562103b6cb7) - 2016-06-21
54+
#### Added
4755
* plugin-js to help generate CLI strings from TypeScript/Javascript projects, with Node.js in mind
4856
* Readme section about the CLI
4957

5058

5159
--------
52-
###[0.10.1](https://github.com/TeamworkGuy2/JParserTools/commit/5cdf7fabab17d8d9d8037c83c29047979a6438e7) - 2016-05-13
53-
####Changed
60+
###[0.10.1](https://github.com/TeamworkGuy2/JParseCode/commit/5cdf7fabab17d8d9d8037c83c29047979a6438e7) - 2016-05-13
61+
#### Changed
5462
* Merged DocumentFragmentRef with DocumentFragmentText
5563
* Added some documentation
5664
* Fixed some code warnings
5765
* Moved full class parsing tests to twg2.parser.codeParser.test
5866

59-
####Fixed
67+
#### Fixed
6068
* Bug in annotation named parameter parsing when annotation only had one parameter
6169
* Bug in C# property parsing not supporting field modifiers (i.e. 'private', 'protected', ...)
6270

63-
####Removed
71+
#### Removed
6472
* DocumentFragmentRef (merged with DocumentFragmentText)
6573

6674

6775
--------
68-
###[0.10.0](https://github.com/TeamworkGuy2/JParserTools/commit/3e8a324ccada6af273339e6f29ae569795e3abcd) - 2016-04-12
69-
####Added
76+
###[0.10.0](https://github.com/TeamworkGuy2/JParseCode/commit/3e8a324ccada6af273339e6f29ae569795e3abcd) - 2016-04-12
77+
#### Added
7078
* Added better annotation parsing, including support for negative numbers as arguments
7179
* Added CodeFragment which extends 'DocumentFragmentText<CodeFragmentType>' so don't have to keep typing that every time, updated most of the code to use CodeFragment
7280
* Added OperatorUtil and Operator (with C# and Java implementation enums) similar to the existing Keyword enums
7381

74-
####Changed
82+
#### Changed
7583
* Refactored how we use EnumSubSet and enum sub-categorization
7684
* Added CodeFragmentEnumSubSet with is() and parse() methods which accept CodeFragment nodes (we were starting to duplicate this parsing code in Keyword and the new Operator class, so moved it to a reusable class)
7785
* Removed KeywordUtil isXyzKeyword() and parseXyzKeyword() methods in favor of methods that return CodeFragmentEnumSubSet instances for each of the keyword categories (i.e. 'blockModifiers()' or 'operators()')
7886
* Moved twg2.parser.codeParser extractor classes (i.e. AccessModifierExtractor or BlockExtractor) to new twg2.parser.codeParser.extractors package
7987

80-
####Fixed
88+
#### Fixed
8189
* ParserWorkflow now generates and groups all results by destination file before writing (previously a writer was opened in overwrite mode for each destination group, thereby overwriting data written to the same file by a previous destination group during the same program execution)
8290

8391

8492
--------
85-
###[0.9.0](https://github.com/TeamworkGuy2/JParserTools/commit/679778bafd13a413854bd169cabe747b12bbc894) - 2016-03-20
86-
####Added
93+
###[0.9.0](https://github.com/TeamworkGuy2/JParseCode/commit/679778bafd13a413854bd169cabe747b12bbc894) - 2016-03-20
94+
#### Added
8795
* Added commented parsing for comments attached to methods and fields (future TODO: add comment parsing for comments attached to classes and namespaces)
8896

89-
####Changed
97+
#### Changed
9098
* Renamed intermAst packages to 'twg2.ast.interm'
9199
* Renamed most AST classes, removed 'interm' from the name
92100
* Moved type resolution out of AST classes into new 'twg2.parser.resolver' classes (i.e. ClassSigResolver, FieldSigResolver, etc.)
93101
* Created 'twg2.parser.language' package for code language management classes
94102

95103

96104
--------
97-
###[0.8.0](https://github.com/TeamworkGuy2/JParserTools/commit/32ee2a5ec5c218d3f90d1438f893a86e34b9c716) - 2016-02-28
98-
####Changed
105+
###[0.8.0](https://github.com/TeamworkGuy2/JParseCode/commit/32ee2a5ec5c218d3f90d1438f893a86e34b9c716) - 2016-02-28
106+
#### Changed
99107
Move from assuming that conditions can list the initial chars that match them (CharParser.WithMarks.getMatchFirstChars()) to CharParserMatchable and new getFirstCharMatcher() method which allows for a flexible definition of matching first chars
100108
* Moved/renamed ParserWorkFlow SourceInfo and LoadResult \(renamed to SourceFiles) nested classes and ParserMain.getFilesByExtension() to [JFileIo] (https://github.com/TeamworkGuy2/JFileIo) library
101109
* Moved twg2.parser.output JsonWrite and JsonWritable to JFileIO project's twg2.io.write package
@@ -105,33 +113,33 @@ Move from assuming that conditions can list the initial chars that match them (C
105113

106114

107115
--------
108-
###[0.7.0](https://github.com/TeamworkGuy2/JParserTools/commit/218036c37673615e6bced0eecfb8a9b7d6eb7808) - 2016-02-24
109-
####Changed
116+
###[0.7.0](https://github.com/TeamworkGuy2/JParseCode/commit/218036c37673615e6bced0eecfb8a9b7d6eb7808) - 2016-02-24
117+
#### Changed
110118
* Updated to latest version of JTextParser and JStreamish
111119
* Switched from StringLineSupplier for reading lines from a source string to CharLineSupplier (slightly less garbage generated due to less conversion between strings and char arrays)
112120
* By default, annotation arguments map is include in toJson() output even if empty
113121
* ITrackSearchService.cs test file was using '\r' for newlines, replaced with '\n'
114122
* Moved twg2.parser.test package to separate test directory
115123

116-
####Fixed
124+
#### Fixed
117125
* Fixed toJson() not formatting generic types correctly
118126

119127

120128
--------
121-
###[0.6.0](https://github.com/TeamworkGuy2/JParserTools/commit/5ae0793feb0475654bbdf835ef5d350e91cdd438) - 2016-02-21
122-
####Added
129+
###[0.6.0](https://github.com/TeamworkGuy2/JParseCode/commit/5ae0793feb0475654bbdf835ef5d350e91cdd438) - 2016-02-21
130+
#### Added
123131
* Added numeric literal parsing \(i.e. '23' or '1.5f')
124132
* Added field and method access modifier parsing \(i.e. public, static, synchronized, volatile)
125133

126-
####Changed
134+
#### Changed
127135
* Fields now write their annotations when toJson\() is called
128136
* Changed JsonWrite method names to help differentiate their purposes
129137
* Update to use latest version of multiple libraries, including: JFileIo, JStreamish, JTextParser, and JParserDataTypeLike
130138

131139

132140
--------
133-
###[0.5.0](https://github.com/TeamworkGuy2/JParserTools/commit/eea353c111f789b315ab5471661c6a305c0701d2) - 2016-02-09
134-
####Added
141+
###[0.5.0](https://github.com/TeamworkGuy2/JParseCode/commit/eea353c111f789b315ab5471661c6a305c0701d2) - 2016-02-09
142+
#### Added
135143
* Added array type parsing, \(i.e. 'int\[]\[]')
136144
* Added some more tests
137145

@@ -141,47 +149,47 @@ Move from assuming that conditions can list the initial chars that match them (C
141149

142150

143151
--------
144-
###[0.4.0](https://github.com/TeamworkGuy2/JParserTools/commit/ab23d86656221e6b1a540d7129446b08c808aca4) - 2016-01-16
145-
####Changed
152+
###[0.4.0](https://github.com/TeamworkGuy2/JParseCode/commit/ab23d86656221e6b1a540d7129446b08c808aca4) - 2016-01-16
153+
#### Changed
146154
* Moved twg2.parser.condition.AstParser -> twg2.parser.baseAst.AstParser
147155
* Modified CodeLanguageOptions, so implementation class is a sub-class and CodeLanguageOptions contains only static fields and methods
148156

149-
####Removed
157+
#### Removed
150158
* Removed unused twg2.parser.documentParser.block package
151159

152-
####Fixed
160+
#### Fixed
153161
* Fixed a regression in C# method signature parsing
154162

155163

156164
--------
157-
###[0.3.0](https://github.com/TeamworkGuy2/JParserTools/commit/0b7128980ba31623d17f85d9f10bd4d99bd1288e) - 2016-01-16
158-
####Added
165+
###[0.3.0](https://github.com/TeamworkGuy2/JParseCode/commit/0b7128980ba31623d17f85d9f10bd4d99bd1288e) - 2016-01-16
166+
#### Added
159167
* __Java parsing support and tests.__
160168
* Added Keyword interface for generic language keyword operations such as isKeyword(), isBlockModifierKeyword(), isDataTypeKeyword(), etc.
161169

162-
####Changed
170+
#### Changed
163171
* Made interm parsing more generic, added a bunch of parser creator functions to AstExtractor. Converted some of the C# interm parsers into more generic parsers to be used by C# and Java (see BaseFieldExtractor, BaseMethodExtractor, BaseMethodParametersParser)
164172
* Renamed getFullyQualifyingName() methods to getFullName(), (note: this may change again in future, possibly to getFqName())
165173
* Moved and renamed ParserCondition, Precondition -> ParserFactory, TokenParserCondition -> TokenParser, CharParserCondition -> CharParser, and ParserStartChars to the [JTextParser] (https://github.com/TeamworkGuy2/JTextParser) project
166174
* Simplified CharConditions and StringConditions sub-class names (i.e. StringConditions.StringStartFilter -> StringConditions.Start)
167175

168176

169177
--------
170-
###[0.2.1](https://github.com/TeamworkGuy2/JParserTools/commit/a33f37ad6a116e7e697498af88327dfaa46709a0) - 2016-01-13
171-
####Added
178+
###[0.2.1](https://github.com/TeamworkGuy2/JParseCode/commit/a33f37ad6a116e7e697498af88327dfaa46709a0) - 2016-01-13
179+
#### Added
172180
* Simple C# parse example with resulting JSON. Added and refactored some test cases.
173181

174182

175183
--------
176-
###[0.2.0](https://github.com/TeamworkGuy2/JParserTools/commit/5b692bc3476ca94c6dedb5b6424d1319fcad2057) - 2016-01-12
177-
####Added
184+
###[0.2.0](https://github.com/TeamworkGuy2/JParseCode/commit/5b692bc3476ca94c6dedb5b6424d1319fcad2057) - 2016-01-12
185+
#### Added
178186
* __Finished command line interface (CLI) argument parsing for ['sources', 'destinations', 'log'] and ParserWorkflow.__
179187

180-
####Changed
188+
#### Changed
181189
* Simplified CodeFileSrc generic signature. Added interfaces and setup entire parsing process to be generic (added CodeLanguage.getExtractor() and AstExtractor interface).
182190
* Refactored C# classes to support this more generic approach.
183191
* Added Simple and Resolved sub-classes of ProjectClassSet. Renamed CsMain -> ParserMain.
184192
* Added some additional EclipseClasspathFile/Utils methods for finding project dependencies.
185193

186-
####Removed
194+
#### Removed
187195
* Removed IntermClass.getBlockTree(), it should be tracked higher up in the parsing process.

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ParserToolsTmp
1+
JParseCode
22
==============
3-
version: 0.10.7
3+
version: 0.10.8
44

55
In progress C#/Java/TypeScript parser tools built atop [JTextParser] (https://github.com/TeamworkGuy2/JTextParser), [Jackson] (https://github.com/FasterXML/jackson-core/) (core, databind, annotations) and half a dozen other utility libraries.
66

@@ -182,7 +182,7 @@ JSON Result (printed to System.out):
182182
Command Line Interface (CLI):
183183
A command line call looks like:
184184
```
185-
path/to/java -jar path/to/jparser-tools.jar
185+
path/to/java -jar path/to/jparse-code.jar
186186
-sources './src/java/Server/Services=1,[cs];./src/java/Server/Models=3,[cs]'
187187
-destinations './output/Services.json=[App.Services];./output/Models.json=[App.Entities]'
188188
-log './output/parser.log'
@@ -220,4 +220,4 @@ Example: ```/project/output/parser-log.log```
220220

221221
--------
222222
Plugins:
223-
Currently there is one plugin, a dual purpose TypeScript/Javascript plugin for create the CLI argument strings used by jparser-tools.jar
223+
Currently there is one plugin, a dual purpose TypeScript/Javascript plugin for create the CLI argument strings used by jparse-code.jar
Binary file not shown.
334 KB
Binary file not shown.

package-lib.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"version" : "0.10.7",
3-
"name" : "jparser-tools",
2+
"version" : "0.10.8",
3+
"name" : "jparse-code",
44
"description" : "An in-progress suite of parsing tools for C#, Java, and TypeScript source code",
5-
"homepage" : "https://github.com/TeamworkGuy2/JFileIo",
5+
"homepage" : "https://github.com/TeamworkGuy2/JParseCode",
66
"license" : "MIT",
7-
"main" : "./bin/jparser_tools.jar",
7+
"main" : "./bin/jparse_code.jar",
88
"dependencies" : {
99
"data-transfer": "*",
1010
"jackson-annotations": "~2.5.0",
@@ -17,7 +17,7 @@
1717
"jfile-io": "*",
1818
"jfunc": "*",
1919
"jinterfaces": "*",
20-
"jparser-data-type-like": "*",
20+
"jparse-primitive": "*",
2121
"jprimitive-collections": "*",
2222
"jrange": "*",
2323
"jsimple-types": "*",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)