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:
4 gadus atpakaļ
kindlich
ed7b56a39b
allow comparison of functionalStorage tags
4 gadus atpakaļ
kindlich
959618f7fb
JavaNativeModule: CompiledModules now retrieve all compiled information from parent modules
4 gadus atpakaļ
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
4 gadus atpakaļ
kindlich
4ad3331928
Added Signature to JavaField constructor
Was an instance field all along, but always set to null
4 gadus atpakaļ
kindlich
1a3075532c
WIP: More work on Generics in Expansions
4 gadus atpakaļ
kindlich
8f1960209a
WIP: More work on generic parameters in expansions
4 gadus atpakaļ
kindlich
c4acf675e8
[WIP] Duplicate class names, pt. II
Fixed functions not working properly
4 gadus atpakaļ
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 gadus atpakaļ
Jared
84b407af0d
Fix Iterator not having methods / fixed stdlibs not being reloadable
5 gadus atpakaļ
Jared
aaca0261f1
Removed some unneeded static fields
5 gadus atpakaļ
kindlich
a3eea65869
Added all registered modules to the compile space
5 gadus atpakaļ
kindlich
187a509863
Set Definition Type members in JavaPrepareDefinitionVisitor
fixes issue about unknown type parameters for StdLibs::List
5 gadus atpakaļ
Jared
2459b7ee67
Didn't mean to push this
5 gadus atpakaļ
Jared
4cbbe1f387
work on getting this working
5 gadus atpakaļ
Jared
e7bcbcffaf
Fix maps not working
5 gadus atpakaļ
kindlich
e614149c8c
Moved Array default value to default value expression
5 gadus atpakaļ
Stan Hebben
5ea804b3d3
Fix method signatures containing only the short name instead of full class name.
5 gadus atpakaļ
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.
5 gadus atpakaļ
Stan Hebben
e909486bf3
Added utility method to retrieve the functional interface method from a type.
5 gadus atpakaļ
kindlich
33f3e6406a
Use IdentityHashMap for parameter Info
5 gadus atpakaļ
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
5 gadus atpakaļ
Stan Hebben
70bd868af4
Added support for functional interfaces.
5 gadus atpakaļ
Stan Hebben
3f29d8bf0c
- Refactored usage of live objects in the IDE
- Save collapse state of the project browser tree
5 gadus atpakaļ
Stan Hebben
aab7cc69f1
- Continued implementation of interfaces in the bytecode compiler.
- Added support to have a native method both as operator and named method
5 gadus atpakaļ
Stan Hebben
b0895350cb
- Starting work on improving type parameter usage in generic methods
6 gadus atpakaļ
Stan Hebben
ad57dc2d83
Added type parameters to method descriptors.
6 gadus atpakaļ
Stan Hebben
0d31f0cd9a
Added script parameter system. Also refactored SourceFile info, it's no longer a tag but available as field in ScriptBlock.
6 gadus atpakaļ
kindlich
05460bdf50
WIP Array initializers pt. II
6 gadus atpakaļ
kindlich
4eaf29c967
Array initializers with and without default value
6 gadus atpakaļ
Stan Hebben
6eca301d7c
- Minor code cleanup.
- WIP on map files (used to link zencode to already compiled classes, and to define native methods)
6 gadus atpakaļ
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
6 gadus atpakaļ
Stan Hebben
3094e93529
Simplified dependencies and the build tree with some minor refactoring.
6 gadus atpakaļ
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.
6 gadus atpakaļ
Stan Hebben
ca9d1ad85e
Fixed missing L in descriptor.
6 gadus atpakaļ
Stan Hebben
e0118ed3c2
- Added support for zipped packages
- Simplified compilation process somewhat; removed CompilationUnit class and work more module-oriented instead
6 gadus atpakaļ
Stan Hebben
3d9e3bdf03
- Added support for local fields ($field)
- Fixed a couple minor issues & inefficiencies
- Added horizontal scrollbar to IDE (incomplete!)
6 gadus atpakaļ
Stan Hebben
cf2a752723
- Fix various bugs in the new system
- Slightly improved the way modules are compiled
6 gadus atpakaļ
Stan Hebben
f1bb71b3a1
Moved Java compile-time tags to non-global state
6 gadus atpakaļ
Stan Hebben
b6aa875e42
Fix access modifiers
6 gadus atpakaļ
Stan Hebben
4ada6df10e
- Added access & static checks to validator
- Removed export access and added internal access support
6 gadus atpakaļ
Stan Hebben
f11b965626
Fixed remaining critical bugs in the current implementation.
6 gadus atpakaļ
Stan Hebben
92234bca0e
Removed TypeArgument and simplified type system a little
6 gadus atpakaļ
Stan Hebben
f97c8450d9
Continue work on storage tags. WIP on compile plugins.
6 gadus atpakaļ
Stan Hebben
cabd7bab44
Fixed more bugs in the new type system; fixed bugs in function calls; fixed normalization bugs.
6 gadus atpakaļ
Stan Hebben
e1b48ad7c8
WIP on storage tags and improved error handling
6 gadus atpakaļ
Stan Hebben
e0e6b5be3f
WIP on storage tags
6 gadus atpakaļ
Stan Hebben
2ba94edb6d
- Added visitors with context
- WIP on the module serializer
6 gadus atpakaļ
Stan Hebben
854c3dbeae
Improved handling of functions, they now use the most generic variant available, using standard function types where possible. (TODO: there are still more to add)
6 gadus atpakaļ
kindlich
dfa4d255fb
Fixed some after-merge issues
6 gadus atpakaļ