ZenScript main repository
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Stan Hebben 9c3aa8efc3 - All definitions are now also module-aware (will be use for binary module serialization & access checks) 7 年前
..
scope WIP on refactoring code to reuse code between JavaBytecode and JavaSource 7 年前
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 7 年前
ExpressionHoistingChecker.java - Added usize as basic type - Ranges now only have a single base type; from and to must be the same type - Adjusted builtins and stdlib to use usize where applicable - Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies 7 年前
FormattingUtils.java - All definitions are now also module-aware (will be use for binary module serialization & access checks) - Fixing function expressions not being properly linked to their functional interface 7 年前
JavaCallCompiler.java - Added reference system and changed the way member instancing works. - Continued java source compilation implementation - Moved stdlib to a separate repository 7 年前
JavaDefinitionVisitor.java - Added usize as basic type - Ranges now only have a single base type; from and to must be the same type - Adjusted builtins and stdlib to use usize where applicable - Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies 7 年前
JavaExpansionMemberCompiler.java - Added usize as basic type - Ranges now only have a single base type; from and to must be the same type - Adjusted builtins and stdlib to use usize where applicable - Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies 7 年前
JavaMemberCompiler.java - Added usize as basic type - Ranges now only have a single base type; from and to must be the same type - Adjusted builtins and stdlib to use usize where applicable - Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies 7 年前
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 7 年前
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) 7 年前
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) 7 年前
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) 7 年前
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) 7 年前
JavaSourceCompiler.java Added type preparation. 7 年前
JavaSourceContext.java Added type preparation. 7 年前
JavaSourceExpressionFormatter.java - Fix missing shift operators in some integer types - Fix some problems when comparing a long with an int or ulong with uint - Add signed-unsigned implicit array conversion (sbyte[] <-> byte[], short[] <-> ushort[], int[] <-> uint[], long[] <-> ulong[]) - Fix bug when copying multiple lines from the source editor - Added string <-> byte[] conversion operations - Fix unsigned arrays, use compact representations - Added suffixes & custom suffixes - Added 0x 0b 0o for hex, binary and octal notation 7 年前
JavaSourceFile.java - Added usize as basic type - Ranges now only have a single base type; from and to must be the same type - Adjusted builtins and stdlib to use usize where applicable - Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies 7 年前
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) 7 年前
JavaSourceImporter.java - Fix missing shift operators in some integer types - Fix some problems when comparing a long with an int or ulong with uint - Add signed-unsigned implicit array conversion (sbyte[] <-> byte[], short[] <-> ushort[], int[] <-> uint[], long[] <-> ulong[]) - Fix bug when copying multiple lines from the source editor - Added string <-> byte[] conversion operations - Fix unsigned arrays, use compact representations - Added suffixes & custom suffixes - Added 0x 0b 0o for hex, binary and octal notation 7 年前
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 7 年前
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 7 年前
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 7 年前
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) 7 年前
JavaSourceStatementFormatter.java - Changed class hierarchy for getters and setters. - Rewrote iterator implementation 7 年前
JavaSourceSyntheticHelperGenerator.java Fixed results from generic methods not being cast to the right type. Also fixed some bugs related to variants and added the variant value creation syntax VariantName.Option(arguments). 7 年前
JavaSourceSyntheticTypeGenerator.java - Added usize as basic type - Ranges now only have a single base type; from and to must be the same type - Adjusted builtins and stdlib to use usize where applicable - Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies 7 年前
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) 7 年前
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 7 年前
JavaSourceTypeVisitor.java - Added usize as basic type - Ranges now only have a single base type; from and to must be the same type - Adjusted builtins and stdlib to use usize where applicable - Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies 7 年前
JavaSourceUtils.java - All definitions are now also module-aware (will be use for binary module serialization & access checks) - Fixing function expressions not being properly linked to their functional interface 7 年前
JavaSwitchValueCompiler.java - Moved package zenscript.shared to zencode.shared - Compiled shared from ZenCode 7 年前
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) 7 年前