Import & export are a big deal in code land, was wondering if you were planning on including these in the series.
Same for classes / arrays and types(: String, : Int, etc)
Thanks for these series, it's been very assisting in understanding an interpreter/compiler and how to make one.
classes:
properties inside classes act as object keys?
imports:
importing only from string or with from/select
import "./some-file.txt";
import { someFunc } from "./some-other-file.txt";
exports:
export functions so they can be imported
export func handyFunc () {}
types:
only in special file types like file.t.txt
const numericVal: int = 123; // or : num / : number
const stringVal: char = "abc"; // or : str / : string
arrays:
some variable containing an array
const list = [];
const filledList = [1,2,3];
etc. etc.