Jared
459781d075
Revert back to the zip file
5 years ago
Jared
6de9e2f3fc
don't include StdLibs in the build anymore
5 years ago
Jared
1f4b126e18
Added FolderPackage, made stdlibs read from a folder instead of zip
5 years ago
Jared
cb2950a278
Revert "test with naming StdLibs as zsp (zs package)"
This reverts commit 95d9aa2b32 .
5 years ago
Jared
95d9aa2b32
test with naming StdLibs as zsp (zs package)
5 years ago
kindlich
d66164d43b
Basic array union check
5 years ago
kindlich
2e09623f39
Fixed Module using class name instead of annotation name
5 years ago
jaredlll08
86d321cbdd
Fix forgotten try catch
5 years ago
Jared
71844ec536
Added a logger to ScriptingEngine to catch a few extra errors
5 years ago
Jared
82257b2a71
Made the bytecode run unit throw errors instead of eating them
5 years ago
Jared
791068d83e
Merge remote-tracking branch 'kindlich/development' into development
5 years ago
Jared
d756a1e7cb
no more trove dep
5 years ago
kindlich
94128e728d
Fixed Optional primitive casts -> String
Now instead uses Objects.toString(...) for them
5 years ago
kindlich
8f71b442fc
Added unboxingTypeVisitor and fixed primitives in Iterators
5 years ago
kindlich
01444f0745
ExpressionFormatter: Floating point constants
5 years ago
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 years ago
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 years ago
kindlich
4a078a08ae
Added Storage tag annotation
5 years ago
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 years ago
kindlich
f587fb88d0
Allow for explicit static storage tag
5 years ago
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 years ago
kindlich
3fd8e37ec9
WIP: Rudimentary work on VarAargs
5 years ago
kindlich
eca522b4f9
Some GetForName Changes
5 years ago
kindlich
215e92e5bf
Added TypeParsing to JNM#getTypeFromName
5 years ago
kindlich
3bf515d8e8
Implemented SuperTypeCast for ExpressionVisitor
5 years ago
kindlich
0ad87d8de3
Merge remote-tracking branch 'jared/development' into development
5 years ago
Jared
4717402f0b
Fixed casting through multiple layers of interfaces
5 years ago
Jared
1ac2cb0bb6
fixed crash when value.name is null
5 years ago
Jared
b93a6bb5d1
Made selectMethod use the priority of the member when selecting
5 years ago
Jared
f2025c98c7
Added describe method to modifiers
5 years ago
kindlich
bff2b803c9
Merge remote-tracking branch 'jared/development' into development
5 years ago
Jared
6f6b96ddb5
More work on expansions, casters are done
5 years ago
kindlich
c7c34cbc2a
Expansions: Check if the 1st parameter is the expanded type
5 years ago
kindlich
b1a2691cbf
First step towards ZenExpansions
They worked in my simple, void test example
5 years ago
kindlich
58a34905c6
Fix optional not counting as nullable
The Optional annotation is parameter, not type bound
5 years ago
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 years ago
kindlich
2e7929e302
Function matches now ignore if the function itself is optional
5 years ago
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 years ago
kindlich
5d6ed900ad
Allow the use of default expressions in Optional annotation
5 years ago
kindlich
a3e8809917
Ignore storageTag when validating call arguments
5 years ago
kindlich
ab202cfca6
Fixed AIOOB when omitting an optional parameter
5 years ago
Jared
04d5014529
Fixed functional interface params
5 years ago
Jared
cddc3f96b3
Made invalid imports log errors
5 years ago
Jared
93d75695ec
fix optionals not inheriting nullable and expecting a default type
5 years ago
Jared
45616e31c4
Fixed code formatter for map lookups
5 years ago
Jared
e7bcbcffaf
Fix maps not working
5 years ago
Jared
ba2b04790b
small code cleanup
5 years ago
kindlich
cebae626fe
ShouldLoadClass now checks for Name annotation
5 years ago
Jared
d9e8ef65ea
Made the Name error say which class caused the issue
5 years ago
kindlich
1f81e8a541
No such member now throws ComileException instead of logging to sout
5 years ago