Bas is an interpreter for the classic dialect of the programming language BASIC. It is pretty compatible to typical BASIC interpreters of the 1980s. The interpreter tokenises the source and resolves references to variables and jump targets before running the program.