Jared
b10277cda2
Made the JavaClass#Iterator a supplier, fixes multiple engine runs
преди 5 години
Jared
aaca0261f1
Removed some unneeded static fields
преди 5 години
kindlich
a3eea65869
Added all registered modules to the compile space
преди 5 години
kindlich
7b39160a6c
Revert change on ParsedConstructor
I don't think this is the correct call here.
Just that a constructor has no argument does not mean it is a propagated default constructor.
преди 5 години
kindlich
ee59ddba30
Merge remote-tracking branch 'jared/stdlib' into development
преди 5 години
kindlich
fb3382704d
Skip non-linear interface implementations for Native classes
Fixes an issue where Std::List would implement Iterable and therefore break the scripts.
преди 5 години
kindlich
187a509863
Set Definition Type members in JavaPrepareDefinitionVisitor
fixes issue about unknown type parameters for StdLibs::List
преди 5 години
kindlich
4a5b508fbe
Pop method return type if ZC thinks a nonvoid method returns a void value
преди 5 години
Jared
2459b7ee67
Didn't mean to push this
преди 5 години
Jared
4cbbe1f387
work on getting this working
преди 5 години
Jared
6335559b29
Remove stdlib as a resource, as it is causing duplicate jar entries
преди 5 години
Jared
cc51395056
made stdlibs a jar file
преди 5 години
Jared
459781d075
Revert back to the zip file
преди 5 години
Jared
6de9e2f3fc
don't include StdLibs in the build anymore
преди 5 години
Jared
1f4b126e18
Added FolderPackage, made stdlibs read from a folder instead of zip
преди 5 години
Jared
cb2950a278
Revert "test with naming StdLibs as zsp (zs package)"
This reverts commit 95d9aa2b32 .
преди 5 години
Jared
95d9aa2b32
test with naming StdLibs as zsp (zs package)
преди 5 години
kindlich
d66164d43b
Basic array union check
преди 5 години
kindlich
2e09623f39
Fixed Module using class name instead of annotation name
преди 5 години
jaredlll08
86d321cbdd
Fix forgotten try catch
преди 5 години
Jared
71844ec536
Added a logger to ScriptingEngine to catch a few extra errors
преди 5 години
Jared
82257b2a71
Made the bytecode run unit throw errors instead of eating them
преди 5 години
Jared
791068d83e
Merge remote-tracking branch 'kindlich/development' into development
преди 5 години
Jared
d756a1e7cb
no more trove dep
преди 5 години
kindlich
94128e728d
Fixed Optional primitive casts -> String
Now instead uses Objects.toString(...) for them
преди 5 години
kindlich
8f71b442fc
Added unboxingTypeVisitor and fixed primitives in Iterators
преди 5 години
kindlich
01444f0745
ExpressionFormatter: Floating point constants
преди 5 години
kindlich
07d6866fb2
Fixed Bridge methods IncompatibleClassChangeError
Reason was that it tried to invokeInterface whereas a bridge redirects to a local (virtual) method.
The local method was flagged incorrectly as the same type as the bridger which would be interface, hence the error
преди 5 години
kindlich
826b8a4a81
Added compile override for ParsedExpressionArray and ParsedExpressionMap
Essentially they are functions that accept the parsedExpression and the compilescope.
They return either null or a PartialExpression.
If they dont return null then the used partialexpression will be used instead of whatever the parsedexpression wouldve compiled to
преди 5 години
kindlich
4a078a08ae
Added Storage tag annotation
преди 5 години
kindlich
8349132e8e
Made ExpressionValidator messages for array type mismatches clearer
Now pritns the array element type and the faulty element's type
Also changed this for assoc Arrays
преди 5 години
kindlich
f587fb88d0
Allow for explicit static storage tag
преди 5 години
kindlich
696aca1cfd
Added Typemember check without storage tags.
Only WIP, tries to check the same type without storage tags and see if it can cast then.
преди 5 години
kindlich
3fd8e37ec9
WIP: Rudimentary work on VarAargs
преди 5 години
kindlich
eca522b4f9
Some GetForName Changes
преди 5 години
kindlich
215e92e5bf
Added TypeParsing to JNM#getTypeFromName
преди 5 години
kindlich
3bf515d8e8
Implemented SuperTypeCast for ExpressionVisitor
преди 5 години
kindlich
0ad87d8de3
Merge remote-tracking branch 'jared/development' into development
преди 5 години
Jared
4717402f0b
Fixed casting through multiple layers of interfaces
преди 5 години
Jared
1ac2cb0bb6
fixed crash when value.name is null
преди 5 години
Jared
b93a6bb5d1
Made selectMethod use the priority of the member when selecting
преди 5 години
Jared
f2025c98c7
Added describe method to modifiers
преди 5 години
kindlich
bff2b803c9
Merge remote-tracking branch 'jared/development' into development
преди 5 години
Jared
6f6b96ddb5
More work on expansions, casters are done
преди 5 години
kindlich
c7c34cbc2a
Expansions: Check if the 1st parameter is the expanded type
преди 5 години
kindlich
b1a2691cbf
First step towards ZenExpansions
They worked in my simple, void test example
преди 5 години
kindlich
58a34905c6
Fix optional not counting as nullable
The Optional annotation is parameter, not type bound
преди 5 години
kindlich
6086179d88
[WIP] implemented getReturnTyp() for some Statements
WIP: Not really tested and contains RuntimeExceptions that I used for testing
WIP: Not all possible return types covered
WIP: Not really clear which order/priority some statement contents should be checked
WIP: Not dealing with type mismatches or one branch returning something a subclass of the other branch's return type
преди 5 години
kindlich
2e7929e302
Function matches now ignore if the function itself is optional
преди 5 години
kindlich
1dd20f24a2
JavaNativeModule: Moved definition register up to help with circular hierarchies
E.g. IIngredient has a method that accepts an IItemStack, which is a sub-interface
преди 5 години