20 रिपॉजिटरी
Parsers specifically designed to convert JavaScript source code into structured data for analysis.
Distinct from Source Code Transformation Engines: Distinct from general transformation engines: focuses specifically on the initial parsing phase for the JavaScript language.
Explore 20 awesome GitHub repositories matching programming languages & runtimes · JavaScript Source Parsers. Refine with filters or upvote what's useful.
oxc is a high-performance JavaScript toolchain developed in Rust for parsing, transforming, and analyzing JavaScript and TypeScript source code. It provides a set of core utilities including a parser that converts code into an abstract syntax tree, a linter for identifying problematic patterns, a formatter for standardizing visual style, and a minifier for reducing production file sizes. The project focuses on high-performance execution through a system design that utilizes single-pass parsing, zero-copy string slicing, and parallel worker processing to handle large codebases. It further opti
Implements a fast compiler frontend that converts JavaScript and TypeScript code into an abstract syntax tree.
UglifyJS2 is a suite of tools designed for parsing, beautifying, mangling, and minifying JavaScript code. It functions by converting source code into an abstract syntax tree to enable programmatic analysis and transformation, and it includes a dedicated generator for creating associated source maps. The project optimizes web production builds by compressing script logic and removing unreachable code. It utilizes name mangling to shorten variable and property names and implements a beautifier to reconstruct compressed scripts into a human-readable layout. The toolset covers broad capability a
Converts raw JavaScript source code into a structured data format for analysis and logic redistribution.
UglifyJS is a tool for JavaScript code minification, AST manipulation, and source beautification. Its primary purpose is to reduce the file size of JavaScript source code by removing whitespace and shortening variable names to optimize frontend build assets. The project differentiates itself through its ability to programmatically analyze and transform code using abstract syntax trees. It performs constant folding analysis and conditional compilation to eliminate unreachable or redundant code, and it employs a multi-pass compression pipeline to maximize total file size reduction. The tool pr
Includes specialized JavaScript source parsers to convert raw code into structured data.
Acorn is a JavaScript parser that converts source text into a structured abstract syntax tree. It follows the ESTree specification to produce a standardized JSON tree format, enabling consistent analysis of code structure and language versions. The project features a plugin-based grammar extension system that allows the base parser to be extended with custom rules for experimental or non-standard language features. It also includes syntax error recovery, which inserts placeholder nodes into the tree when encountering invalid code to allow parsing to continue. The toolset covers static analys
Provides a high-performance parser that converts JavaScript source code into structured ESTree-compliant data.
Terser is a JavaScript minifier and compressor designed to reduce file size through whitespace removal, symbol mangling, and logic optimization for ES6+. It functions as a toolkit for minification, a code mangler for shortening variable and property names, and a dead code eliminator that evaluates constant expressions to remove unreachable logic. The project operates as an AST toolkit that parses JavaScript source into SpiderMonkey AST format for structural analysis. It generates source maps to link compressed production code back to the original source, ensuring that minified bundles remain
Ships a specialized JavaScript source parser that converts code into a structured tree for optimization.
Otto is a Go implementation of a JavaScript interpreter and embedded scripting engine. It provides a runtime environment for executing JavaScript code within native applications and includes a parser that converts source code into an abstract syntax tree for analysis and processing. The project enables the creation of custom scripting interfaces by binding native Go functions into the JavaScript global scope. It also includes a utility to translate JavaScript regular expression patterns into compatible formats for other programming languages. The engine supports safe script sandboxing throug
Includes a parser that converts JavaScript source code into structured ASTs for program analysis.
Esprima एक JavaScript पार्सर है जो सोर्स कोड को एक संरचित एब्सट्रैक्ट सिंटैक्स ट्री (AST) में परिवर्तित करता है। यह ECMAScript मानकों के अनुपालन को सुनिश्चित करने के लिए एक विनिर्देश-संचालित व्याकरण लागू करता है, जो JavaScript प्रोग्रामों के प्रोग्रामेटिक विश्लेषण और परिवर्तन को सक्षम बनाता है। यह प्रोजेक्ट सोर्स कोड को अलग-अलग प्रतीकों में तोड़ने के लिए लेक्सिकल टोकनाइज़ेशन और कोड को निष्पादित किए बिना स्क्रिप्ट्स के सही ढंग से बनने की पुष्टि करने के लिए स्टेटिक सिंटैक्स वैलिडेशन की क्षमताएं प्रदान करता है। इसकी कार्यात्मक सतह JavaScript स्टेटिक विश्लेषण, लेक्सिकल विश्लेषण और एब्सट्रैक्ट सिंटैक्स ट्री के निर्माण को कवर करती है।
Provides lexical tokenization to break JavaScript source code into individual symbols.
js-code-to-svg-flowchart is a JavaScript source code visualizer and static code analysis tool that converts programming blocks and iterators into scalable vector graphics flowcharts. It functions as a code-to-diagram converter that maps the structural logic and sequence of operations from source files into visual representations. The system includes a command line interface for generating SVG flowcharts directly from local source code. It features a transformation engine that maps code nodes to schematic shapes and supports a sequence of images at varying abstraction levels to explain logic s
Transforms JavaScript source code into SVG flowcharts to visualize program logic and execution flow.
Boa is a high-performance JavaScript engine and parser designed to execute JavaScript code and analyze source code structure. It functions as a runtime environment for executing scripts to automate tasks or process data, providing both a command-line JavaScript interpreter and a tool for converting source code into abstract syntax trees. The engine is capable of compiling to WebAssembly, allowing the runtime to be deployed and executed within web browser environments. It includes an interactive read-eval-print loop for real-time logic testing and snippet execution via a terminal. The system
Provides a dedicated JavaScript parser that converts source code into detailed abstract syntax trees.
Metro is a JavaScript bundler designed for React Native environments. It functions as a system for resolving dependencies, transforming source code, and packaging JavaScript and assets into bundles for execution. The project includes a development bundler server that hosts assets via HTTP and provides hot module replacement. It features a module resolver that handles platform-specific file extensions and a source code transformer that converts code into tree structures for optimization and minification. The toolset covers programmatic bundle generation, source map creation, and file system c
Provides a transformation pipeline that converts source code into tree structures for optimization and minification.
go-ast-book एब्स्ट्रैक्ट सिंटैक्स ट्री (AST) विश्लेषण, कंपाइलर डेवलपमेंट और स्टेटिक कोड वेरिफिकेशन पर केंद्रित शैक्षिक और तकनीकी संसाधनों का एक संग्रह है। यह Go सोर्स कोड को पार्स करने, ट्रैवर्स करने और उसका विश्लेषण करके अर्थ निकालने के लिए गाइड और मैनुअल प्रदान करता है। यह प्रोजेक्ट कंपाइलर फ्रंटएंड बनाने के लिए एक संदर्भ के रूप में कार्य करता है, जो हाई-लेवल कोड को इंटरमीडिएट रिप्रेजेंटेशन और सिंगल स्टेटिक असाइनमेंट फ़ॉर्म में अनुवाद करने को कवर करता है। यह भाषा टूलिंग विकसित करने और स्टेटिक कोड विश्लेषण करने के लिए इन तकनीकों का उपयोग करने के निर्देश भी प्रदान करता है। संसाधन लेक्सिकल टोकनाइज़ेशन, एक्सप्रेशन्स और डिक्लेरेशन्स की स्ट्रक्चरल पार्सिंग और सोर्स फ़ाइलों के लिए कोऑर्डिनेट ट्रैकिंग सहित स्टेटिक विश्लेषण क्षमताओं की एक विस्तृत श्रृंखला को कवर करते हैं। यह आइडेंटिफ़ायर रिज़ॉल्यूशन, टाइप करेक्टनेस वेरिफिकेशन और कॉनकरेंसी और डिफ़र्ड एक्ज़ीक्यूशन के लिए कंट्रोल फ़्लो विश्लेषण जैसी सिमेंटिक विश्लेषण प्रक्रियाओं का भी विवरण देता है।
Breaks down source code into identifiers and operators to prepare text for structural analysis.
यह लाइब्रेरी एक PHP सोर्स कोड टोकेनाइज़र और स्टेटिक विश्लेषण टूल है जो कच्चे PHP कोड को अलग-अलग टोकन और संरचित XML अभ्यावेदन में परिवर्तित करती है। यह एक सीरियलाइज़र के रूप में कार्य करता है जो प्रोग्रामेटिक विश्लेषण और सोर्स ट्री हेरफेर के लिए टोकन स्ट्रीम को मशीन-पठनीय प्रारूप में बदलता है। यह प्रोजेक्ट बड़ी फ़ाइलों को संसाधित करते समय कम मेमोरी ओवरहेड बनाए रखने के लिए स्ट्रीम-आधारित XML सीरियलाइज़ेशन और फ्रैगमेंट-आधारित बफ़र राइटिंग का उपयोग करता है। यह स्कीमा संगतता सुनिश्चित करने और परिवर्तन प्रक्रिया के दौरान नामकरण टकराव से बचने के लिए कस्टम XML नेमस्पेस कॉन्फ़िगरेशन की अनुमति देता है। टूलकिट लेक्सिकल विश्लेषण और स्टेटिक कोड विश्लेषण वर्कफ़्लो का समर्थन करने के लिए सोर्स कोड को संरचित XML में बदलने को कवर करती है। यह फ्लैट सोर्स सूचियों को पदानुक्रमित XML संरचना में व्यवस्थित करने के लिए टोकन स्ट्रीम को एक ही पास में संसाधित करती है।
Converts PHP source code into discrete tokens to enable programmatic analysis and processing.
CodeGen is a trained large language model and program synthesis model designed to generate functional source code. It utilizes a neural network architecture to synthesize executable code from natural language descriptions or partial code snippets. The model enables automated program synthesis and AI-assisted coding by predicting and filling in missing sections of code within a program. It transforms natural language descriptions into functional programming logic to automate the creation of boilerplate and logic.
Converts source code into numerical representations using a specialized vocabulary optimized for programming language syntax.
browserify-handbook, Browserify के लिए एक व्यापक डॉक्यूमेंटेशन गाइड है, जो एक CommonJS मॉड्यूल बंडलर और JavaScript बिल्ड टूल है। यह बताता है कि वेब ब्राउज़र में निष्पादन के लिए Node.js स्टाइल मॉड्यूल को सिंगल JavaScript फाइलों में कैसे कंपाइल किया जाए। यह गाइड यूनिवर्सल मॉड्यूल डेफिनिशन बंडल्स के निर्माण को कवर करती है जो Node, AMD और ब्राउज़र एनवायरनमेंट में काम करते हैं। यह क्रॉस-प्लेटफॉर्म संगतता सुनिश्चित करने के लिए Node.js बिल्ट-इन मॉड्यूल के लिए ब्राउज़र-संगत पॉलीफ़िल्स के उपयोग का भी विवरण देती है। यह मैनुअल सोर्स कोड ट्रांसफॉर्मेशन, फ्रंटएंड बिल्ड ऑटोमेशन और वेब एप्लिकेशन डिबगिंग की क्षमताओं का वर्णन करता है। यह बंडल साइज़ ऑप्टिमाइज़ेशन, एंट्री पॉइंट बंडल स्प्लिटिंग और सोर्स मैप्स के निर्माण को भी कवर करता है।
Transforms JavaScript source code through compilation pipelines to support custom syntax or languages.
Sweet-core is a JavaScript source-to-source compiler and Lisp-style macro system. It functions as a syntax transformer that extends JavaScript by allowing the definition of custom syntax and operators during the compilation process. The system provides a framework for building domain-specific languages through hygienic, recursive macro expansion and the creation of new language constructs. It distinguishes itself by supporting custom operator definitions with configurable associativity and precedence to control expression evaluation. The compiler includes a specialized module system for mana
Acts as a JavaScript source transformer that creates new language constructs and operators via macros.
This project is a suite of abstract syntax tree transformation tools designed to automate the migration of source code to newer versions of React. It provides a set of scripts that programmatically modify code structures to replace deprecated APIs and component patterns with modern equivalents. The toolkit specializes in converting class components into functional components using arrow functions and prop destructuring. It also includes utilities for modernizing JSX syntax, updating deprecated lifecycle methods to stable versions, and migrating legacy string-based references to callback refs.
Provides tools for programmatically transforming JavaScript source code through AST manipulation pipelines.
This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It functions as a JavaScript minifier that uses the Babel toolchain to reduce file size by removing unnecessary characters and whitespace while preserving program logic. The tool is distinguished by its ability to process experimental language proposals and transform modern syntax into browser-compatible versions. It provides specialized handling for React JSX transpilation and strips type annotations from TypeScript files to produce compressed production assets. The system cove
Converts JavaScript and TypeScript source files into structured abstract syntax trees for analysis and transformation.
Koala वेब एसेट प्रीप्रोसेसर के कंपाइलेशन, ट्रांसपाइलेशन और बैकग्राउंड मॉनिटरिंग को मैनेज करने के लिए एक ग्राफिकल यूजर इंटरफेस है। यह एक बिल्ड टूल के रूप में काम करता है जो Less, Sass और CoffeeScript फाइलों को ब्राउज़र-कंपैटिबल CSS और JavaScript में बदलता है। एप्लिकेशन में ट्रांसफॉर्मेशन प्रोसेस को कंट्रोल करने के लिए एक विजुअल इंटरफेस है, जिससे कमांड लाइन इंटरैक्शन की जरूरत खत्म हो जाती है। इसमें एक बैकग्राउंड फाइल मॉनिटर शामिल है जो लोकल फाइलसिस्टम पर बदलाव डिटेक्ट होते ही सोर्स फाइलों को रियल-टाइम में ऑटोमैटिकली री-कंपाइल कर देता है। यह टूल ग्लोबल और प्रोजेक्ट-स्पेसिफिक कंपाइलेशन सेटिंग्स को मैनेज करने के लिए यूटिलिटीज प्रदान करता है, जिसमें कंपाइल किए गए कोड को कंप्रेस करने के लिए पोस्ट-प्रोसेसिंग मिनिफिकेशन भी शामिल है। इसमें एक नोटिफिकेशन सिस्टम भी है जो सिंटैक्स एरर्स को डिटेक्ट और रिपोर्ट करने के लिए कंपाइलर आउटपुट को कैप्चर करता है।
Transforming CoffeeScript into executable JavaScript while detecting syntax errors and managing output configurations.
Optimize-js is a JavaScript parsing optimizer designed to reduce the time browsers spend pre-parsing scripts to improve initial execution speed. It transforms source code to minimize the overhead associated with browser parsing. The project implements a technique that wraps function calls in parentheses to bypass initial pre-parsing and reduce double-parsing overhead. To maintain the utility of the transformed code, it includes a source map generator that links the optimized output back to the original source. The toolset also includes performance benchmarking capabilities to measure the exa
Transforms JavaScript source code through AST manipulation to reduce browser pre-parsing overhead.
This project is an interactive JavaScript course and beginner programming guide designed to teach fundamental scripting logic and language syntax. It functions as a web-based coding tutorial that transforms markdown-based lessons into a static site curriculum for learning web development basics. The resource features a browser-based code sandbox that allows for the execution of JavaScript snippets within a secure environment for immediate feedback. Lessons are organized into a linear sequence of modules to provide a structured onboarding process for those new to software development. The sys
Uses lexical analysis to tokenize JavaScript source code for the purpose of applying syntax highlighting.