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
7年前
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
7年前
Stan Hebben
38bc27bdaf
- Added visitors for generic parameter bounds
- Separated this vs super base call into separate classes
7年前
stan
cbbc503504
Add iterators, statements, more expressions (#3 )
7年前
kindlich
599bc9ac36
More java stuff
- If/Else
- While do and do While
- For
7年前
Stan Hebben
3c3040a8d9
Fixed duplicate NOT operator on bool.
7年前
Stan Hebben
7bdf009733
- Added more operators
- Added operators that require values to be cast
7年前
kindlich
8304947fd3
Statements now Extend Taggable and added local variables
7年前
kindlich
f02581f3f2
Added MemberVisitor and moved some calls there
7年前
Stan Hebben
20cecb824f
Fixed support for named character entities.
7年前
Stan Hebben
a509d45843
- Added arithmetic support for int
- Fixed character entities
7年前
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
7年前
Stan Hebben
b8998ea1f4
- Moved Java bytecode generation to its own project.
- Added some utility methods to ParsedFile to parse from different sources.
7年前
Stan Hebben
3d725f0740
Removed scripts.class and updated gitignore
7年前
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
7年前
kindlich
d1b566dc5a
Made Helloworld possible
7年前
Stan Hebben
e9b5ccf146
- Added example project
- Added some utility methods
7年前