Encyclopedia

recursive descent parser

Also found in: Dictionary, Medical, Wikipedia.

recursive descent parser

(grammar)
A "top-down" parser built from a set of mutually-recursive procedures or a non-recursive equivalent where each such procedure usually implements one of the productions of the grammar. Thus the structure of the resulting program closely mirrors that of the grammar it recognises.

["Recursive Programming Techniques", W.H. Burge, 1975, ISBN 0-201-14450-6].
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

recursive descent parser

Software that breaks down XML data or source code into a visual tree for clarity. Known as a "top-down parser," a recursive descent parser reads the input from left to right in contrast to a "bottom-up parser" (such as a shift-reduce parser) that starts with the right side of a grammatical entity. See XML, parse and recursion.
Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
Mentioned in
References in periodicals archive
Personally, I tend to write recursive descent parsers, which take a couple of pages of code and provide plenty of flexibility.
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.