Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
jared
/
ZenScript
форкнуто от
ZenScript/ZenScript
Следить
1
В избранное
0
Форкнуть
0
Код
Задачи
0
Pull Request'ы
0
Релизы
0
Вики
Активность
ZenScript main repository
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
151
коммит
7
веток
Дерево:
5c5a6c9e84
development
import_fix
map_fix
master
optional_fix
preproctest
stdlib
веток
Теги
${ item.name }
Создать ветку
${ searchTerm }
из '5c5a6c9e84'
${ noResults }
ZenScript
/
JavaSourceCompiler
/
src
/
main
/
java
/
org
/
openzen
/
zenscript
/
javasource
История
Stan Hebben
a02b2c2369
Added type preparation.
7 лет назад
..
scope
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
7 лет назад
BaseMemberCompiler.java
- Added support for implementations and method overriding
7 лет назад
ExpressionHoistingChecker.java
- Renamed enum constant index to ordinal
7 лет назад
FormattingUtils.java
Added type preparation.
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 type preparation.
7 лет назад
JavaExpansionMemberCompiler.java
Added type preparation.
7 лет назад
JavaMemberCompiler.java
Added type preparation.
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
Added type preparation.
7 лет назад
JavaSourceFile.java
Added type preparation.
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
Added type preparation.
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 лет назад
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 лет назад