import fs from 'fs';
import Lexer from './transpiler/lexer';

let fileContent = fs.readFileSync('Example.dilmalang');

if (!fileContent) {
	console.error('File not found');
}

fileContent = fileContent.toString();

new Lexer(fileContent);

import fs from 'fs';
import Lexer from './transpiler/lexer';

// let fileContent = fs.readFileSync('Example.dilmalang');
let fileContent = fs.readFileSync('Example - Loop.dilmalang');

if (!fileContent) {
	console.error('File not found');
}

fileContent = fileContent.toString();

const lexer = new Lexer(fileContent);
lexer.printTokens();

Use Example - Loop as entry file and print lexer result
Use Example - Loop as entry file and print lexer result
