Stan Hebben
bcebf627ba
Fix calling of functions with generic parameters
6 gadus atpakaļ
Stan Hebben
58c21971e9
- Added try! and try? operators
- WIP on exception handling
6 gadus atpakaļ
Stan Hebben
f89d5f93ae
Simplified handling of switch cases.
6 gadus atpakaļ
Stan Hebben
50c817b67e
- Experimental: variant types
- Experimental: match operator
- Adding error handling with return values and monadics
6 gadus atpakaļ
Stan Hebben
2864226fab
- Added destructors
- Added === and !== operator support
- Fixed some cases where arguments aren't casted properly during call
- Continued some work on stdlib
6 gadus atpakaļ
Stan Hebben
1c213dd186
- Added key sorting to switches
- Fixed a couple more bugs with generics
6 gadus atpakaļ
Stan Hebben
f307a7d81e
- Added (key, value) iterator for associative arrays
- Added type bounds checking code
- Fixed definitions not being added to the respective packages
- Fixed various bugs with generics
- Added some things to stdlib and created collections library
6 gadus atpakaļ
Stan Hebben
7c33560a67
- Added static initializers
- Added switch statements
- Started work on increment and decrement operators
- Starting work on Constructor, the build tool
6 gadus atpakaļ
Stan Hebben
ba568c23b7
- Continued work on the code formatter
- Static calls now remember the exact type they are called for
6 gadus atpakaļ
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 gadus atpakaļ
Stan Hebben
8c090f75c1
- Added values for default arguments to the CallExpression
- Started work on definition formatting
6 gadus atpakaļ
Stan Hebben
2078d3f1cc
- Statements can now also store comments before and after them
- Added comment & partial whitespace preservation to the file formatter
6 gadus atpakaļ
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 gadus atpakaļ
Stan Hebben
79720b4165
- Fix bug in TypeFormatter with optional types
- Added virtual modifier
- Optimized parsing of modifiers
-
6 gadus atpakaļ
Stan Hebben
a0f0b9d906
Adjusted handling of coalesce operator so it can also return an optional if the second operand is an optional.
6 gadus atpakaļ
Stan Hebben
e8bc10b5ba
Renamed values in Modifiers
6 gadus atpakaļ
Stan Hebben
565a59947d
Fixed enum constants
6 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
Stan Hebben
38bc27bdaf
- Added visitors for generic parameter bounds
- Separated this vs super base call into separate classes
6 gadus atpakaļ
stan
cbbc503504
Add iterators, statements, more expressions (#3 )
6 gadus atpakaļ
kindlich
599bc9ac36
More java stuff
- If/Else
- While do and do While
- For
6 gadus atpakaļ
Stan Hebben
7bdf009733
- Added more operators
- Added operators that require values to be cast
6 gadus atpakaļ
Stan Hebben
20cecb824f
Fixed support for named character entities.
6 gadus atpakaļ
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 gadus atpakaļ
Stan Hebben
b8998ea1f4
- Moved Java bytecode generation to its own project.
- Added some utility methods to ParsedFile to parse from different sources.
6 gadus atpakaļ
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
6 gadus atpakaļ
Stan Hebben
ed994e4d3b
Initial commit.
6 gadus atpakaļ