XML Parsing with jQuery | Switch on the Code
http://www.switchonthecode.com/tutorials/xml-parsing-with-jquery
Parsing an XML feed or page using jQuery.Sexy Lexing with Python | Evan Fosmark
Lexical analysis, a daunting task right? Wrong! In the following document we'll walk through different methods of lexical scanning in Python. First, we'll lookParsing Strings With jQuery : DevKick Blog
jqueryによる文字列操作 正規表現を活用 urlアドレスのa要素化、htmlタグの削除などParseKit - Cocoa Objective-C Framework for parsing, tokenizing and language processing
ParseKit Home Tokenization Grammars iPhone Source Code Header Docs ParseKit Documentation ParseKit ParseKit is a Mac OS X Framework written by Todd Ditchendorf in Objective-C 2.0 and released under the MIT Open Source License. ParseKit is suitable for use on Mac OS X Leopard or iPhone OS. The framework is an Objective-C implementation of the tools described in "Building Parsers with Java" by Steven John Metsker. ParseKit includes additional features beyond the designs from the book and also some changes to match common Cocoa/Objective-C conventions. These changes are relatively superficial, however, and Metsker's book is the best documentation available for ParseKit. The ParseKit Framework offers 3 basic services of general interest to Cocoa developers: String Tokenization via the Objective-C PKTokenizer and PKToken classes. High-Level Language Parsing via Objective-C - An Objective-C parser-building API (the PKParser class and sublcasses). Objective-C Parser Generation via Grammars
The ParseKit Framework offers 3 basic services of general interest to Cocoa developers: 1- String Tokenization via the Objective-C PKTokenizer and PKToken classes. 2- High-Level Language Parsing via Objective-C - An Objective-C parser-building API (the PKParser class and sublcasses). 3- Objective-C Parser Generation via Grammars - Generate an Objective-C parser for your custom language using a BNF-style grammar syntax (similar to yacc or ANTLR). While parsing, the parser will provide callbacks to your Objective-C code.
"The ParseKit Framework offers 3 basic services of general interest to Cocoa developers: String Tokenization via the Objective-C PKTokenizer and PKToken classes. High-Level Language Parsing via Objective-C - An Objective-C parser-building API (the PKParser class and sublcasses). Objective-C Parser Generation via Grammars - Generate an Objective-C parser for your custom language using a BNF-style grammar syntax (similar to yacc or ANTLR). While parsing, the parser will provide callbacks to your Objective-C code."gnuu.org: Writing Your Own Toy Compiler Using Flex, Bison and LLVM
"If you follow this article, you should end up with a language that can define functions, call functions, define variables, assign data to variables and perform basic math operations. It will support two basic types, doubles and integers. Some of the functionality is unimplemented, so you can have the satisfaction of actually implementing some of this stuff yourself and get the hang of writing a compiler with a little help."
Tutorial for writing your own compilerPerl Cannot Be Parsed: A Formal Proof
For those not familiar with the history of this discussion, the term "parse" here is being used in its strict sense to mean static parsing -- taking a piece of code and determining its structure without executing it. In that strict sense the Perl program does not parse Perl. As Jeffrey pointed out it means that you can't reliably parse perl code without executing it. This means that things like static code analysis, code transformation and syntax hilighting will never be reliable. This is a drawback indeed, but on the other hand it means that modules can extend Perl's syntax, and that other nifty stuff can be accomplished. So I understand this node as a proof of a property that is seldom fully understood.
[ UPDATE 14 Aug 2009: A series of three articles in The Perl Review, now available online, expands on this node. In that series, the proof is carefully laid out in three different versions, and is much more thoroughly explained. ]The Magic Behind Parser Combinators - Code Commit
If you’re like me, one of the first things that attracted you to Scala was its parser combinators. Well, maybe that wasn’t the first thing for me, but it was pretty far up there. Parser combinators make it almost too easy to create a parser for a complex language without ever leaving the comfortable play-pen afforded by Scala. Incidentally, if you aren’t familiar with the fundamentals of text parsing, context-free grammars and/or parser generators, then you might want to do some reading before you continue with this article.
If you ever want to write a basic parser in Scala, take a look at this.
needRegEx match open tags except XHTML self-contained tags - Stack Overflow
genius
If you parse HTML with regex you are giving in to Them and their blasphemous ways which doom us all to inhuman toil for the One whose Name cannot be expressed in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the nerves of the sentient whilst you observe, your psyche withering in the onslaught of horror.
Heh. "The only moral of this story is that you should never attempt to parse HTML with a regular expression, but there are some occasions when it is unavoidable".argparse - Google Code
The argparse module provides an easy, declarative interface for creating command line tools, which knows how to: * parse the arguments and flags from sys.argv * convert arg strings into objects for your program * format and print informative help messages * and much more... The argparse module improves on the standard library optparse module in a number of ways including: * handling positional arguments * supporting sub-commands * allowing alternative option prefixes like + and / * handling zero-or-more and one-or-more style arguments * producing more informative usage messages * providing a much simpler interface for custom types and actions
Enhanced command line parsing in Python.python-sqlparse - Google Code
sqlparse is a non-validating SQL parser for Python. It provides support for parsing, splitting and formatting SQL statements.
sqlparse is a non-validating SQL parser for Python. It provides support for parsing, splitting and formatting SQL statements.
Support for parsing, splitting and formatting SQL statements.PEG.js – Parser Generator for JavaScript
enter your own lexerCodekana blog » Blog Archive » On the Speed of Light, Innovation, and the Future of Parsing
Briljant
the viemu/codekana guy talks about his incremental parserParsing file uploads at 500 mb/s with node.js » Debuggable Ltd
A few weeks ago I set out to create a new multipart/form-data parser for node.js. We need this parser for the new version of transloadit that we have been working on since our setback last month. The result is a new library called formidable, which, on a high level, makes receiving file uploads with node.js as easy as:
Parsing file uploads at 500 mb/s with node.js » Debuggable LtdHTML Parsing and Screen Scraping with the Simple HTML DOM Library | Nettuts+
If you need to parse HTML, regular expressions aren’t the way to go. In this tutorial, you’ll learn how to use an open source, easily learned parser, to read, modify, and spit back out HTML from external sources. Using nettuts as an example, you’ll learn how to get a list of all the articles published on the site and display them.