kindlich
40ba457de7
Merge remote-tracking branch 'Stan/development' into development
hace 6 años
Stan Hebben
a0f0b9d906
Adjusted handling of coalesce operator so it can also return an optional if the second operand is an optional.
hace 6 años
kindlich
401dbb5d35
Enums and this()
- Basic work on enumerations, they should work now
- this() constructor calls should work now
- Moved methods for calulcating descriptions and signatures to seperate utils class
hace 6 años
Stan Hebben
e8bc10b5ba
Renamed values in Modifiers
hace 6 años
Stan Hebben
565a59947d
Fixed enum constants
hace 6 años
Stan Hebben
edf7f11a1b
Renamed "classes_structs" package to "definitions.
hace 6 años
kindlich
00a1770916
Removed isFinal check as no longer required for declaring fields
hace 6 años
kindlich
6c02bbcaa5
Merge remote-tracking branch 'Stan/development' into development
hace 6 años
kindlich
88cde8fb59
More work on Java
- Variable and parameter names should in most cases be stored in the generated code, toggleable with a boolean in JavaWriter
- TryCatch should work, except for returns or jumps outside the block as no finally's will be applied then, also, didnt yet start with Try with resources
- Started with classes, constructors, fields and methods
hace 6 años
Stan Hebben
ae21c007d9
- Separated calls from casts
- Fixed priorities for brackets in the code formatter
- Added code position to definitions
- In a FieldMember the final status is now stored in the modifiers instead of a separate field
- WIP on implementing function definitions properly
hace 6 años
kindlich
f6a30603f7
merge remote-tracking branch 'Stan/development' into development
hace 6 años
Stan Hebben
8b327ec7f7
- Added package info to definitions
- Added parameter index to function parameters
- Removed unnecessary expression types; these can be implemented differently
- WIP on a code (re)formatter
hace 6 años
Stan Hebben
56f8ddc622
Merge branch 'development' of https://git.openzen.org/ZenScript/ZenScript into development
# Conflicts:
# ScriptingExample/scripts/statements.zs
hace 6 años
Stan Hebben
38bc27bdaf
- Added visitors for generic parameter bounds
- Separated this vs super base call into separate classes
hace 6 años
stan
cbbc503504
Add iterators, statements, more expressions (#3 )
hace 6 años
kindlich
599bc9ac36
More java stuff
- If/Else
- While do and do While
- For
hace 6 años
kindlich
3231fa08fb
Merge remote-tracking branch 'Stan/development' into development
hace 6 años
Stan Hebben
3c3040a8d9
Fixed duplicate NOT operator on bool.
hace 6 años
kindlich
7c777c2f71
More work on ExpressionVisitors and added String add method to JavaWriter
hace 6 años
kindlich
5d75fec02b
Merge stan's chagnes
branch 'Stan/development' into development
hace 6 años
Stan Hebben
7bdf009733
- Added more operators
- Added operators that require values to be cast
hace 6 años
kindlich
8304947fd3
Statements now Extend Taggable and added local variables
hace 6 años
kindlich
a782c2a145
Removed unnecessary Field in ExpressionVisitor
hace 6 años
kindlich
6756905957
Removed Membervisitor
hace 6 años
kindlich
f02581f3f2
Added MemberVisitor and moved some calls there
hace 6 años
Stan Hebben
20cecb824f
Fixed support for named character entities.
hace 6 años
Stan Hebben
a509d45843
- Added arithmetic support for int
- Fixed character entities
hace 6 años
Stan Hebben
6c510eb26b
- Added bytecode implementation interface & support for it in the expression compiler
- Replaced StringUtils.unescape with a simpler implementation
- Added BuiltinTypeMembers to allow the compiler control over its tags
hace 6 años
Stan Hebben
0aa2dfecdb
- Renamed JavaTypeSignatureVisitor to JavaTypeVisitor
hace 6 años
Stan Hebben
b8998ea1f4
- Moved Java bytecode generation to its own project.
- Added some utility methods to ParsedFile to parse from different sources.
hace 6 años
Stan Hebben
3d725f0740
Removed scripts.class and updated gitignore
hace 6 años
Stan Hebben
ba5d0f73b5
- Added tagging system to tag classes and members with compile-time information
- Improved scripting example to use those tags
- Generated script block methods use script names
- Minor code improvements
hace 6 años
kindlich
d1b566dc5a
Made Helloworld possible
hace 6 años
Stan Hebben
e9b5ccf146
- Added example project
- Added some utility methods
hace 6 años
Stan Hebben
f435d802f1
Test for SSH commits
hace 6 años
Stan Hebben
ed994e4d3b
Initial commit.
hace 6 años