Stan Hebben
7c33560a67
- Added static initializers
- Added switch statements
- Started work on increment and decrement operators
- Starting work on Constructor, the build tool
6年前
Stan Hebben
ba568c23b7
- Continued work on the code formatter
- Static calls now remember the exact type they are called for
6年前
Stan Hebben
6d97220a92
- Function and method bodies are now single statements (which can, of course, be a BlockStatement), this simplifies code
- Function parameters are taggable, and Java parameter indices are now tagged on these parameters
- Improved constructor forwarding code
- Added handling for potential situations where multiple code blocks exist for the same script file (this can happen in generated code)
- Continue WIP on code formatting for definitions
6年前
Stan Hebben
47f68df4f8
Performed some minor simplifications on the java writer, removed some duplicate code
6年前
Stan Hebben
3ef3a8d6cf
- Changed the way static is determined in an expression writer
- Minor code improvements; make better use of JavaMethodInfo
6年前
Stan Hebben
74dac5c249
Merge branch 'development' of git.openzen.org:kindlich/ZenScript into development
6年前
Stan Hebben
4441f43381
Started work on definition formatting.
6年前
kindlich
40e90817fd
Merge remote-tracking branch 'Stan/development' into development
6年前
Stan Hebben
8c090f75c1
- Added values for default arguments to the CallExpression
- Started work on definition formatting
6年前
kindlich
1126c8370c
Functions in Java
6年前
kindlich
e09877d432
One generated class per script file + classes
6年前
kindlich
04899f9247
Compares will now use the compare fields directly instead of the type name
6年前
kindlich
1a262f7c09
Merge remote-tracking branch 'Stan/development' into development
6年前
Stan Hebben
2078d3f1cc
- Statements can now also store comments before and after them
- Added comment & partial whitespace preservation to the file formatter
6年前
kindlich
5efd13e077
Merge remote-tracking branch 'Stan/development' into development
6年前
Stan Hebben
86b521640c
Improved implementation of global expressions.
6年前
kindlich
c754619684
Better be save than sorry and commit before something happens again...
6年前
Stan Hebben
16e2dd8da4
- Added validator
- Members are now aware of the definition they are in
- NotExpressions and EqualsExpressions have been removed; they were redundant
6年前
Stan Hebben
333c5f429d
Adding (part of) support for optional types.
6年前
Stan Hebben
c88d5f01ce
Merge branch 'development' of https://git.openzen.org/ZenScript/ZenScript into development
6年前
Stan Hebben
79720b4165
- Fix bug in TypeFormatter with optional types
- Added virtual modifier
- Optimized parsing of modifiers
-
6年前
kindlich
e202828906
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
6年前
kindlich
40ba457de7
Merge remote-tracking branch 'Stan/development' into development
6年前
Stan Hebben
a0f0b9d906
Adjusted handling of coalesce operator so it can also return an optional if the second operand is an optional.
6年前
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
6年前
Stan Hebben
e8bc10b5ba
Renamed values in Modifiers
6年前
Stan Hebben
565a59947d
Fixed enum constants
6年前
Stan Hebben
edf7f11a1b
Renamed "classes_structs" package to "definitions.
6年前
kindlich
00a1770916
Removed isFinal check as no longer required for declaring fields
6年前
kindlich
6c02bbcaa5
Merge remote-tracking branch 'Stan/development' into development
6年前
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
6年前
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
6年前
kindlich
f6a30603f7
merge remote-tracking branch 'Stan/development' into development
6年前
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
6年前
Stan Hebben
56f8ddc622
Merge branch 'development' of https://git.openzen.org/ZenScript/ZenScript into development
# Conflicts:
# ScriptingExample/scripts/statements.zs
6年前
Stan Hebben
38bc27bdaf
- Added visitors for generic parameter bounds
- Separated this vs super base call into separate classes
6年前
stan
cbbc503504
Add iterators, statements, more expressions (#3 )
6年前
kindlich
599bc9ac36
More java stuff
- If/Else
- While do and do While
- For
6年前
kindlich
3231fa08fb
Merge remote-tracking branch 'Stan/development' into development
6年前
Stan Hebben
3c3040a8d9
Fixed duplicate NOT operator on bool.
6年前
kindlich
7c777c2f71
More work on ExpressionVisitors and added String add method to JavaWriter
6年前
kindlich
5d75fec02b
Merge stan's chagnes
branch 'Stan/development' into development
6年前
Stan Hebben
7bdf009733
- Added more operators
- Added operators that require values to be cast
6年前
kindlich
8304947fd3
Statements now Extend Taggable and added local variables
6年前
kindlich
a782c2a145
Removed unnecessary Field in ExpressionVisitor
6年前
kindlich
6756905957
Removed Membervisitor
6年前
kindlich
f02581f3f2
Added MemberVisitor and moved some calls there
6年前
Stan Hebben
20cecb824f
Fixed support for named character entities.
6年前
Stan Hebben
a509d45843
- Added arithmetic support for int
- Fixed character entities
6年前
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
6年前