Skip to content

Commit

Permalink
Replace Unicode "word processor style" quotes with ASCII quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpurdy committed Sep 6, 2023
1 parent 8b01a5d commit 1099525
Show file tree
Hide file tree
Showing 17 changed files with 599 additions and 534 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ and remains (c) The Ecstasy Project, all rights reserved.
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the Licensor. The text of the Creative Commons
will be considered the "Licensor." The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
Expand Down
2 changes: 1 addition & 1 deletion doc/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ Section 8 -- Interpretation.
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the Licensor. The text of the Creative Commons
will be considered the "Licensor." The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
Expand Down
8 changes: 4 additions & 4 deletions doc/archive/examples/Example.x
Original file line number Diff line number Diff line change
Expand Up @@ -1244,14 +1244,14 @@ catch (Deadlock e)
// ...
}

// a service is (obviously) an instance of Service, and Service has a Boolean reentrant;
// a service is (obviously) an instance of Service, and Service has a "Boolean reentrant;"
// property; setting to false disallows reentrancy (causes an exception if reentrance is
// attempted)

// lastly, based on the obvious truth that a call to console.log() should NEVER EVER CAUSE
// RE-ENTRANCY etc., a service will be declarable in a way to say i don’t care whether
// lastly, based on the obvious truth that "a call to console.log() should NEVER EVER CAUSE
// RE-ENTRANCY" etc., a service will be declarable in a way to say "i don’t care whether
// you’re in a critical section or not; i promise to never do anything that will call you
// back, which is to say from here on down is a terminal
// back", which is to say "from here on down is a terminal"
@nevergonnagiveyouup @nevergonnaletyoudown @nevergonnarunaroundanddesertyou service Logger
{
// ...
Expand Down
2 changes: 1 addition & 1 deletion doc/archive/examples/Example11.x
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static service Outer

// so basically any type expression / class name / etc. that

// lambdas need a way to resolve names and capture references:
// lambdas need a way to resolve names and "capture" references:
class Outer
{
Int iProp;
Expand Down
8 changes: 4 additions & 4 deletions doc/archive/examples/Example12.x
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ console.println(╔════════════════════
This is the end of the report. ║
╚═════════════════════════════════╝);

console.println($list={{L: for (var v : list) {$.add({L.count}={v});}}})
console.println($"list={{L: for (var v : list) {$.add("{L.count}={v}");}}}")

// functions

Expand Down Expand Up @@ -2300,7 +2300,7 @@ String s = $|...

// also handles long long long lines well:

String s = "When she had a child, it had to be sent out to nurse. When he came home, the lad was spoilt as if he were a prince. His mother stuffed him with jam; his father let him run about barefoot, and, playing the philosopher, even said he might as well go about quite naked like the young of animals. As opposed to the maternal ideas, he had a certain virile idea of childhood on which he sought to mould his son, wishing him to be brought up hardily, like a Spartan, to give him a strong constitution. He sent him to bed without any fire, taught him to drink off large draughts of rum and to jeer at religious processions. But, peaceable by nature, the lad answered only poorly to his notions. His mother always kept him near her; she cut out cardboard for him, told him tales, entertained him with endless monologues full of melancholy gaiety and charming nonsense. In her life’s isolation she centered on the child’s head all her shattered, broken little vanities. She dreamed of high station; she already saw him, tall, handsome, clever, settled as an engineer or in the law. She taught him to read, and even, on an old piano, she had taught him two or three little songs. But to all this Monsieur Bovary, caring little for letters, said, “It was not worth while. Would they ever have the means to send him to a public school, to buy him a practice, or start him in business? Besides, with cheek a man always gets on in the world.” Madame Bovary bit her lips, and the child knocked about the village.\nHe went after the labourers, drove away with clods of earth the ravens that were flying about. He ate blackberries along the hedges, minded the geese with a long switch, went haymaking during ..."
String s = "When she had a child, it had to be sent out to nurse. When he came home, the lad was spoilt as if he were a prince. His mother stuffed him with jam; his father let him run about barefoot, and, playing the philosopher, even said he might as well go about quite naked like the young of animals. As opposed to the maternal ideas, he had a certain virile idea of childhood on which he sought to mould his son, wishing him to be brought up hardily, like a Spartan, to give him a strong constitution. He sent him to bed without any fire, taught him to drink off large draughts of rum and to jeer at religious processions. But, peaceable by nature, the lad answered only poorly to his notions. His mother always kept him near her; she cut out cardboard for him, told him tales, entertained him with endless monologues full of melancholy gaiety and charming nonsense. In her life’s isolation she centered on the child’s head all her shattered, broken little vanities. She dreamed of high station; she already saw him, tall, handsome, clever, settled as an engineer or in the law. She taught him to read, and even, on an old piano, she had taught him two or three little songs. But to all this Monsieur Bovary, caring little for letters, said, "It was not worth while. Would they ever have the means to send him to a public school, to buy him a practice, or start him in business? Besides, with cheek a man always gets on in the world." Madame Bovary bit her lips, and the child knocked about the village.\nHe went after the labourers, drove away with clods of earth the ravens that were flying about. He ate blackberries along the hedges, minded the geese with a long switch, went haymaking during ..."

// or:

Expand All @@ -2318,9 +2318,9 @@ String s = `|When she had a child, it had to be sent out to nurse. When he came
+ `| broken little vanities. She dreamed of high station; she already saw him, tall,
+ `| handsome, clever, settled as an engineer or in the law. She taught him to read, and
+ `| even, on an old piano, she had taught him two or three little songs. But to all this
+ `| Monsieur Bovary, caring little for letters, said, It was not worth while. Would they
+ `| Monsieur Bovary, caring little for letters, said, "It was not worth while. Would they
+ `| ever have the means to send him to a public school, to buy him a practice, or start him
+ `| in business? Besides, with cheek a man always gets on in the world. Madame Bovary bit
+ `| in business? Besides, with cheek a man always gets on in the world." Madame Bovary bit
+ `| her lips, and the child knocked about the village.
|He went after the labourers, drove away with clods of earth the ravens that were flying
+ `| about. He ate blackberries along the hedges, minded the geese with a long switch, went
Expand Down
2 changes: 1 addition & 1 deletion doc/archive/examples/db.x
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ ecommerce.tableFor(Item).add(new Item(456, "AM-G7-XYZ", "Best whoozymawhatzit ev
*
* Retention policies also have to be effective at getting rid of things
*
* Some retention policies are not fixed, per se; they are reactive: Keep on XXXgb of this stuff
* Some retention policies are not fixed, per se; they are reactive: "Keep on XXXgb of this stuff"
*
*/

Expand Down
Loading

0 comments on commit 1099525

Please sign in to comment.