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
Stan Hebben
9221f0b8e4
Merge branch 'development' of git.openzen.org:kindlich/ZenScript into development
6 years ago
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 years ago
kindlich
2e37bbff79
- Added switch statement
- MemberVisitors now have one central clinit writer
6 years ago
Stan Hebben
7c33560a67
- Added static initializers
- Added switch statements
- Started work on increment and decrement operators
- Starting work on Constructor, the build tool
6 years ago
Stan Hebben
ba568c23b7
- Continued work on the code formatter
- Static calls now remember the exact type they are called for
6 years ago
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 years ago
Stan Hebben
47f68df4f8
Performed some minor simplifications on the java writer, removed some duplicate code
6 years ago
Stan Hebben
3ef3a8d6cf
- Changed the way static is determined in an expression writer
- Minor code improvements; make better use of JavaMethodInfo
6 years ago
Stan Hebben
74dac5c249
Merge branch 'development' of git.openzen.org:kindlich/ZenScript into development
6 years ago
Stan Hebben
4441f43381
Started work on definition formatting.
6 years ago
kindlich
40e90817fd
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
8c090f75c1
- Added values for default arguments to the CallExpression
- Started work on definition formatting
6 years ago
kindlich
1126c8370c
Functions in Java
6 years ago
kindlich
e09877d432
One generated class per script file + classes
6 years ago
kindlich
04899f9247
Compares will now use the compare fields directly instead of the type name
6 years ago
kindlich
1a262f7c09
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
2078d3f1cc
- Statements can now also store comments before and after them
- Added comment & partial whitespace preservation to the file formatter
6 years ago
kindlich
5efd13e077
Merge remote-tracking branch 'Stan/development' into development
6 years ago
Stan Hebben
86b521640c
Improved implementation of global expressions.
6 years ago
kindlich
c754619684
Better be save than sorry and commit before something happens again...
6 years ago
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 years ago
Stan Hebben
333c5f429d
Adding (part of) support for optional types.
6 years ago
Stan Hebben
c88d5f01ce
Merge branch 'development' of https://git.openzen.org/ZenScript/ZenScript into development
6 years ago
Stan Hebben
79720b4165
- Fix bug in TypeFormatter with optional types
- Added virtual modifier
- Optimized parsing of modifiers
-
6 years ago
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 years ago