ZenScript main repository
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Stan Hebben a02b2c2369 Added type preparation. vor 7 Jahren
..
scope WIP on refactoring code to reuse code between JavaBytecode and JavaSource vor 7 Jahren
BaseMemberCompiler.java - Added support for implementations and method overriding - Added override method header inference: if a method overrides or implements another method, and types are missing from the header, these will be inherited from the base method. This works with any kind of method (method, operator, getter, setter, caller) - Added method return type inference, which is automatically inferred from the return value of the contents of the method. This functionality is not yet fully implemented, and will fail with certain expressions (most notably, member expressions and calls). The goal is to make this system work as long as there is no recursion. This works with methods, operators, getters, calls as well as fields and constants with initializers. - Removed the any type. With return type inference its usefulness has become even more limited, and proper implementation of the any type is expected to be complicated, thus not worth the effort. (this may be revisited later on, as "any" remains a reserved keyword) - Fixed compilation of throw as panic expressions in lambda function bodies - Moved name from FunctionalMember to MethodMember, where it makes more sense - Each method (or functional) is now also aware of the member that it overrides vor 7 Jahren
ExpressionHoistingChecker.java - Renamed enum constant index to ordinal - Added ordinal to variant options - Added GetMatchingVariantField; from now on values retrieved from variant option fields in a match or case will result in such expression. This may make it easier for compilers. vor 7 Jahren
FormattingUtils.java Added type preparation. vor 7 Jahren
JavaCallCompiler.java - Added reference system and changed the way member instancing works. - Continued java source compilation implementation - Moved stdlib to a separate repository vor 7 Jahren
JavaDefinitionVisitor.java Added type preparation. vor 7 Jahren
JavaExpansionMemberCompiler.java Added type preparation. vor 7 Jahren
JavaMemberCompiler.java Added type preparation. vor 7 Jahren
JavaOperator.java - Added type aliasing - Changed the way modified types are processed - Added immutable keyword - Added expression, statement and type normalization - Improved naming of synthetic functions vor 7 Jahren
JavaSourceBuiltin.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren
JavaSourceBuiltinBinary.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren
JavaSourceBuiltinUnary.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren
JavaSourceCommentFormatter.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren
JavaSourceCompiler.java Added type preparation. vor 7 Jahren
JavaSourceContext.java Added type preparation. vor 7 Jahren
JavaSourceExpressionFormatter.java Added type preparation. vor 7 Jahren
JavaSourceFile.java Added type preparation. vor 7 Jahren
JavaSourceFormattingSettings.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren
JavaSourceImporter.java WIP on refactoring code to reuse code between JavaBytecode and JavaSource vor 7 Jahren
JavaSourceLambdaStatementCompiler.java - Added type aliasing - Changed the way modified types are processed - Added immutable keyword - Added expression, statement and type normalization - Improved naming of synthetic functions vor 7 Jahren
JavaSourceLambdaStatementFormatter.java - Added type aliasing - Changed the way modified types are processed - Added immutable keyword - Added expression, statement and type normalization - Improved naming of synthetic functions vor 7 Jahren
JavaSourceObjectTypeVisitor.java - Added support for implementations and method overriding - Added override method header inference: if a method overrides or implements another method, and types are missing from the header, these will be inherited from the base method. This works with any kind of method (method, operator, getter, setter, caller) - Added method return type inference, which is automatically inferred from the return value of the contents of the method. This functionality is not yet fully implemented, and will fail with certain expressions (most notably, member expressions and calls). The goal is to make this system work as long as there is no recursion. This works with methods, operators, getters, calls as well as fields and constants with initializers. - Removed the any type. With return type inference its usefulness has become even more limited, and proper implementation of the any type is expected to be complicated, thus not worth the effort. (this may be revisited later on, as "any" remains a reserved keyword) - Fixed compilation of throw as panic expressions in lambda function bodies - Moved name from FunctionalMember to MethodMember, where it makes more sense - Each method (or functional) is now also aware of the member that it overrides vor 7 Jahren
JavaSourceStatementCompiler.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren
JavaSourceStatementFormatter.java WIP on refactoring code to reuse code between JavaBytecode and JavaSource vor 7 Jahren
JavaSourceSyntheticHelperGenerator.java Added type preparation. vor 7 Jahren
JavaSourceSyntheticTypeGenerator.java WIP on new tags, refactoring & tag preparation system. vor 7 Jahren
JavaSourceTarget.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren
JavaSourceTargetType.java - Improving compilation system to have compilation targets - Added run & build functionality to the IDE - Fixed an error in match expressions - WIP on compiling to Java source files vor 7 Jahren
JavaSourceTypeVisitor.java WIP on new tags, refactoring & tag preparation system. vor 7 Jahren
JavaSourceUtils.java - Added type aliasing - Changed the way modified types are processed - Added immutable keyword - Added expression, statement and type normalization - Improved naming of synthetic functions vor 7 Jahren
JavaSwitchValueCompiler.java - Moved package zenscript.shared to zencode.shared - Compiled shared from ZenCode vor 7 Jahren
ParentStatementType.java - Refactored some formatting things to be reusable for source code translation targets - Removed generic compare - Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types - Added java source code compilation - Added throw expression, allowing a throw to be formulated as expression (handy inside matches) vor 7 Jahren