kindlich
756599a677
Fixed remaining Test failures
před 4 roky
kindlich
5b231b0574
Fixed NPE in FunctionHeader and Stackoverflow
před 4 roky
Stan Hebben
6945ba67be
WIP fixing stdlibs and compilation on the new version
Added functional interface types (Java)
před 4 roky
Stan Hebben
417e99aab0
WIP removing stored types
před 4 roky
Stan Hebben
4d53b6cc85
Fixed something with iterables (but I forgot what)
před 4 roky
kindlich
1d0289c19f
Fix matchesExact check only comparing minimum amount of parametters
před 4 roky
kindlich
b30bfeb61d
Fixed List Foreach
Changes how Classes from Stdlibs are found in the NativeModule so that their Java type parameters properly match the ones from the Stdlibs files
před 4 roky
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:
před 4 roky
kindlich
c4be2b92fa
Fix varargs for no argument and in static methods
před 4 roky
kindlich
d02abd30c3
Fix generic call arguments being overridden by the generic mapper's selfmapping
před 4 roky
kindlich
bc7f15b8ca
Match vararg types implicitly
před 4 roky
kindlich
4a05c341f0
More Matching moved to .equals
před 4 roky
kindlich
06b0859ce2
Some method matching stuff with equals
před 4 roky
kindlich
73cccd9a35
Fix approximate member choosing when Inherited methods are involved
Background: Approximate member choosing is based only on the types, so an overridden method would match twice, but with different priority. Fixes this by including a priority check before deciding whether or not to throw an error
před 4 roky
kindlich
8bc801385c
Fix using parent's members in TypeMembers
Background: For some classes the TypeId does not have the super class but the definition has. Now checking both
před 4 roky
kindlich
5abd2b5b01
[WIP] Compile default values in functions
před 4 roky
kindlich
422ee64c85
[WIP, I have no idea what I'm doing]Get types declared in StdLibs from the registry
před 4 roky
kindlich
2518c6b512
[WIP, I have no idea what I'm doing] Check generic type arguments when comparing if a type extends another
před 4 roky
kindlich
49043637e1
[WIP, not sure] Added generic types checking if their bounds are met
Before it they would simply return false, even if a type would match the bounds
před 5 roky
kindlich
f85ee75d6f
Fixed NPE caused by Statement#getReturnType returning Null
před 5 roky
kindlich
b9a8c490d2
Fixed Global Expressions not being captureable
Is there any reason why not to?
před 5 roky
Jared
1d02904fea
Maybe fixed type arguments, added more logger info
před 5 roky
Jared
aaca0261f1
Removed some unneeded static fields
před 5 roky
kindlich
d66164d43b
Basic array union check
před 5 roky
kindlich
696aca1cfd
Added Typemember check without storage tags.
Only WIP, tries to check the same type without storage tags and see if it can cast then.
před 5 roky
kindlich
3fd8e37ec9
WIP: Rudimentary work on VarAargs
před 5 roky
Jared
4717402f0b
Fixed casting through multiple layers of interfaces
před 5 roky
Jared
b93a6bb5d1
Made selectMethod use the priority of the member when selecting
před 5 roky
Jared
f2025c98c7
Added describe method to modifiers
před 5 roky
kindlich
6086179d88
[WIP] implemented getReturnTyp() for some Statements
WIP: Not really tested and contains RuntimeExceptions that I used for testing
WIP: Not all possible return types covered
WIP: Not really clear which order/priority some statement contents should be checked
WIP: Not dealing with type mismatches or one branch returning something a subclass of the other branch's return type
před 5 roky
kindlich
ab202cfca6
Fixed AIOOB when omitting an optional parameter
před 5 roky
kindlich
1f81e8a541
No such member now throws ComileException instead of logging to sout
před 5 roky
Stan Hebben
c3b948d8fe
Fixed support for optional parameters. Also implemented java integration for them.
před 5 roky
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)
před 5 roky
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
před 5 roky
Stan Hebben
c19e68376b
- Fix arithmetic rules for floats
- Fix float suffixes on integers
před 5 roky
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
před 5 roky
Stan Hebben
b0895350cb
- Starting work on improving type parameter usage in generic methods
před 6 roky
Stan Hebben
0d31f0cd9a
Added script parameter system. Also refactored SourceFile info, it's no longer a tag but available as field in ScriptBlock.
před 6 roky
Stan Hebben
e038d2e192
Implement increment & decrement compilation in the bytecode compiler.
před 6 roky
Stan Hebben
6eca301d7c
- Minor code cleanup.
- WIP on map files (used to link zencode to already compiled classes, and to define native methods)
před 6 roky
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
před 6 roky
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
před 6 roky
Stan Hebben
3094e93529
Simplified dependencies and the build tree with some minor refactoring.
před 6 roky
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.
před 6 roky
Stan Hebben
ca9d1ad85e
Fixed missing L in descriptor.
před 6 roky
Stan Hebben
e0118ed3c2
- Added support for zipped packages
- Simplified compilation process somewhat; removed CompilationUnit class and work more module-oriented instead
před 6 roky
Stan Hebben
4f0727d2f7
- Fixed $ not working in setters
- Fixed erratic StringBuilder class
- Updated shared with new live classes
před 6 roky
Stan Hebben
3d9e3bdf03
- Added support for local fields ($field)
- Fixed a couple minor issues & inefficiencies
- Added horizontal scrollbar to IDE (incomplete!)
před 6 roky
Stan Hebben
cf2a752723
- Fix various bugs in the new system
- Slightly improved the way modules are compiled
před 6 roky