From af65d13038dcdeaf93c5c718cbc74c20120c6a22 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 20 Aug 2023 12:42:06 +0530 Subject: feat: implements function call and adds support for recursion --- src/declarations.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/declarations.ts') diff --git a/src/declarations.ts b/src/declarations.ts index 5c2f9a3..c0966fa 100644 --- a/src/declarations.ts +++ b/src/declarations.ts @@ -62,6 +62,7 @@ export const toDeclaration = (expr: Expr): Declaration | undefined => { _: _ => {}, }) + // TODO: Refactor with eval match(map, { Call: ({ name, args }) => { if (name !== 'map') return -- cgit v1.3.1