Stan Hebben
6945ba67be
WIP fixing stdlibs and compilation on the new version
Added functional interface types (Java)
vor 4 Jahren
Stan Hebben
417e99aab0
WIP removing stored types
vor 4 Jahren
Stan Hebben
4d53b6cc85
Fixed something with iterables (but I forgot what)
vor 4 Jahren
kindlich
1b737430f9
Started working on propagating a logger object instead of having to resort to Sysout
Mwahaha, Jared you will have to review this :manic_laugther:
vor 4 Jahren
kindlich
ed7b56a39b
allow comparison of functionalStorage tags
vor 4 Jahren
kindlich
959618f7fb
JavaNativeModule: CompiledModules now retrieve all compiled information from parent modules
vor 4 Jahren
kindlich
c984531cc3
More work on generics
This time for nonexpansions.
The method signatures should be calculated correctly now, though they are still only filled with nulls
vor 4 Jahren
kindlich
4ad3331928
Added Signature to JavaField constructor
Was an instance field all along, but always set to null
vor 4 Jahren
kindlich
1a3075532c
WIP: More work on Generics in Expansions
vor 4 Jahren
kindlich
8f1960209a
WIP: More work on generic parameters in expansions
vor 4 Jahren
kindlich
c4acf675e8
[WIP] Duplicate class names, pt. II
Fixed functions not working properly
vor 4 Jahren
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
vor 5 Jahren
Jared
84b407af0d
Fix Iterator not having methods / fixed stdlibs not being reloadable
vor 5 Jahren
Jared
aaca0261f1
Removed some unneeded static fields
vor 5 Jahren
kindlich
a3eea65869
Added all registered modules to the compile space
vor 5 Jahren
kindlich
187a509863
Set Definition Type members in JavaPrepareDefinitionVisitor
fixes issue about unknown type parameters for StdLibs::List
vor 5 Jahren
Jared
2459b7ee67
Didn't mean to push this
vor 5 Jahren
Jared
4cbbe1f387
work on getting this working
vor 5 Jahren
Jared
e7bcbcffaf
Fix maps not working
vor 5 Jahren
Jared
b09c1b6677
Fix maps expecting a class instead of an interface
vor 5 Jahren
kindlich
e614149c8c
Moved Array default value to default value expression
vor 5 Jahren
Stan Hebben
5ea804b3d3
Fix method signatures containing only the short name instead of full class name.
vor 5 Jahren
kindlich
9494ef212e
Functional Wrappers, Bridge Methods, Type descriptor fix
Functional interface wrappers should work now
Implementing a method with a signature differing from the actual one (e.g. when dealing with generics) now creates a proper bridge method
The Java Bytecde compiler used an incorrect method in checkCast
We now no longer use hardcoded 'accept's as method names but whatever the context tells us to.
vor 5 Jahren
Stan Hebben
e909486bf3
Added utility method to retrieve the functional interface method from a type.
vor 5 Jahren
kindlich
33f3e6406a
Use IdentityHashMap for parameter Info
vor 5 Jahren
kindlich
476e1b350a
Functional Interfaces Bytecode Step I
Directly using the lambda where the functional interface is requested works.
The lambda class will then directly implement the functionalInterface and not use a wrapper class
vor 5 Jahren
Stan Hebben
70bd868af4
Added support for functional interfaces.
vor 5 Jahren
Stan Hebben
3f29d8bf0c
- Refactored usage of live objects in the IDE
- Save collapse state of the project browser tree
vor 5 Jahren
Stan Hebben
aab7cc69f1
- Continued implementation of interfaces in the bytecode compiler.
- Added support to have a native method both as operator and named method
vor 5 Jahren
Stan Hebben
b0895350cb
- Starting work on improving type parameter usage in generic methods
vor 6 Jahren
Stan Hebben
ad57dc2d83
Added type parameters to method descriptors.
vor 6 Jahren
Stan Hebben
0d31f0cd9a
Added script parameter system. Also refactored SourceFile info, it's no longer a tag but available as field in ScriptBlock.
vor 6 Jahren
kindlich
05460bdf50
WIP Array initializers pt. II
vor 6 Jahren
kindlich
4eaf29c967
Array initializers with and without default value
vor 6 Jahren
Stan Hebben
6eca301d7c
- Minor code cleanup.
- WIP on map files (used to link zencode to already compiled classes, and to define native methods)
vor 6 Jahren
Stan Hebben
dd11f65c31
- Fix crash when performing access checks between script and class
- Fix default constructor not working properly
- Fix integration classes without exposed constructor being instantiable if they have a default (non-exposed) constructor
- Fix extern methods failing validation
vor 6 Jahren
Stan Hebben
3094e93529
Simplified dependencies and the build tree with some minor refactoring.
vor 6 Jahren
Stan Hebben
67ee99945e
Revamped the compilation system; it now works fully modular. Also, a new ScriptingEngine class has been created to make it very easy to create a scripting environment.
vor 6 Jahren
Stan Hebben
ca9d1ad85e
Fixed missing L in descriptor.
vor 6 Jahren
Stan Hebben
e0118ed3c2
- Added support for zipped packages
- Simplified compilation process somewhat; removed CompilationUnit class and work more module-oriented instead
vor 6 Jahren
Stan Hebben
3d9e3bdf03
- Added support for local fields ($field)
- Fixed a couple minor issues & inefficiencies
- Added horizontal scrollbar to IDE (incomplete!)
vor 6 Jahren
Stan Hebben
cf2a752723
- Fix various bugs in the new system
- Slightly improved the way modules are compiled
vor 6 Jahren
Stan Hebben
f1bb71b3a1
Moved Java compile-time tags to non-global state
vor 6 Jahren
Stan Hebben
b6aa875e42
Fix access modifiers
vor 6 Jahren
Stan Hebben
4ada6df10e
- Added access & static checks to validator
- Removed export access and added internal access support
vor 6 Jahren
Stan Hebben
f11b965626
Fixed remaining critical bugs in the current implementation.
vor 6 Jahren
Stan Hebben
92234bca0e
Removed TypeArgument and simplified type system a little
vor 6 Jahren
Stan Hebben
f97c8450d9
Continue work on storage tags. WIP on compile plugins.
vor 6 Jahren
Stan Hebben
cabd7bab44
Fixed more bugs in the new type system; fixed bugs in function calls; fixed normalization bugs.
vor 6 Jahren
Stan Hebben
e1b48ad7c8
WIP on storage tags and improved error handling
vor 6 Jahren