kindlich
5e9d773084
Allow Already converted classes from dependencies to be used, even if in another package
5 years ago
Jared
cbf1ac90e6
Added kindlich's name fix
5 years ago
Jared
191edd6cae
Added better logging in JavaNativeModule
5 years ago
kindlich
fa8a3588cb
Fixed Exception for invalid package even if the class name was overriden using @Name
5 years ago
Stan Hebben
c3b948d8fe
Fixed support for optional parameters. Also implemented java integration for them.
5 years ago
kindlich
b34bdf376a
Enums now are registered to their class package, fields use the correct modifiers
TODO: Verify that the access check is correct
5 years ago
kindlich
5374b6f716
WIP: Loggers, added parsing logger
5 years ago
kindlich
2255428bd9
Created ScriptingEngine#createScriptedModule overload that accepts loggers
5 years ago
kindlich
a4d4176e7f
JavaNativeLoader: removed unneccessary Field
5 years ago
kindlich
608baebce8
Added modules getter to the ScriptingEngine and allow empty base base package names in JavaNativeModule
5 years ago
Stan Hebben
a86086cdec
Added native loader to resolve dependencies between native modules.
5 years ago
Stan Hebben
d151b5ef99
Fix nullable types.
5 years ago
Stan Hebben
5ea804b3d3
Fix method signatures containing only the short name instead of full class name.
5 years ago
Stan Hebben
00e09fc358
Fix modifiers on functional interfaces
5 years ago
Stan Hebben
5f9aac70c8
Added missing update to JavaNativeModule
5 years ago
Stan Hebben
70bd868af4
Added support for functional interfaces.
5 years ago
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)
5 years ago
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 years ago
kindlich
75785f413f
Minor code reformat
5 years ago
kindlich
8f019d721d
Now actually apply the typeParameters
5 years ago
Stan Hebben
ae81e5966e
Added loadMethod utility method for loading in a Method and retrieving its reference.
5 years ago
Stan Hebben
6fa2a38b30
Fix recursion when methods return or accept a value of their defining class. Fixed bracket expressions with a postfix expression.
5 years ago
Stan Hebben
045d7f4cea
Fix array support for native java integration
5 years ago
Stan Hebben
533bd04700
Fix field names for globals
5 years ago
Stan Hebben
b434566f11
- Fix auto getters & setters for static fields not being static
- Fix getters for globals not having their corresponding fields registered correctly in the native implementation
- Added java sources for JavaScripting
5 years ago
kindlich
94a48a0942
Added ScriptLoader parameter to ScriptingEngine#run
6 years ago
Stan Hebben
b0895350cb
- Starting work on improving type parameter usage in generic methods
6 years ago
Stan Hebben
0d31f0cd9a
Added script parameter system. Also refactored SourceFile info, it's no longer a tag but available as field in ScriptBlock.
6 years ago
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 years ago
Stan Hebben
2f7f3f415d
- Fixed crash when classes doesn't exist + don't output debug classes if not in debug mode
- Fixed constructor support for native classes
- Added project for maven build
- Added missing StdLibs.zip
6 years ago
Stan Hebben
3094e93529
Simplified dependencies and the build tree with some minor refactoring.
6 years ago
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 years ago