kindlich
5abd2b5b01
[WIP] Compile default values in functions
пре 5 година
kindlich
ab219cfc98
Merge remote-tracking branch 'jared/development' into genericParams
пре 5 година
Jared
eaa9db6cad
Merge remote-tracking branch 'kindlich/development' into development
пре 5 година
kindlich
fe4fd443d5
Merge remote-tracking branch 'jared/development' into genericParams
пре 5 година
Jared
1895fed5e5
update ASM to latest
пре 5 година
kindlich
48ccb11add
Output now creates missing folders
пре 5 година
kindlich
c4acf675e8
[WIP] Duplicate class names, pt. II
Fixed functions not working properly
пре 5 година
kindlich
422ee64c85
[WIP, I have no idea what I'm doing]Get types declared in StdLibs from the registry
пре 5 година
kindlich
6d51a81766
Fixed LocalVariableGet calls when inside a lambda
пре 5 година
kindlich
4915d51d3f
Added event stub to scripting example
пре 5 година
kindlich
2518c6b512
[WIP, I have no idea what I'm doing] Check generic type arguments when comparing if a type extends another
пре 5 година
kindlich
659dd13020
Fixed NPE if a return statement without expression was used
пре 5 година
kindlich
f9d96e18de
Fixed using signature instead of description when checking if a bridge methos is necessary
пре 5 година
kindlich
bf1ecfacd3
Fixed NPE in ScriptingExample due to nonpushing visitor not loaded
пре 5 година
kindlich
8dd4cef26d
Added type mapping when generic base type is a class
пре 5 година
kindlich
ff6514edae
[WIP, I have no idea what I'm doing] Trying to get generic parameters working
Let's see if putting them all into one TypeVariableContext works..?
Also, a lambda that returns void cannot conclude the generic header. How should we deal with this?
пре 5 година
kindlich
49043637e1
[WIP, not sure] Added generic types checking if their bounds are met
Before it they would simply return false, even if a type would match the bounds
пре 5 година
kindlich
1d49da3a9c
Fixed incorrect method signature on lambda methods
They used the signature instead of the description, so there was an AIOOB when the compiler tried to cast a 'TT;' as that only exists in signatures, not in descriptions
пре 5 година
kindlich
f85ee75d6f
Fixed NPE caused by Statement#getReturnType returning Null
пре 5 година
kindlich
b9a8c490d2
Fixed Global Expressions not being captureable
Is there any reason why not to?
пре 5 година
kindlich
10fc19cc9f
WIP: Saving so that it is safe :smile:
пре 5 година
kindlich
f387449a4e
Interpolation in BEPs
пре 5 година
Jared
1c81df7e77
Merge remote-tracking branch 'kindlich/development' into development
пре 5 година
Jared
1d02904fea
Maybe fixed type arguments, added more logger info
пре 5 година
kindlich
9bd9528c43
Removed debug .class file dumps
пре 5 година
kindlich
20f966f47e
[WIP] Duplicated Class names
This commit at least fixes that some classes have the same name, e.g. the name of an expansion class and the name of the script block part within the file.
WIP since it still needs more doing and a way to properly store already generated names.
пре 5 година
Jared
c7466e5c37
Log more info about what package is trying to be registered into
пре 5 година
kindlich
d4a722cd92
Fixed this call in primitive expansions
Who would've thought that a 'this' can be a non-object :thinking-face:
пре 5 година
kindlich
6ada4ffce1
Replaced hardcoded IntRange class name
Reason: Some iterators use the generated USizeRange which would throw a ClassCastException
пре 5 година
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 година
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 година
Jared
033581a709
Added StdLibs to the scripting example, updated gitignore to block out/
пре 5 година
Jared
84b407af0d
Fix Iterator not having methods / fixed stdlibs not being reloadable
пре 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 година