summaryrefslogtreecommitdiff
path: root/src/interpreter/interpreter.ts
blob: c16984fd3583fb58a840162a70669c515334d23f (plain)
1
2
3
4
5
6
7
8
9
10
import { parse, type LambdaTerm } from ".";

export const evaluate = (_term: LambdaTerm): LambdaTerm => {
  return "";
};

export const interpret = (term: string): LambdaTerm => {
  const ast = parse(term);
  return evaluate(ast);
};