Skip to content

Conversation

@zhiyuuuu
Copy link

@zhiyuuuu zhiyuuuu commented Oct 6, 2025

  1. TS_to_Strata.lean
  • Implement translation logic for TS_ArrowFunctionExpression in variable declarations and assignments.
  • Register arrow function expressions in the translation context under their bound names.
  1. js_ast.lean
  • Define the TS_ArrowFunctionExpression structure.
  • Extend the TS_Expression inductive type to include TS_ArrowFunctionExpression.
  1. conformance_testing/babel_to_lean.py
  • Parse Babel "ArrowFunctionExpression" nodes.
  • Map them to Lean’s TS_ArrowFunctionExpression structure for conformance testing.

@zhiyuuuu zhiyuuuu marked this pull request as ready for review October 6, 2025 02:08
@Ex10si0n Ex10si0n merged commit eefb9d3 into typescript-frontend Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants