Releases: KayJamLang/core
Releases · KayJamLang/core
Beta release 4! Namespaces, constants and file object
0.1.4-beta4 Update .gitignore
Version 5 Beta 1
Packs container and constants, new use expression:
use IO\Reflection\{ Method, Class };
pack Vendor\Name {
const ERR_CODE_FAILED = 0;
class ClassName {}
}
Version 0.1.4-dev
What's new:
- Operator words are no longer in the lexer, but in a separate class. That is, now you can call classes / variables and other expressions with the word operator. For example:
var class = 123456;
. This, of course, is not done for this, but so that the lexer does not consider names as an operator word. Due to the fact that earlier these words were in the lexer, the following code would not work:var variable = 123 + 321
; - The readExpression method can no longer parse object (as a class), class, use. Use readTopExpression instead
- The parseAst method can no longer parse object (as a class), class, use.
- New container Script which can contain class, object (as a class), use
- New parseScript method that can parse Script (no parentheses are needed at the beginning and at the end)
First release
0.1 Update build.gradle