UglifyJS (JS compressor/beautifier in JavaScript) contains a complete JavaScript parser that exposes a simple API. It’s heavily tested and used in some big projects (WebKit).
More Related Contents:
- Why are regular expressions taking the helm in my JavaScript, and how do I insist “this is a string”? [closed]
- Safely turning a JSON string into an object
- XML parsing of a variable string in JavaScript
- Parse query string in JavaScript [duplicate]
- Get all Attributes from a HTML element with Javascript/jQuery
- Adding a parameter to the URL with JavaScript
- Detect which word has been clicked on within a text
- How to parse a time into a Date object from user input in JavaScript?
- JavaScript parser in Python [closed]
- How to convert string into float in JavaScript?
- Safe evaluation of arithmetic expressions in Javascript
- How do I convert String to Number according to locale (opposite of .toLocaleString)?
- Parsing CSS in JavaScript / jQuery
- How to prevent Javascript injection attacks within user-generated HTML
- How to read GET data from a URL using JavaScript?
- Date parsing in javascript is different between safari and chrome
- JavaScript YAML Parser [closed]
- What is the decimal separator symbol in JavaScript?
- Nested JSON objects – do I have to use arrays for everything?
- Iterating through/Parsing JSON Object via JavaScript
- Why does javascript accept commas in if statements?
- Javascript: extract URLs from string (inc. querystring) and return array
- javascript FileReader – parsing long file in chunks
- Lexer written in Javascript? [closed]
- JSON Parse File Path
- parsings strings: extracting words and phrases [JavaScript]
- How to parse JSON easily?
- Best JavaScript Date Parser & Formatter? [closed]
- XML parser for JavaScript [closed]
- javascript parser for a string which contains .ini data