<commit_before>Declarative specification of Java's static semantics.
Syntax is specified in SDF, AST transformations in Stratego, name binding in NaBL, and type analysis in TS.

Each directory contains specifications for a section of the Java language:

* arrays  - Syntax for array initializers.
* classes - Class, method, constructor, field and enum declarations
* expressions - All expressions
* interfaces - Interface, abstract method, constant and annotation declarations
* lexical - Lexical syntax for identifiers, comments, layout, etc.
* literals - Boolean, numerical, string, and null literals
* names - References to definitions of names
* packages - Compilation unit, package, and import declarations
* statements - All statements
* types - Primitive and reference types, widening and narrowing of these types, numerical promotions, and other kinds of conversions between types

In each directory, there are 4 possible subdirectories:

* syntax - Syntax definitions in SDF2
* trans - Transformation definitions in Stratego
* names - Name binding definitions in NaBL
* types - Type system definitions in TS

Note that the name of this directory, Java-1.5, only indicates that the syntax is of Java 5.
Our name and type specification does __not__ support the following features from Java 5 yet:

* Enum declarations
* Annotation declarations
* Type parameters (generics)
* Boxing/unboxing
* Foreach loop
* Static imports<commit_msg>Link to conformance test.<commit_after>Declarative specification of Java's static semantics.
Syntax is specified in SDF, AST transformations in Stratego, name binding in NaBL, and type analysis in TS.

Each directory contains specifications for a section of the Java language:

* arrays  - Syntax for array initializers.
* classes - Class, method, constructor, field and enum declarations
* expressions - All expressions
* interfaces - Interface, abstract method, constant and annotation declarations
* lexical - Lexical syntax for identifiers, comments, layout, etc.
* literals - Boolean, numerical, string, and null literals
* names - References to definitions of names
* packages - Compilation unit, package, and import declarations
* statements - All statements
* types - Primitive and reference types, widening and narrowing of these types, numerical promotions, and other kinds of conversions between types

In each directory, there are 4 possible subdirectories which contain an aspect of the static semantics:

* syntax - Syntax definitions in SDF2
* trans - Transformation definitions in Stratego
* names - Name binding definitions in NaBL
* types - Type system definitions in TS

The conformance test against the JDT is located at: [../../../java-conformance](../../../java-conformance).

Note that the name of this directory, Java-1.5, only indicates that the syntax is of Java 5.
Our name and type specification does __not__ support the following features from Java 5 yet:

* Enum declarations
* Annotation declarations
* Type parameters (generics)
* Boxing/unboxing
* Foreach loop
* Static imports
{'fraction_non_alphanumeric': 0.05670272041953458, 'fraction_numerical': 0.003933136676499509, 'mean_word_length': 4.683426443202979, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4027729', 'n_tokens_mistral': 758, 'n_tokens_neox': 693, 'n_words': 388}