import { lexer } from "./lexer" ; import { smolBasic , smolFib , smolEasyTest , smolWhile } from "./example" ; import { parser } from "./parser" ; import { interpreter } from "./interpreter" ; export const evaluate = ( smol ) => { const tokens = lexer ( smol ) ; const ast = parser ( tokens ) ; interpreter ( ast , { } ) ; } ; evaluate ( smolWhile ) ;