kindlich
bcceba4543
Some small changes on Generated Lambdas
The interfaces now are annotated with FunctionalInterface
CapturedParameters might work now
6 jaren geleden
kindlich
b441aaf496
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
Stan Hebben
a90b16e7af
- Fix function header not being stored correctly for a FunctionExpression
- Fixed type parameters stored as null instead of empty array
6 jaren geleden
Stan Hebben
f3a01ec07f
Implemented some code improvements on the IDE. Preparing work for tooltips.
6 jaren geleden
Stan Hebben
e2af32d350
Improved the IDE: can now create new packages and source files within the IDE
6 jaren geleden
kindlich
1dd51ded5d
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
kindlich
89c4221b53
More work on functions, only commited to merge Stans latest changes
6 jaren geleden
Stan Hebben
d07b0285ae
- Fixed error handling function types
- Continued work on the IDE
6 jaren geleden
kindlich
6900a1e11d
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
Stan Hebben
dbe4bfd510
- Moved package zenscript.shared to zencode.shared
- Compiled shared from ZenCode
6 jaren geleden
Stan Hebben
8594fc56e0
Fixed a large number of java source compilation bugs. (ZenCode.shared module now compiles, and so does StdLib.stdlib)
6 jaren geleden
kindlich
13e6920fcd
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
Stan Hebben
9db09e27c9
Fix static callers crashing.
6 jaren geleden
kindlich
6c66704a78
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
Stan Hebben
ca2f130236
- Fixed a bunch of bugs in java source compilation
- Added panic expressions
- Fixed super constructor calls
- Continued work on variants & match expressions
- Fixed NPE in PartialTypeExpression
- Fixed duplicate compilation
6 jaren geleden
kindlich
17cb528827
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
Stan Hebben
df845f323a
- Added reference system and changed the way member instancing works.
- Continued java source compilation implementation
- Moved stdlib to a separate repository
6 jaren geleden
kindlich
91dd3066f7
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
Stan Hebben
2e44dec4d7
- Added annotation support
- Removed some redundant types
- Moved scopes to CodeModel and removed Linker
- Added const members and expression support for them
- Added statement transformation (can be used by annotations)
6 jaren geleden
Stan Hebben
c939e7d204
- Refactored some formatting things to be reusable for source code translation targets
- Removed generic compare
- Rewrote the way builtins are handled and implemented nearly all operations for all supported basic / builtin types
- Added java source code compilation
- Added throw expression, allowing a throw to be formulated as expression (handy inside matches)
6 jaren geleden
kindlich
15e1277aaa
some minor changes
6 jaren geleden
kindlich
12f17c8407
Merge branch 'development' of git.openzen.org:ZenScript/ZenScript into development
6 jaren geleden
Stan Hebben
4987a05c10
- Improving compilation system to have compilation targets
- Added run & build functionality to the IDE
- Fixed an error in match expressions
- WIP on compiling to Java source files
6 jaren geleden
kindlich
a9f5d30209
Merge remote-tracking branch 'Stan/development' into development
6 jaren geleden
Stan Hebben
637b2399d5
Added tabs + support for multiple open source files
6 jaren geleden
Stan Hebben
53efeba9ce
- Continued work on borderless window (but: text rendering changes!)
- Improved shadow code
6 jaren geleden
Stan Hebben
02daef6093
- Removed some unnecessary classes
- Added styling system
- WIP on the aspect bar
6 jaren geleden
Stan Hebben
7f9d5b3a7f
Added cut/copy/paste support.
6 jaren geleden
Stan Hebben
cccd95ba21
- Fixed various bugs in the source editor
- Added ability to remove a selected block of text
6 jaren geleden
Stan Hebben
c05bc0d7b1
- Moved token handling out of the code editor
- Fixed some bugs in the code editor
6 jaren geleden
Stan Hebben
ea5fca4e25
Committing WIP on the IDE
6 jaren geleden
Stan Hebben
736d9f2f8c
- Simplified parser classes, removed unnecessary classes, improved code quality
- the TokenStream now no longer has any memory at all; its input is a CharStream which has peek() and next() methods, the TokenStream doesn't store a single character, making it stateless
- Added flyweight token support, decreasing memory usage
6 jaren geleden
Stan Hebben
18566301a3
- Removed whitespace handling from the bare parser
- Tokens no longer store whitespace
6 jaren geleden
Stan Hebben
71be205a81
Separating parser responsibilities in multiple classes. (temporarily breaks whitespace preservation)
6 jaren geleden
Stan Hebben
6feb3f4246
- Split token stream and parser (will be important for the IDE)
- Can now parse directly from a token stream (doesn't have to be a file)
- Changed the way libraries are stored in projects
- Tokens no longer contain their position (will be important for the IDE)
6 jaren geleden
kindlich
51efcfdc9a
Function stuff, probably
6 jaren geleden
kindlich
0a7482eeea
'Fixed' some compiler/Formatter issues
- simply stopped it from erroring, not sure if it's the intended way?
6 jaren geleden
Stan Hebben
c0cbbda75f
Finished LambdaClosure class
6 jaren geleden
Stan Hebben
e3a1ccbc5c
- Fixed validator acting up on type argument validation
- Moved enum constants to enum type, they are no longer type members
- Added override modifier
- Performed some minor fixes during compilation
- Fixed type member registration on optionals
- Expanded arrays with functional methods
-
6 jaren geleden
Stan Hebben
bcebf627ba
Fix calling of functions with generic parameters
6 jaren geleden
Stan Hebben
58c21971e9
- Added try! and try? operators
- WIP on exception handling
6 jaren geleden
Stan Hebben
f89d5f93ae
Simplified handling of switch cases.
6 jaren geleden
Stan Hebben
50c817b67e
- Experimental: variant types
- Experimental: match operator
- Adding error handling with return values and monadics
6 jaren geleden
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 jaren geleden
Stan Hebben
1c213dd186
- Added key sorting to switches
- Fixed a couple more bugs with generics
6 jaren geleden
Stan Hebben
9221f0b8e4
Merge branch 'development' of git.openzen.org:kindlich/ZenScript into development
6 jaren geleden
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 jaren geleden
kindlich
2e37bbff79
- Added switch statement
- MemberVisitors now have one central clinit writer
6 jaren geleden
Stan Hebben
7c33560a67
- Added static initializers
- Added switch statements
- Started work on increment and decrement operators
- Starting work on Constructor, the build tool
6 jaren geleden
Stan Hebben
ba568c23b7
- Continued work on the code formatter
- Static calls now remember the exact type they are called for
6 jaren geleden