import { bench , read } from '@lib' ; import { day , year } from '.' ; import { interpreter } from './interpeter.function' ; import { Node } from './model/node.class' ; export const runner = ( input ) : number => new Node ( interpreter ( input ) ) . value ( ) ; if ( require . main === module ) { ( async ( ) => console . log ( `Result: ${ await bench ( read ( year , day ) , runner ) }` ) ) ( ) ; }