Stan Hebben
5248b0747b
Added some UI improvements to the IDE and performed some minor refactoring.
6 years ago
Stan Hebben
64e4aad20c
- IDE: put the create package & create source file buttons in more logical places
- IDE: improve styleability
6 years ago
Stan Hebben
fc5265a83c
Added tooltips to the toolbars.
6 years ago
kindlich
9f38fe453f
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
57b8ee27bf
One more fix...
6 years ago
kindlich
bcceba4543
Some small changes on Generated Lambdas
The interfaces now are annotated with FunctionalInterface
CapturedParameters might work now
6 years ago
kindlich
b441aaf496
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
a90b16e7af
- Fix function header not being stored correctly for a FunctionExpression
- Fixed type parameters stored as null instead of empty array
6 years ago
Stan Hebben
f3a01ec07f
Implemented some code improvements on the IDE. Preparing work for tooltips.
6 years ago
Stan Hebben
e2af32d350
Improved the IDE: can now create new packages and source files within the IDE
6 years ago
kindlich
1dd51ded5d
Merge remote-tracking branch 'Stan/development' into development
6 years ago
kindlich
89c4221b53
More work on functions, only commited to merge Stans latest changes
6 years ago
Stan Hebben
d07b0285ae
- Fixed error handling function types
- Continued work on the IDE
6 years ago
kindlich
6900a1e11d
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
dbe4bfd510
- Moved package zenscript.shared to zencode.shared
- Compiled shared from ZenCode
6 years ago
Stan Hebben
8594fc56e0
Fixed a large number of java source compilation bugs. (ZenCode.shared module now compiles, and so does StdLib.stdlib)
6 years ago
kindlich
13e6920fcd
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
9db09e27c9
Fix static callers crashing.
6 years ago
kindlich
6c66704a78
Merge remote-tracking branch 'Stan/development' into development
6 years ago
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 years ago
kindlich
17cb528827
Merge remote-tracking branch 'Stan/development' into development
6 years ago
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 years ago
kindlich
91dd3066f7
Merge remote-tracking branch 'Stan/development' into development
6 years ago
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 years ago
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 years ago
kindlich
15e1277aaa
some minor changes
6 years ago
kindlich
12f17c8407
Merge branch 'development' of git.openzen.org:ZenScript/ZenScript into development
6 years ago
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 years ago
kindlich
a9f5d30209
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
637b2399d5
Added tabs + support for multiple open source files
6 years ago
Stan Hebben
53efeba9ce
- Continued work on borderless window (but: text rendering changes!)
- Improved shadow code
6 years ago
Stan Hebben
02daef6093
- Removed some unnecessary classes
- Added styling system
- WIP on the aspect bar
6 years ago
Stan Hebben
7f9d5b3a7f
Added cut/copy/paste support.
6 years ago
Stan Hebben
cccd95ba21
- Fixed various bugs in the source editor
- Added ability to remove a selected block of text
6 years ago
Stan Hebben
c05bc0d7b1
- Moved token handling out of the code editor
- Fixed some bugs in the code editor
6 years ago
Stan Hebben
ea5fca4e25
Committing WIP on the IDE
6 years ago
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 years ago
Stan Hebben
18566301a3
- Removed whitespace handling from the bare parser
- Tokens no longer store whitespace
6 years ago
Stan Hebben
71be205a81
Separating parser responsibilities in multiple classes. (temporarily breaks whitespace preservation)
6 years ago
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 years ago
kindlich
51efcfdc9a
Function stuff, probably
6 years ago
kindlich
0a7482eeea
'Fixed' some compiler/Formatter issues
- simply stopped it from erroring, not sure if it's the intended way?
6 years ago
Stan Hebben
c0cbbda75f
Finished LambdaClosure class
6 years ago
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 years ago
Stan Hebben
bcebf627ba
Fix calling of functions with generic parameters
6 years ago
Stan Hebben
58c21971e9
- Added try! and try? operators
- WIP on exception handling
6 years ago
Stan Hebben
f89d5f93ae
Simplified handling of switch cases.
6 years ago
Stan Hebben
50c817b67e
- Experimental: variant types
- Experimental: match operator
- Adding error handling with return values and monadics
6 years ago
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 years ago
Stan Hebben
1c213dd186
- Added key sorting to switches
- Fixed a couple more bugs with generics
6 years ago