Jared
c7466e5c37
Log more info about what package is trying to be registered into
5 vuotta sitten
kindlich
d4a722cd92
Fixed this call in primitive expansions
Who would've thought that a 'this' can be a non-object :thinking-face:
5 vuotta sitten
kindlich
6ada4ffce1
Replaced hardcoded IntRange class name
Reason: Some iterators use the generated USizeRange which would throw a ClassCastException
5 vuotta sitten
kindlich
d2fdb13730
Fix expansion method signature and call
Signature: Include the type in the signature if it is an expansion method
Call: Call invokeStatic if its an expansion method
5 vuotta sitten
kindlich
341f8c23f5
Jdk classes no longer 'created', stopped 2nd registration of empty classes
- Apparently, ZC tried to create (empty) java.lang and java.util classes
- Script blocks and Module Highleveldefinitions create the same class and they aren't merged but the scripts blocks (which run later) try to replace the definitions. Workaround by preventing 2nd registrations and printing to System.err
5 vuotta sitten
Jared
033581a709
Added StdLibs to the scripting example, updated gitignore to block out/
5 vuotta sitten
Jared
84b407af0d
Fix Iterator not having methods / fixed stdlibs not being reloadable
5 vuotta sitten
Jared
aaca0261f1
Removed some unneeded static fields
5 vuotta sitten
kindlich
a3eea65869
Added all registered modules to the compile space
5 vuotta sitten
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 vuotta sitten
kindlich
ee59ddba30
Merge remote-tracking branch 'jared/stdlib' into development
5 vuotta sitten
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 vuotta sitten
kindlich
187a509863
Set Definition Type members in JavaPrepareDefinitionVisitor
fixes issue about unknown type parameters for StdLibs::List
5 vuotta sitten
kindlich
4a5b508fbe
Pop method return type if ZC thinks a nonvoid method returns a void value
5 vuotta sitten
Jared
2459b7ee67
Didn't mean to push this
5 vuotta sitten
Jared
4cbbe1f387
work on getting this working
5 vuotta sitten
Jared
6335559b29
Remove stdlib as a resource, as it is causing duplicate jar entries
5 vuotta sitten
Jared
cc51395056
made stdlibs a jar file
5 vuotta sitten
Jared
459781d075
Revert back to the zip file
5 vuotta sitten
Jared
6de9e2f3fc
don't include StdLibs in the build anymore
5 vuotta sitten
Jared
1f4b126e18
Added FolderPackage, made stdlibs read from a folder instead of zip
5 vuotta sitten
Jared
cb2950a278
Revert "test with naming StdLibs as zsp (zs package)"
This reverts commit 95d9aa2b32 .
5 vuotta sitten
Jared
95d9aa2b32
test with naming StdLibs as zsp (zs package)
5 vuotta sitten
kindlich
d66164d43b
Basic array union check
5 vuotta sitten
kindlich
2e09623f39
Fixed Module using class name instead of annotation name
5 vuotta sitten
jaredlll08
86d321cbdd
Fix forgotten try catch
5 vuotta sitten
Jared
71844ec536
Added a logger to ScriptingEngine to catch a few extra errors
5 vuotta sitten
Jared
82257b2a71
Made the bytecode run unit throw errors instead of eating them
5 vuotta sitten
Jared
791068d83e
Merge remote-tracking branch 'kindlich/development' into development
5 vuotta sitten
Jared
d756a1e7cb
no more trove dep
5 vuotta sitten
kindlich
94128e728d
Fixed Optional primitive casts -> String
Now instead uses Objects.toString(...) for them
5 vuotta sitten
kindlich
8f71b442fc
Added unboxingTypeVisitor and fixed primitives in Iterators
5 vuotta sitten
kindlich
01444f0745
ExpressionFormatter: Floating point constants
5 vuotta sitten
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 vuotta sitten
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 vuotta sitten
kindlich
4a078a08ae
Added Storage tag annotation
5 vuotta sitten
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 vuotta sitten
kindlich
f587fb88d0
Allow for explicit static storage tag
5 vuotta sitten
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 vuotta sitten
kindlich
3fd8e37ec9
WIP: Rudimentary work on VarAargs
5 vuotta sitten
kindlich
eca522b4f9
Some GetForName Changes
5 vuotta sitten
kindlich
215e92e5bf
Added TypeParsing to JNM#getTypeFromName
5 vuotta sitten
kindlich
3bf515d8e8
Implemented SuperTypeCast for ExpressionVisitor
5 vuotta sitten
kindlich
0ad87d8de3
Merge remote-tracking branch 'jared/development' into development
5 vuotta sitten
Jared
4717402f0b
Fixed casting through multiple layers of interfaces
5 vuotta sitten
Jared
1ac2cb0bb6
fixed crash when value.name is null
5 vuotta sitten
Jared
b93a6bb5d1
Made selectMethod use the priority of the member when selecting
5 vuotta sitten
Jared
f2025c98c7
Added describe method to modifiers
5 vuotta sitten
kindlich
bff2b803c9
Merge remote-tracking branch 'jared/development' into development
5 vuotta sitten
Jared
6f6b96ddb5
More work on expansions, casters are done
5 vuotta sitten