Used in a Sentence

grammars

Definitions, parts of speech, synonyms, and sentence examples for grammars.

Editorial note

The idea is that by sticking to context-free grammars, protocols will be easier to parse, and the bulk of memory corruption errors can eliminated.

Examples16
Definitions4
Parts of speech1

Quick take

(countable and uncountable, linguistics) A system of rules and principles for the structure of a language, or of languages in general.

Meaning at a glance

The clearest senses and uses of grammars gathered in one view.

noun

(countable and uncountable, linguistics) A system of rules and principles for the structure of a language, or of languages in general.

noun

(uncountable, linguistics) The study of such a system.

noun

(uncountable) Actual or presumed prescriptive notions about the correct use of a language.

Definitions

Core meanings and parts of speech for grammars.

noun

(countable and uncountable, linguistics) A system of rules and principles for the structure of a language, or of languages in general.

noun

(uncountable, linguistics) The study of such a system.

noun

(uncountable) Actual or presumed prescriptive notions about the correct use of a language.

noun

(countable) A book describing the grammar (noun, sense 1 or noun, sense 2) of a language.

Example sentences

1

The idea is that by sticking to context-free grammars, protocols will be easier to parse, and the bulk of memory corruption errors can eliminated.

2

More than just a visualization of Ruby's grammar, it also has visualizations of Java and JavaScript's grammars.

3

And most people forget that old computer scientists were obsessed with creating grammars that you could write formal proofs for.

4

Many things aren't possible with regular expressions and many grammars aren't parsable with regular expressions.

5

Lua's LPeg lets you create simple recursive grammars to solve problems that are often hard with regular expressions (e.g., matching balanced parentheses).

6

Perl 6's regular expressions and grammars appear to be fairly powerful and useful.

7

There is all the wasted effort, like generative grammars of endangered languages that relied on morphology rather than syntax to communicate the same information.

8

Problems arise with regular expressions when they are used against irregular grammars.

9

In fact, they correspond to completely different grammars in the Chomsky hierarchy.

10

Example here [1] I got it to work for recursively defined context free grammars with some fun [2] deferred function reference trickery.

11

What do you lose by sticking to context-free grammars?

12

Holy fucking shit perl grammars and actions are cool.

Quote examples

1

To sum it all up: most "regular expression" implementations are actually powerful enough to describe context-free grammars, which are essentially regular expressions mixed with balanced parentheses.

2

I stopped reading at: "Besides, grammars are more complex than regular expressions, so they're simpler."

3

Part of the point of Perl 6 was to remove the bits in Perl 5 that were problematic (including some "too cute/weird" stuff) and to introduce much nicer higher level abstractions (eg grammars instead of just regexes[5]).

4

The article even agrees with you: > §3 sets out a radically revised structure for transformational grammars, quietly abandoning the notion of “kernel sentence” from Chomsky’s first book, Syntactic Structures, and introducing the term “deep structure,” which in a sense replaces it.

Frequently asked questions

Short answers drawn from the clearest meanings and examples for this word.

How do you use grammars in a sentence?

The idea is that by sticking to context-free grammars, protocols will be easier to parse, and the bulk of memory corruption errors can eliminated.

What does grammars mean?

(countable and uncountable, linguistics) A system of rules and principles for the structure of a language, or of languages in general.

What part of speech is grammars?

grammars is commonly used as noun.