-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Now that our AST is 1:1 with TS, we can replace the async closure serializer that uses the debugger API with one that simply serializes the FunctionlessAST -> TypeScript and runs the result through es-build to produce a final bundle.
- Remove ambiguity from TemplateExpr and TaggedTemplateExpr #373
-
Refactor Lambda/Function closure serializer field removal #239 - remove the work that the compiler does to flatten references and move that logic into interpreters feat: remove logic in compile.ts to flatten references to expressions #376
- remove
PromiseExprandPromiseArrayExpr - missing AST information for function modifiers feat: add isAsync and isAsterisk to function expressions and isOptional to ElementAccessExpr #382
- missing AST information -
const,letorvarin VariableDeclList feat: add isAwait to ForOfStmt and isRest to ParameterDecl, fix TemplateExpr #389 - missing AST information for
for await (const i of)feat: add isAwait to ForOfStmt and isRest to ParameterDecl, fix TemplateExpr #389 - missing AST information - while loops, for loops without BlockStmt, e.g.
while (cond) a = b - missing AST information - the variable declarations in for-loops must use a VariableDeclList
-
unnecessary AST information - Argument node type has no purpose - ensure that swc-jest + our transformer can be run during tests
- swap out the ts-transformer for swc and apply it as a require hook
-
update IAM policy inference to support exploring function references, recursion and higher-order functions, etc. Lambda: detect transitive dependencies from higher-order functions #310 - replace pulumi's closure serializer with one that translates FunctionlessAST into javascript instead of relying on debugger APIs and parsing function.toString() like how pulumi does it