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