1 रिपॉजिटरी
Tools that serialize abstract syntax trees back into JavaScript source code.
Distinct from JavaScript Source Parsers: Focuses on the printing/serialization phase, whereas the sibling focuses on the parsing phase.
Explore 1 awesome GitHub repository matching programming languages & runtimes · JavaScript AST Printers. Refine with filters or upvote what's useful.
Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into abstract syntax trees that can be modified and then printed back into source code. The project focuses on formatting-preserving transformations, storing original whitespace and indentation metadata within syntax tree nodes to reconstruct code without losing its original layout. It also generates character-level source maps to maintain precise correspondences between original input and transformed output. The toolkit includes utilities for syntax tree manipulation using a visito
Provides a complete system for parsing JavaScript into ASTs and printing them back to source code.