Stan Hebben
f1bb71b3a1
Moved Java compile-time tags to non-global state
6 lat temu
Stan Hebben
38eff3ce08
- Added some java source generation optimizations
- Regenerated shared
6 lat temu
Stan Hebben
b6aa875e42
Fix access modifiers
6 lat temu
Stan Hebben
4ada6df10e
- Added access & static checks to validator
- Removed export access and added internal access support
6 lat temu
Stan Hebben
c1b1e8a6da
Some more fixes
6 lat temu
Stan Hebben
f943f53cca
Regeneration of shared (with manual fixes)
6 lat temu
Stan Hebben
f11b965626
Fixed remaining critical bugs in the current implementation.
6 lat temu
Stan Hebben
92234bca0e
Removed TypeArgument and simplified type system a little
6 lat temu
Stan Hebben
f97c8450d9
Continue work on storage tags. WIP on compile plugins.
6 lat temu
Stan Hebben
5eef4cd9ef
Refine storage tag implementation
6 lat temu
Stan Hebben
b64fee8856
- Fixed recursive errors in destructability test
- Fixed some more storage tag issues
- Added methods with storage tag requirements
6 lat temu
Stan Hebben
cabd7bab44
Fixed more bugs in the new type system; fixed bugs in function calls; fixed normalization bugs.
6 lat temu
Stan Hebben
bd90cfe0be
- Made important modifications to error reporting so it provides meaningful info
- Fix various normalization bugs
- Fixed bugs with the new stored type system
6 lat temu
Stan Hebben
e1b48ad7c8
WIP on storage tags and improved error handling
6 lat temu
Stan Hebben
e0e6b5be3f
WIP on storage tags
6 lat temu
Stan Hebben
9622419f00
Merge branch 'development' into feature/storagetags
6 lat temu
Stan Hebben
39a526b42f
More scalability fixes
6 lat temu
Stan Hebben
df5faae297
Another attempt at scaling icons correctly.
6 lat temu
Stan Hebben
1f77d3080b
Changed scaling for tree view icons.
6 lat temu
Stan Hebben
17338a30b3
Fix font size not following DPI in the code editor
6 lat temu
Stan Hebben
dd47b2621c
- Fixed scaling (hopefully) on different DPI devices
- Fixed some minor ui issues
6 lat temu
Stan Hebben
d9a78c015b
WIP on memory tags
6 lat temu
Stan Hebben
17a2cadf8a
- Annotations are now serializable
- Fixed various serialization bugs, continuing work on serializer
6 lat temu
Stan Hebben
34f34fb5df
Continue work on the deserializer and fix serialization and deserialization bugs
6 lat temu
Stan Hebben
ec46d47c02
- Improve work on the serializer and fixed some code issues that came up with them.
- Start work on the deserializer
6 lat temu
Stan Hebben
2ba94edb6d
- Added visitors with context
- WIP on the module serializer
6 lat temu
Stan Hebben
4572ccabb9
Merge remote-tracking branch 'kindlich/development' into development
# Conflicts:
# JavaShared/src/main/java/org/openzen/zenscript/javashared/JavaSynthesizedClassNamer.java
6 lat temu
Stan Hebben
854c3dbeae
Improved handling of functions, they now use the most generic variant available, using standard function types where possible. (TODO: there are still more to add)
6 lat temu
kindlich
dcfa18961e
Merge remote-tracking branch 'Stan/development' into development
6 lat temu
kindlich
dfa4d255fb
Fixed some after-merge issues
6 lat temu
Stan Hebben
9c3aa8efc3
- All definitions are now also module-aware (will be use for binary module serialization & access checks)
- Fixing function expressions not being properly linked to their functional interface
6 lat temu
kindlich
2551c899d0
Merge remote-tracking branch 'Stan/development' into development
6 lat temu
Stan Hebben
3e013cb052
- Fix missing shift operators in some integer types
- Fix some problems when comparing a long with an int or ulong with uint
- Add signed-unsigned implicit array conversion (sbyte[] <-> byte[], short[] <-> ushort[], int[] <-> uint[], long[] <-> ulong[])
- Fix bug when copying multiple lines from the source editor
- Added string <-> byte[] conversion operations
- Fix unsigned arrays, use compact representations
- Added suffixes & custom suffixes
- Added 0x 0b 0o for hex, binary and octal notation
6 lat temu
kindlich
5c5a6c9e84
Commit before merge
6 lat temu
Stan Hebben
6c57403b84
Updated shared with the new generated version, fixing a bunch of code generation imperfections.
6 lat temu
Stan Hebben
0298420bb2
- Added usize as basic type
- Ranges now only have a single base type; from and to must be the same type
- Adjusted builtins and stdlib to use usize where applicable
- Moved building a SemanticModule from ParsedFile to the parser; reduces dependencies
6 lat temu
Stan Hebben
096c8dfb71
Fixed validator not checking for match completeness.
6 lat temu
Stan Hebben
1b08f6187a
- Changed class hierarchy for getters and setters.
- Rewrote iterator implementation
6 lat temu
Stan Hebben
fe2ccea44d
Fixed results from generic methods not being cast to the right type. Also fixed some bugs related to variants and added the variant value creation syntax VariantName.Option(arguments).
6 lat temu
Stan Hebben
fe3714e9ba
Minor change to debug output; generated classes are now written in the /classes directory.
6 lat temu
Stan Hebben
7b5ada39fa
- Fixed ranges, all range types should be supported now
- Cleaned up unused code
- Refactored the JavaMethodInfo class to the shared JavaMethod one
- Use valueOf for boxing instead of the boxed type constructors
6 lat temu
kindlich
c4ac4f9a18
Merge remote-tracking branch 'Stan/development' into development
6 lat temu
kindlich
406ecb18bb
More work for Variants and generics, WIP
push to merge stan's changes
6 lat temu
Stan Hebben
a02b2c2369
Added type preparation.
6 lat temu
Stan Hebben
dfcdfe0827
Merge remote-tracking branch 'remotes/kindlich/development' into development
# Conflicts:
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/JavaCompiler.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/JavaFieldInfo.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/CompilerUtils.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaExpressionVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaOptionalTypeClassVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaPreDecrementVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaPreIncrementVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaStatementVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaTypeClassVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaTypeVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaWriter.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/definitions/JavaDefinitionVisitor.java
# JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/definitions/JavaMemberVisitor.java
6 lat temu
Stan Hebben
62d5db3fc0
WIP on new tags, refactoring & tag preparation system.
6 lat temu
kindlich
c711a7f474
Some more work on Variants, still WIP
6 lat temu
kindlich
a9da9d1019
Merge remote-tracking branch 'Stan/development' into development
6 lat temu
kindlich
4851501041
Some variant stuff, commited so that I can merge stan's changes
6 lat temu
Stan Hebben
60574d3913
WIP on refactoring code to reuse code between JavaBytecode and JavaSource
6 lat temu