使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
jared
/
ZenScript
派生自
ZenScript/ZenScript
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
ZenScript main repository
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
128
提交
7
分支
目录树:
f04850f397
development
import_fix
map_fix
master
optional_fix
preproctest
stdlib
分支列表
标签列表
${ item.name }
创建分支
${ searchTerm }
从 'f04850f397'
${ noResults }
ZenScript
/
ScriptingExample
/
src
/
main
/
java
/
org
/
openzen
/
zenscript
/
scriptingexample
文件历史
Stan Hebben
fcbeffd781
- Changed the way types in the currently compiling module are resolved
- Updating Shared with a new compiled version - Fixed some java source generation bugs
6 年前
..
FileContents.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 年前
GlobalRegistry.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 年前
Main.java
- Changed the way types in the currently compiling module are resolved - Updating Shared with a new compiled version - Fixed some java source generation bugs
6 年前