This website works better with JavaScript.
홈
탐색
도움말
로그인
jared
/
ZenScript
원본 프로젝트 :
ZenScript/ZenScript
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
Activity
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.
131
커밋
7
브랜치
트리:
62d5db3fc0
development
import_fix
map_fix
master
optional_fix
preproctest
stdlib
브랜치
태그
${ item.name }
Create branch
${ searchTerm }
from '62d5db3fc0'
${ noResults }
ZenScript
/
JavaSourceCompiler
/
src
/
main
/
java
/
org
/
openzen
/
zenscript
/
javasource
히스토리
Stan Hebben
62d5db3fc0
WIP on new tags, refactoring & tag preparation system.
7 년 전
..
prepare
WIP on new tags, refactoring & tag preparation system.
7 년 전
scope
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
7 년 전
tags
WIP on new tags, refactoring & tag preparation system.
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
- 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.
7 년 전
FormattingUtils.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 년 전
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
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
7 년 전
JavaExpansionMemberCompiler.java
- Fixed issues with closeables - WIP on improving iterable implementations - Added validation of implementation completeness - Added definition normalization (now also adds destructors as necessary) - Fix interfaces with base interfaces
7 년 전
JavaMemberCompiler.java
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
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
WIP on new tags, refactoring & tag preparation system.
7 년 전
JavaSourceContext.java
WIP on new tags, refactoring & tag preparation system.
7 년 전
JavaSourceExpressionFormatter.java
WIP on new tags, refactoring & tag preparation system.
7 년 전
JavaSourceFile.java
WIP on new tags, refactoring & tag preparation system.
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
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
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
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
7 년 전
JavaSourceSyntheticHelperGenerator.java
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
7 년 전
JavaSourceSyntheticTypeGenerator.java
WIP on new tags, refactoring & tag preparation system.
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 년 전
JavaSourceTypeNameVisitor.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 년 전
JavaSourceTypeVisitor.java
WIP on new tags, refactoring & tag preparation system.
7 년 전
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
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 년 전