Jared
aebbcfbc43
Actually make preprocs work
vor 5 Jahren
Jared
8c67415263
PreProcessor tests
vor 5 Jahren
Jared
ba2b04790b
small code cleanup
vor 5 Jahren
kindlich
cebae626fe
ShouldLoadClass now checks for Name annotation
vor 5 Jahren
Jared
d9e8ef65ea
Made the Name error say which class caused the issue
vor 5 Jahren
kindlich
1f81e8a541
No such member now throws ComileException instead of logging to sout
vor 5 Jahren
kindlich
dae9958fd1
Merge remote-tracking branch 'kindlich/development' into HEAD
vor 5 Jahren
kindlich
5e9d773084
Allow Already converted classes from dependencies to be used, even if in another package
vor 5 Jahren
Jared
a271cd8fd7
Removed unneeded parents so eclipse can compile the project
Fairly sure this is an eclipse issue, no problems are reported in idea...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=474593
vor 5 Jahren
Jared
cbf1ac90e6
Added kindlich's name fix
vor 5 Jahren
Jared
191edd6cae
Added better logging in JavaNativeModule
vor 5 Jahren
kindlich
fa8a3588cb
Fixed Exception for invalid package even if the class name was overriden using @Name
vor 5 Jahren
kindlich
6be789d2c9
Removed unused type evaluation (see desc)
Threw an exception when an import member could not be found.
Also, the value was not used anywhere
vor 5 Jahren
kindlich
e614149c8c
Moved Array default value to default value expression
vor 5 Jahren
kindlich
8f96b3b2a8
Merge remote-tracking branch 'Stan/development' into development
vor 5 Jahren
Stan Hebben
c3b948d8fe
Fixed support for optional parameters. Also implemented java integration for them.
vor 5 Jahren
kindlich
b34bdf376a
Enums now are registered to their class package, fields use the correct modifiers
TODO: Verify that the access check is correct
vor 5 Jahren
kindlich
5374b6f716
WIP: Loggers, added parsing logger
vor 5 Jahren
kindlich
96b6386d79
JavaCompiler: Use LinkedHashMap to preserve execution order
vor 5 Jahren
kindlich
2255428bd9
Created ScriptingEngine#createScriptedModule overload that accepts loggers
vor 5 Jahren
kindlich
f6516d5246
Set file and line meta info
vor 5 Jahren
kindlich
dcebf0edbe
Test script changes
vor 5 Jahren
kindlich
8dc22bcfeb
Java Bytecode Array Constructor: Implemented projection with indices
vor 5 Jahren
kindlich
6f95dd3ff9
Java Bytecode Array Constructor: Finished Projection function invocation
vor 5 Jahren
kindlich
d062ad0149
Fixed Bridge methods invoking in the incorrect class
vor 5 Jahren
kindlich
a4d4176e7f
JavaNativeLoader: removed unneccessary Field
vor 5 Jahren
kindlich
608baebce8
Added modules getter to the ScriptingEngine and allow empty base base package names in JavaNativeModule
vor 5 Jahren
Stan Hebben
a86086cdec
Added native loader to resolve dependencies between native modules.
vor 5 Jahren
Stan Hebben
d151b5ef99
Fix nullable types.
vor 5 Jahren
Stan Hebben
5ea804b3d3
Fix method signatures containing only the short name instead of full class name.
vor 5 Jahren
Stan Hebben
7844dea790
Removed unused files.
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
kindlich
177b59341d
Merge remote-tracking branch 'Stan/development' into development
vor 5 Jahren
Stan Hebben
00e09fc358
Fix modifiers on functional interfaces
vor 5 Jahren
kindlich
b8be41d1a2
Formatted Functional Interface Wrapper creations
vor 5 Jahren
kindlich
82eb1d61eb
Merge remote-tracking branch 'Stan/development' into WIP/functionalInterfaces
vor 5 Jahren
Stan Hebben
5f9aac70c8
Added missing update to JavaNativeModule
vor 5 Jahren
kindlich
c69b92718a
Merge remote-tracking branch 'Stan/development' into WIP/functionalInterfaces
vor 5 Jahren
Stan Hebben
e909486bf3
Added utility method to retrieve the functional interface method from a type.
vor 5 Jahren
kindlich
da4c6eb005
WIP Functional Wrapper
Currently only supports 'accepts' methods, until we can get a way to get the actual method signature/name from the class
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 6 Jahren
Stan Hebben
70bd868af4
Added support for functional interfaces.
vor 6 Jahren
Stan Hebben
9c650d0f5b
- Added correct type variable resolution
- Fixed a number of bugs
- Upgrading build system to a more uniform system
- Improving error output (for IDE)
- Changed parser to generate line offsets differently (easier for IDE to process)
vor 6 Jahren
Stan Hebben
3f29d8bf0c
- Refactored usage of live objects in the IDE
- Save collapse state of the project browser tree
vor 6 Jahren
Stan Hebben
da051f56ce
Update generated code
vor 6 Jahren
Stan Hebben
54f53f79c1
- Improved interface validation: allow definition members to be used as implementation
- Added support for INTERFACE calls in java source code generation
- Minor source code generation quality improvements
vor 6 Jahren
Stan Hebben
6d84156dfd
Merge remote-tracking branch 'kindlich/development' into development
vor 6 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 6 Jahren
kindlich
75785f413f
Minor code reformat
vor 6 Jahren