---
title: "Meaning & Key Takeaway of: A formal parsing algorithm should not…"
description: "\"A formal parsing algorithm should not always be used.\" — David Gries"
image: "https://sms4smile.com/quotes/i/118/david-gries-82372_algorithms_a-formal-parsing-algorithm-should-not-al_1655322.jpg"
---

#  A formal parsing algorithm should not always be used.

![“A formal parsing algorithm should not always be used.” quote by David Gries](https://sms4smile.com/quotes/i/118/david-gries-82372_algorithms_a-formal-parsing-algorithm-should-not-al_1655322.jpg)   [Download](https://sms4smile.com/quotes/i/118/david-gries-82372_algorithms_a-formal-parsing-algorithm-should-not-al_1655322.jpg) [Open image](https://sms4smile.com/quotes/i/118/david-gries-82372_algorithms_a-formal-parsing-algorithm-should-not-al_1655322.jpg)

> “A formal parsing algorithm should not always be used.”

David Gries

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Formal parsing algorithms are not universally appropriate; sometimes simpler methods suffice.

**In simple terms:** Formal parsing isn’t always the best tool.

Key Takeaway

Choose parsing methods based on problem context.

Themes

programming parsing algorithm design efficiency pragmatism

Mood

technical analytical

Type

educational practical

When to use this quote

- compiler construction
- data validation
- quick scripting
- educational exercises

Key Concepts

computational theory software engineering problem solving

Questions to Reflect On

- When is a formal parser unnecessary?
- What criteria guide algorithm selection?

A Different Perspective

Over‑engineering can waste time and resources.

★ ★ ★ ★ ★   No ratings yet

[Algorithm](https://sms4smile.com/quotes/about/algorithm/) [Algorithms](https://sms4smile.com/quotes/about/algorithms/) [Humorous](https://sms4smile.com/quotes/about/humorous/)

## Related quotes

> [No one knows what the right algorithm is, but it gives us hope that if we can discover some crude approximation of whatever this…](https://sms4smile.com/quotes/andrew-ng/no-one-knows-what-the-right-algorithm-is-but-it-gives-us-hope-that-if/)

[Andrew Ng](https://sms4smile.com/quotes/author/andrew-ng/)

> [There is no Algorithm for Humor](https://sms4smile.com/quotes/robert-mankoff/there-is-no-algorithm-for-humor/)

[Robert Mankoff](https://sms4smile.com/quotes/author/robert-mankoff/)

> [“Algorithm’ is arguably the single most important concept in our world. If we want to understand our life and our future, we should make…](https://sms4smile.com/quotes/yuval-noah-harari/algorithm-is-arguably-the-single-most-important-concept-in-our-world/)

[Yuval Noah Harari](https://sms4smile.com/quotes/author/yuval-noah-harari/)

> [More than sixty years ago, mathematical logicians, by defining precisely the concept of an algorithm, gave content to the ancient human idea of an…](https://sms4smile.com/quotes/david-berlinski/more-than-sixty-years-ago-mathematical-logicians-by-defining/)

[David Berlinski](https://sms4smile.com/quotes/author/david-berlinski/)

> [The Facebook algorithm designers chose to let us see what our friends are talking about. They chose to show us, in some sense, more…](https://sms4smile.com/quotes/cathy-o-neil/the-facebook-algorithm-designers-chose-to-let-us-see-what-our-friends/)

[Cathy O'Neil](https://sms4smile.com/quotes/author/cathy-o-neil/)

> [There is no algorithm for creativity.](https://sms4smile.com/quotes/andy-hargreaves/there-is-no-algorithm-for-creativity/)

[Andy Hargreaves](https://sms4smile.com/quotes/author/andy-hargreaves/)

> [An algorithm must be seen to be believed.](https://sms4smile.com/quotes/donald-knuth/an-algorithm-must-be-seen-to-be-believed/)

[Donald Knuth](https://sms4smile.com/quotes/author/donald-knuth/)

> [Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more fun, and it comes without a 30-day, money-back guarantee.](https://sms4smile.com/quotes/steve-mcconnell/heuristic-is-an-algorithm-in-a-clown-suit-it-s-less-predictable-it-s/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [I know how models are built, because I build them myself, so I know that I'm embedding my values into every single algorithm I…](https://sms4smile.com/quotes/cathy-o-neil/i-know-how-models-are-built-because-i-build-them-myself-so-i-know/)

[Cathy O'Neil](https://sms4smile.com/quotes/author/cathy-o-neil/)

> [Trees and bones are constantly reforming themselves along lines of stress. This algorithm has been put into a software program that's now being used…](https://sms4smile.com/quotes/janine-benyus/trees-and-bones-are-constantly-reforming-themselves-along-lines-of/)

[Janine Benyus](https://sms4smile.com/quotes/author/janine-benyus/)

> [“Algorithm without humanity is mental holocaust.”](https://sms4smile.com/quotes/abhijit-naskar/algorithm-without-humanity-is-mental-holocaust/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [An algorithm is like a recipe.](https://sms4smile.com/quotes/muhammad-waseem/an-algorithm-is-like-a-recipe/)

[Muhammad Waseem](https://sms4smile.com/quotes/author/muhammad-waseem/)

> [“An algorithm is a methodical set of steps that can be used to make calculations, resolve problems and reach decisions. An algorithm isn’t a…](https://sms4smile.com/quotes/yuval-noah-harari/an-algorithm-is-a-methodical-set-of-steps-that-can-be-used-to-make/)

[Yuval Noah Harari](https://sms4smile.com/quotes/author/yuval-noah-harari/)

> [“We will start by sketching the recursive algorithm and then add details to get to a full description of the algorithm. Footnote : Translation:…](https://sms4smile.com/quotes/sariel-har-peled/we-will-start-by-sketching-the-recursive-algorithm-and-then-add/)

Sariel Har-Peled

> [Anyone, from the most clueless amateur to the best cryptographer, can create an algorithm that he himself can't break.](https://sms4smile.com/quotes/bruce-schneier/anyone-from-the-most-clueless-amateur-to-the-best-cryptographer-can/)

[Bruce Schneier](https://sms4smile.com/quotes/author/bruce-schneier/)

## More by David Gries

> [A closed mouth gathers no foot. A conclusion is simply the place where someone got tired of thinking. A fool-proof method for sculpting an…](https://sms4smile.com/quotes/david-gries/a-closed-mouth-gathers-no-foot-a-conclusion-is-simply-the-place-where/)

David Gries

> [Never put off until run time what you can do at compile time.](https://sms4smile.com/quotes/david-gries/never-put-off-until-run-time-what-you-can-do-at-compile-time/)

David Gries

Explore all 3 David Gries quotes

## More Algorithm quotes

> [“No algorithm exists for the metaphor, nor can a metaphor be produced by means of a computer’s precise instructions, no matter what the volume…](https://sms4smile.com/quotes/umberto-eco/no-algorithm-exists-for-the-metaphor-nor-can-a-metaphor-be-produced/)

[Umberto Eco](https://sms4smile.com/quotes/author/umberto-eco/)

> [“AI must orbit humanity, not turn humanity into a lie.”](https://sms4smile.com/quotes/abhijit-naskar/ai-must-orbit-humanity-not-turn-humanity-into-a-lie/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [No one knows what the right algorithm is, but it gives us hope that if we can discover some crude approximation of whatever this…](https://sms4smile.com/quotes/andrew-ng/no-one-knows-what-the-right-algorithm-is-but-it-gives-us-hope-that-if/)

[Andrew Ng](https://sms4smile.com/quotes/author/andrew-ng/)

> [This is where the world is going: direct access from anywhere to any type of data, whether it's a small piece of data or…](https://sms4smile.com/quotes/hasso-plattner/this-is-where-the-world-is-going-direct-access-from-anywhere-to-any/)

[Hasso Plattner](https://sms4smile.com/quotes/author/hasso-plattner/)

> [“We will start by sketching the recursive algorithm and then add details to get to a full description of the algorithm. Footnote : Translation:…](https://sms4smile.com/quotes/sariel-har-peled/we-will-start-by-sketching-the-recursive-algorithm-and-then-add/)

Sariel Har-Peled

> [“Use AI to empower life, don't abuse AI to ruin life. AI must orbit humanity, not turn humanity into a lie.”](https://sms4smile.com/quotes/abhijit-naskar/use-ai-to-empower-life-don-t-abuse-ai-to-ruin-life-ai-must-orbit/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [“Naskar Constitution of GenAI (Sonnet) At times I'm hard on AI, at times I'm lenient, I have just one law on AI, keep the…](https://sms4smile.com/quotes/abhijit-naskar/naskar-constitution-of-genai-sonnet-at-times-i-m-hard-on-ai-at-times/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [“An algorithm is a methodical set of steps that can be used to make calculations, resolve problems and reach decisions. An algorithm isn’t a…](https://sms4smile.com/quotes/yuval-noah-harari/an-algorithm-is-a-methodical-set-of-steps-that-can-be-used-to-make/)

[Yuval Noah Harari](https://sms4smile.com/quotes/author/yuval-noah-harari/)

> [You want to evaluate future borrowers, but in order to train an algorithm that will help you identify future defaults, you have to train…](https://sms4smile.com/quotes/anthony-goldbloom/you-want-to-evaluate-future-borrowers-but-in-order-to-train-an/)

[Anthony Goldbloom](https://sms4smile.com/quotes/author/anthony-goldbloom/)

> [“AI - The Whole Picture In medicine, we have a condition called oxygen toxicity, which means, even oxygen can do harm if inhaled excessively.…](https://sms4smile.com/quotes/abhijit-naskar/ai-the-whole-picture-in-medicine-we-have-a-condition-called-oxygen/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [Nature doesn't feel compelled to stick to a mathematically precise algorithm; in fact, nature probably can't stick to an algorithm.](https://sms4smile.com/quotes/margaret-wertheim/nature-doesn-t-feel-compelled-to-stick-to-a-mathematically-precise/)

[Margaret Wertheim](https://sms4smile.com/quotes/author/margaret-wertheim/)

> [An algorithm is like a recipe.](https://sms4smile.com/quotes/muhammad-waseem/an-algorithm-is-like-a-recipe/)

[Muhammad Waseem](https://sms4smile.com/quotes/author/muhammad-waseem/)

> [“So everything is an algorithm now. And just as every Google search uses its algorithms to produce a different result for each person searching,…](https://sms4smile.com/quotes/chris-anderson/so-everything-is-an-algorithm-now-and-just-as-every-google-search/)

[Chris Anderson](https://sms4smile.com/quotes/author/chris-anderson/)

> [“Algorithm without humanity is mental holocaust.”](https://sms4smile.com/quotes/abhijit-naskar/algorithm-without-humanity-is-mental-holocaust/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [“When security fails, the algorithm doesn't pay the bill.”](https://sms4smile.com/quotes/ricardo-novaes/when-security-fails-the-algorithm-doesn-t-pay-the-bill/)

Ricardo Novaes

[Browse all 63 Algorithm quotes ](https://sms4smile.com/quotes/about/algorithm/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "A formal parsing algorithm should not always be used.",
            "creator": {
                "@type": "Person",
                "name": "David Gries"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/david-gries/a-formal-parsing-algorithm-should-not-always-be-used/",
            "about": {
                "@type": "Thing",
                "name": "Algorithm"
            },
            "@id": "https://sms4smile.com/quotes/david-gries/a-formal-parsing-algorithm-should-not-always-be-used/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/118/david-gries-82372_algorithms_a-formal-parsing-algorithm-should-not-al_1655322.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/118/david-gries-82372_algorithms_a-formal-parsing-algorithm-should-not-al_1655322.jpg",
                "url": "https://sms4smile.com/quotes/i/118/david-gries-82372_algorithms_a-formal-parsing-algorithm-should-not-al_1655322.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“A formal parsing algorithm should not always be used.” — David Gries",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "David Gries",
                    "item": "https://sms4smile.com/quotes/author/david-gries/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "A formal parsing algorithm should not...",
                    "item": "https://sms4smile.com/quotes/david-gries/a-formal-parsing-algorithm-should-not-always-be-used/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/david-gries/a-formal-parsing-algorithm-should-not-always-be-used/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
