PUN-003
Context default
layer: sentence
Comma before coordinating conjunction
IF a coordinating conjunction joins two independent clauses, THEN place a comma before it unless the clauses are very short and unambiguous ELSE retain.
Why the rule exists
The comma displays the boundary while the conjunction displays the relationship.
Condition
The rule fires when this evaluates true. Paths marked below must be present in the fact base; the engine reports the rest rather than guessing them.
- ALL
- coordination.joins eq "independent_clauses"
- coordination.marker in [and, but, or, nor, for, so, yet]
Facts this rule reads
| Path | Source |
|---|---|
coordination.joins |
You supply it |
coordination.marker |
You supply it |
Then
- insert — target
coordination.pre_marker_punctuation, value","
Else
- retain — target
current_text, No triggering condition is present.
Unless
Documented exceptions. Any one of these suppresses the rule.
- ALL
- coordination.clauses_short eq true
- coordination.ambiguity eq false
LAKA
- Smallest sufficient intervention
- Yes
- Primary axes
Sources
-
The Blue Book of Grammar and Punctuation — Jane Straus; Lester Kaufman
Accessible grammar, punctuation, examples, and exercises. -
The Copyeditor's Handbook — Amy Einsohn; Marilyn Schwartz
Professional copyediting practice, grammar, and editorial process. -
Grammar, Punctuation, and Sentence Structure — Purdue Online Writing Lab
link
Practical mechanics, clause, sentence, punctuation, and style guidance.
The raw rule record
Verbatim from 08-punctuation-rules.json. Also available at /v1/rules/PUN-003.
{
"id": "PUN-003",
"name": "Comma before coordinating conjunction",
"domain": "punctuation",
"layer": "sentence",
"strength": "context_default",
"human_logic": "IF a coordinating conjunction joins two independent clauses, THEN place a comma before it unless the clauses are very short and unambiguous ELSE retain.",
"when": {
"all": [
{
"path": "coordination.joins",
"operator": "eq",
"value": "independent_clauses"
},
{
"path": "coordination.marker",
"operator": "in",
"value": [
"and",
"but",
"or",
"nor",
"for",
"so",
"yet"
]
}
]
},
"then": [
{
"action": "insert",
"target": "coordination.pre_marker_punctuation",
"value": ","
}
],
"else": [
{
"action": "retain",
"target": "current_text",
"reason": "No triggering condition is present."
}
],
"unless": [
{
"all": [
{
"path": "coordination.clauses_short",
"operator": "eq",
"value": true
},
{
"path": "coordination.ambiguity",
"operator": "eq",
"value": false
}
]
}
],
"because": "The comma displays the boundary while the conjunction displays the relationship.",
"diagnostics": [],
"examples": {},
"source_ids": [
"BK-002",
"BK-007",
"WEB-011"
],
"laka": {
"smallest_sufficient_intervention": true,
"primary_axes": [
"scope",
"depth",
"magnitude",
"reversibility"
]
}
}
Other punctuation rules
- PUN-001 Terminate complete sentences IF a prose sentence is complete, THEN end it with a mark matching statement, direct question, or strong exclamation ELSE keep it joined to its governing structure. Hard constraint
- PUN-002 No comma splice IF two independent clauses are joined only by a comma, THEN add a coordinator, use a semicolon, or make two sentences ELSE retain. Hard constraint
- PUN-004 Comma after introductory material IF introductory material is long, clausal, or potentially misread, THEN add a comma before the main clause ELSE use the lightest mark that preserves clarity. Context default
- PUN-005 Set off nonrestrictive material IF a modifier adds nonessential information rather than identifying the referent, THEN set it off with paired punctuation ELSE do not set it off. Hard constraint
- PUN-006 Do not isolate restrictive material IF a modifier identifies which person or thing is meant, THEN remove punctuation that falsely marks it as optional ELSE evaluate as nonrestrictive. Hard constraint
- PUN-007 Serial comma follows declared style IF a series contains three or more coordinated items, THEN apply the selected serial-comma policy consistently AND add a comma when omission causes ambiguity ELSE retain. Context default
- PUN-008 Semicolon joins related independent clauses IF two independent clauses are closely related AND no coordinator is used, THEN a semicolon is available ELSE choose another boundary. Context default
- PUN-009 Semicolons clarify complex series IF list items contain internal commas, THEN separate top-level items with semicolons ELSE use commas. Context default