ZenScript main repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stan Hebben 17a2cadf8a - Annotations are now serializable 6 lat temu
..
annotations - Annotations are now serializable - Fixed various serialization bugs, continuing work on serializer 6 lat temu
context - Improve work on the serializer and fixed some code issues that came up with them. - Start work on the deserializer 6 lat temu
definition - Improve work on the serializer and fixed some code issues that came up with them. - Start work on the deserializer 6 lat temu
expression - Improve work on the serializer and fixed some code issues that came up with them. - Start work on the deserializer 6 lat temu
generic - Added visitors with context - WIP on the module serializer 6 lat temu
member - Annotations are now serializable - Fixed various serialization bugs, continuing work on serializer 6 lat temu
partial 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). 6 lat temu
processor - Added annotation support 6 lat temu
scope - Improve work on the serializer and fixed some code issues that came up with them. - Start work on the deserializer 6 lat temu
serialization - Annotations are now serializable - Fixed various serialization bugs, continuing work on serializer 6 lat temu
statement - Improve work on the serializer and fixed some code issues that came up with them. - Start work on the deserializer 6 lat temu
type - Improve work on the serializer and fixed some code issues that came up with them. - Start work on the deserializer 6 lat temu
CompareType.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) 6 lat temu
FunctionHeader.java - Improve work on the serializer and fixed some code issues that came up with them. - Start work on the deserializer 6 lat temu
FunctionParameter.java - Fixed numerous issues with undetermined types, type inference, type aliases, inner types and generic types - Distinguished between type resolution and code compilation stages, both have a different context now - Added new concepts: "compiling type" and "compiling package", which is able to precompile correctly now - Rewrote the way precompilation works; precompilation no longer exists, instead, compilation order of methods is changed. This reduces the amount of code needed and improves quality of the system. - Fixed members of base interfaces not being available to implementation code - Changed the way type modifiers are coded 6 lat temu
GenericMapper.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). 6 lat temu
HighLevelDefinition.java - Added visitors with context - WIP on the module serializer 6 lat temu
Modifiers.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 6 lat temu
Module.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 6 lat temu
ModuleProcessor.java - Added annotation support - Removed some redundant types - Moved scopes to CodeModel and removed Linker - Added const members and expression support for them - Added statement transformation (can be used by annotations) 6 lat temu
OperatorType.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) 6 lat temu
PackageDefinitions.java Initial commit. 7 lat temu
ScriptBlock.java WIP on refactoring code to reuse code between JavaBytecode and JavaSource 6 lat temu
WhitespaceInfo.java - Moved package zenscript.shared to zencode.shared - Compiled shared from ZenCode 6 lat temu
WhitespacePostComment.java - Moved package zenscript.shared to zencode.shared - Compiled shared from ZenCode 6 lat temu