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