mist64 / cbmbasic

cbmbasic, a portable version of Commodore's version of Microsoft BASIC 6502 as found on the Commodore 64
446 stars 66 forks source link

[feature request] ignore unnumbered lines that begin with a semicolon `;` character #18

Open jeffgazso opened 1 year ago

jeffgazso commented 1 year ago

It would be nice if the interpreter ignored unnumbered lines that begin with the semicolon ; character. This is most useful for embedding text editor pragmas shortly after the shabang line.

A common example would be:

#!/usr/bin/env cbmbasic
; vim: ts=4
{BASIC source code begins}

The petcat tokenizer that comes with VICE has this feature.