18 Matching Annotations
  1. Feb 2024
  2. Oct 2023
    1. In this book, grammar refers to the manner in which the language functions, the ways that the blocks of speech and writing are put together. Usage refers to using specific words in a manner that will be thought of as either acceptable or unacceptable. The question of whether or not to split an infinitive is a consideration of grammar; the question of whether one should use literally in a nonliteral sense is one of usage."
  3. Oct 2022
    1. grammar Parser { rule TOP { I <love> <lang> } token love { '♥' | love } token lang { < Raku Perl Rust Go Python Ruby > } } say Parser.parse: 'I ♥ Raku'; # OUTPUT: 「I ♥ Raku」 love => 「♥」 lang => 「Raku」 say Parser.parse: 'I love Perl'; # OUTPUT: 「I love Perl」 love => 「love」 lang => 「Perl」
    2. Definable grammars for pattern matching and generalized string processing

      annotation meta: may need new tag: "definable __"?

    1. Machines understand languages, that are formal and rigid, with unique and unambiguous instructions that are interpreted in precisely one way. Those formal, abstract languages, and programming languages in general, are hard to understand for humans like ourselves. Primarily, they are tailored towards the requirements of the machine. The user is therefore forced to adapt to the complexity of the formal language.

      .

    2. Instead of forcing humans to understand the complex inner workings of machines, we should construct machines in a way, so they better understand us humans!

      .

  4. Feb 2022
  5. Jul 2021
    1. En dashes, which are about the width of an upper-case N, are often mistaken for hyphens. But, traditionally, en dashes function as a kind of super hyphen. They’re meant to give you a little extra glue when you have a compound modifier that includes a multi-word element that can’t easily be hyphenated. For example, the phrase Elvis Presley–style dance moves uses an en dash because Elvis-Presley-style dance moves is awkward; “Elvis Presley” isn’t a compound modifier, so hyphenating it looks odd. But, keep in mind, not all readers will notice en dashes or understand what they mean. Sometimes, it’s better to simply reword the phrase. Elvis Presley–style dance moves or: dance moves like Elvis Presley’s pre–World War II buildings or: buildings constructed before World War II En dashes are also used to show ranges of numbers, such as times, page numbers, or scores (I’ll schedule you from 4:30–5:00). But, outside of formal printed publications, this type of en dash is commonly replaced with a simple hyphen.
  6. Aug 2020
    1. Lie: I felt sick, so I lay down.Here’s where it can get a bit tricky. The past tense of lie is lay, but not because there is any overlap between the two verbs. So when you say, “I lay down for a nap,” you’re actually using the verb lie, not lay, despite the way it sounds.
  7. May 2020
  8. Mar 2020
    1. This will of course depend on your perspective, but: beware Finnish and other highly inflected languages. As a grammar nerd, I actually love this stuff. But judging by my colleagues, you won’t.
  9. May 2019
    1. If we’re speaking of garden-variety errors, the most common error I’ve observed that manages to get past any number of sets of expert eyes and wind up printed in books is the use of “lead” where “led” is meant—that is, the past tense of the verb “to lead.”
    2. They mistake the apostrophe for a piece of punctuation when it is a spelling issue. 
    3. I still firmly believe that copy editors need only enough grammar to get them through the demands of their particular manuscripts; being a grammarian is entirely beside the point. Or to put it another way, grammar is part of what you do as a copy editor, but only a part. That said, it’s fun to know about the subjunctive, so I’ll concede that particular pleasure.

      Copyediting vs grammar knowledge. Or, and grammar knowledge.

  10. Feb 2019
    1. Chinese, says Bacon, is written "in Character� Real, which express neither letters nor words ... but things or notions;

      This notion of Chinese language is one that carries into the 20th century and has pretty far influence; Ernest Fenollosa's notes on Chinese characters and translations of Chinese poetry hugely influenced Ezra Pound and (by extension) 20th C poetry at large.

      In terms of this class, Chinese characters pose an interesting alternative to the subject-object grammar of English.

  11. Dec 2014
    1. his grammar feud

      Yeah, grammar marmism is rampant in our worlds. Some people mistake language for a machine when it is really a joshua tree or a redwood or some kind of fungus. The only disease that would kill language would be the evolution of telepathy and I don't think that would do it. To adapt Johnny Paycheck: take your rules Mr. Heller and shove 'em.