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
kindlich
f66a072428
Fix classloader call to super instead of parent
5 years ago
kindlich
dfbc769f02
Added missing break statements to ASSOC_EQUALS
5 years ago
kindlich
222c198437
Revert 4d5fc47bcb
5 years ago
kindlich
26fae95605
Merge remote-tracking branch 'Stan/development' into development
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
4d5fc47bcb
Diry hack to use findLoadedClass on the parent loader
Lokking at you ForgeModLoader that needs to reinitialize about every class it comes across
6 years ago
kindlich
94a48a0942
Added ScriptLoader parameter to ScriptingEngine#run
6 years ago
kindlich
bfb0a33b27
Added classLoader parameter to JavaBytecodeRunUnit#run
6 years ago
kindlich
d630af4178
ASSOC_[NOT]EQUALS
6 years ago
Stan Hebben
b0895350cb
- Starting work on improving type parameter usage in generic methods
6 years ago
Stan Hebben
ad57dc2d83
Added type parameters to method descriptors.
6 years ago
kindlich
9708c58f69
Map.put with class, maybe
6 years ago
kindlich
1c6c2bcf77
WIP: Possibly TryRethrow and panic Expressions
6 years ago
kindlich
28c635f584
Expansion Getters/Setters, expansion static fields and Array contains
6 years ago
Stan Hebben
7102642419
Fix float parsing.
6 years ago
Stan Hebben
d9f32182f1
Fixed null comparison.
6 years ago
Stan Hebben
6f2b5931dd
Added missing class.
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
kindlich
07fa6e2ccb
Optional is and isNot null
6 years ago
kindlich
10bc657ff2
Constructor super calls
6 years ago
Stan Hebben
131ede5818
Fixed compiled dependencies not being registered properly. Also fixed accidental recursion in visitGetField.
6 years ago
kindlich
c01d584edb
WIP Array initializers, pt. III
6 years ago
Stan Hebben
3633ce97d7
Properly implement expressions without return value. Also fixed some bugs in expressions that do return a values. Also added a position to the JavaWriter for easier debugging.
6 years ago
Stan Hebben
e038d2e192
Implement increment & decrement compilation in the bytecode compiler.
6 years ago
Stan Hebben
91f3c18cdf
Some minor updates in serialization code. (to be continued...)
6 years ago
Stan Hebben
c2737ac7b1
A couple minor changes..
6 years ago
kindlich
05460bdf50
WIP Array initializers pt. II
6 years ago
kindlich
280df6c5c0
WIP Array initializers; moved size variable naming to multiArray function
6 years ago
kindlich
82a22a3d4f
WIP array initializers
6 years ago
kindlich
7884eddc18
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
74bcf27227
Fix an error in call argument processing.
6 years ago
kindlich
4eaf29c967
Array initializers with and without default value
6 years ago
kindlich
f19d5f649a
Merge remote-tracking branch 'Stan/development' into development
6 years ago
kindlich
812211e240
WIP - Expansion methods
6 years ago
Stan Hebben
06e3a0c203
Adding support for builtin constructors
6 years ago
Stan Hebben
6eca301d7c
- Minor code cleanup.
- WIP on map files (used to link zencode to already compiled classes, and to define native methods)
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
5a853b46ae
Merge remote-tracking branch 'remotes/kindlich/development' into development
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
kindlich
673f98028a
Started with expansions, why not
6 years ago
kindlich
e91bdbd3d6
Merge remote-tracking branch 'Stan/development' into development
6 years ago
kindlich
992c171a81
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
ca9d1ad85e
Fixed missing L in descriptor.
6 years ago
Stan Hebben
e0118ed3c2
- Added support for zipped packages
- Simplified compilation process somewhat; removed CompilationUnit class and work more module-oriented instead
6 years ago
kindlich
01bf2ac5d4
Merge branch 'development' of git.openzen.org:ZenScript/ZenScript into development
6 years ago