compilerz
19 months agoCheckpoint ongoing work. master
Not Zed [Mon, 17 Apr 2023 08:56:40 +0000 (18:26 +0930)]
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
19 months agoCheckpoint ongoing work
Not Zed [Tue, 11 Apr 2023 10:40:53 +0000 (20:10 +0930)]
Checkpoint ongoing work
 - Rejigged grammar to support:
  + Chained function calls
  + field references
  + multiple variables in declarations
  + assignments to calculated fields
  + more correct operator precedence
 - fixed instance field/method resolution
19 months agoCheckpoint ongoing work
Not Zed [Sun, 9 Apr 2023 04:11:21 +0000 (13:41 +0930)]
Checkpoint ongoing work
 - added double and long as variable types
 - improved function resolution logic for type matching
 - coerce variables as necessary for function calls
 - simplify coercion code
19 months agoCheckpoint ongoing work.
Not Zed [Sat, 8 Apr 2023 23:36:46 +0000 (09:06 +0930)]
Checkpoint ongoing work.
 - fixed comparison ops
 - improved import mechanism
 - extended primitive type handling
 - implemented while/break/continue
19 months agoInitialise ScriptB implementation from ScriptA.
Not Zed [Mon, 27 Mar 2023 02:21:54 +0000 (12:51 +1030)]
Initialise ScriptB implementation from ScriptA.
19 months agoPartial .class compiler implementation.
Not Zed [Mon, 27 Mar 2023 02:15:12 +0000 (12:45 +1030)]
Partial .class compiler implementation.
20 months agoUpdate .gitignore
Not Zed [Thu, 23 Mar 2023 08:59:31 +0000 (19:29 +1030)]
Update .gitignore
20 months agoInitial import.
Not Zed [Thu, 23 Mar 2023 08:50:14 +0000 (19:20 +1030)]
Initial import.