Checkpoint ongoing work. master
authorNot Zed <notzed@gmail.com>
Mon, 17 Apr 2023 08:56:40 +0000 (18:26 +0930)
committerNot Zed <notzed@gmail.com>
Mon, 17 Apr 2023 08:56:40 +0000 (18:26 +0930)
commit27af7aa9ef51198f4bd9d15e96a96cc5d041e2d9
tree17f9695fb4cb565b07b276ab07b7cfd8917955e2
parent6131567bf31701218a5c5b2e88b54943bf0ab874
Checkpoint ongoing work.
 - Implement 'var' declarations
 - Implement 'new' operator
 - Rejig the way fields are resolved to support chained operations
 - Implement null
 - Completely revamped type matching code
 - Import constructors
 - Various fixes
src/notzed.scripta/classes/au/notzed/scripta/AST.java
src/notzed.scripta/classes/au/notzed/scripta/ASTBuilder.java
src/notzed.scripta/classes/au/notzed/scripta/ASTPrinter.java
src/notzed.scripta/classes/au/notzed/scripta/ASTVisitor.java
src/notzed.scripta/classes/au/notzed/scripta/Compiler.java
src/notzed.scripta/classes/au/notzed/scripta/Generator.java
src/notzed.scripta/classes/au/notzed/scripta/Imports.java
src/notzed.scripta/classes/au/notzed/scripta/Script.java
src/notzed.scripta/gen/ScriptA.g4