Skip to content

Commit

Permalink
README: update
Browse files Browse the repository at this point in the history
  • Loading branch information
egorklementev committed May 25, 2022
1 parent 0795314 commit bd3433c
Showing 1 changed file with 41 additions and 13 deletions.
54 changes: 41 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,22 +138,50 @@ Translations:
- [inheritance](src/test/resources/awesome_bugs/eo/inheritance)
- [unjustifiedAssumption](src/test/resources/awesome_bugs/eo/unjustifiedAssumption)

---

## Examples of Java to EOLang translation

We use Java language specification document as a foundation for Java feature hierarchy.
Java 16 language specification: [see .pdf file](https://docs.oracle.com/javase/specs/jls/se16/jls16.pdf)

Ch. 4 - Types, Values, and Variables
Ch. 5 - Conversions and Contexts
Ch. 6 - Names
Ch. 7 - Packages and Modules [WIP]
Ch. 8 - Classes
Ch. 9 - Interfaces
Ch. 10 - Arrays
Ch. 11 - Exceptions [WIP]
Ch. 14 - Block Statements, and Patterns
Ch. 15 - Expressions
Ch. 16 - Definite Assignments [WIP]
Ch. 17 - Threads and Locks [EO support?]
Ch. 18 - Type inference [WIP]
### Ch. 4 - Types, Values, and Variables
[Ch. 4 - Types, Values, and Variables](src/test/resources/test_ready/ch_4_types_values_variables)
Key examples:
- Increment operator:
- [Java](src/test/resources/test_ready/ch_4_types_values_variables/sec_4_2_primitive_types_and_values/sec_4_2_2_integer_operations/IncrementOperator.java)
- [EO](src/test/resources/translated_tests/ch_4_types_values_variables/sec_4_2_primitive_types_and_values/sec_4_2_2_integer_operations/IncrementOperator.eo)

### Ch. 5 - Conversions and Contexts
[Ch. 5 - Conversions and Contexts](src/test/resources/test_ready/ch_5_conversions_and_contexts)

### Ch. 6 - Names
[Ch. 6 - Names](src/test/resources/test_ready/ch_6_names)

### Ch. 7 - Packages and Modules WIP
[Ch. 7 - Packages and Modules WIP](src/test/resources/test_ready/ch_7_packages_and_modules)

### Ch. 8 - Classes
[Ch. 8 - Classes](src/test/resources/test_ready/ch_8_classes)

### Ch. 9 - Interfaces
[Ch. 9 - Interfaces](src/test/resources/test_ready/ch_9_interfaces)

### Ch. 10 - Arrays
[Ch. 10 - Arrays](src/test/resources/test_ready/ch_10_arrays)

### Ch. 11 - Exceptions WIP
[Ch. 11 - Exceptions WIP](src/test/resources/test_ready/ch_11_exceptions)

### Ch. 14 - Block Statements, and Patterns
[Ch. 14 - Block Statements, and Patterns](src/test/resources/test_ready/ch_14_blocks_statements_and_patterns)

### Ch. 15 - Expressions
[Ch. 15 - Expressions](src/test/resources/test_ready/ch_15_expressions)

### Ch. 16 - Definite Assignments WIP
[Ch. 16 - Definite Assignments WIP](src/test/resources/test_ready/ch_16_definite_assignment)

### Ch. 18 - Type inference WIP
[Ch. 18 - Type inference WIP](src/test/resources/test_ready/ch_18_type_inference)

0 comments on commit bd3433c

Please sign in to comment.