Registering and pronouns
Introducing breeds and objects, pronouns, pet names, multi-word breeds.
Register a breed
| Line | Parses as | Need to know |
|---|---|---|
labrador | Assign[labrador, 0] | Breed must be in breeds.txt. Age 0, 0 toys, 0 treats |
I have a labrador. | same | Story glue around the breed is ignored |
So, my wife has a labrador | same | Line with exactly one breed word registers it |
Register object counts (global, not on a dog)
| Line | Parses as | Need to know |
|---|---|---|
ball 5 | Assign[ball, 5] | Object must be in objects.txt |
5 balls | Assign[ball, 5] | Number first; plural aliases work (balls → ball) |
Object aliases include balls → ball, cookies → cookie, biscuits → biscuit, snacks → snack.
Print a global object count: bark ball → Variable(ball).
Pronouns and pet names
| Word | Resolves to |
|---|---|
she, her | Last dog introduced with feminine voice |
he, him, his | Last dog introduced with masculine voice |
it | Object pronoun (print mood only; not a dog subject) |
Introducing another breed (I have a beagle.) does not rebind she from the first dog.
Pet names: After Her name is "Bimba", the capitalized word Bimba works as a dog subject in later lines. You can also assign a name without quotes if the word is capitalized: labrador nickname Bimba (same as a string).
Multi-word breeds: the golden retriever, bark how many toys the golden retriever has.
Author view on pronouns
| Word | Resolves to |
|---|---|
she / her | Last dog you spoke about as she/her |
he / him / his | Last dog as he/him/his |
it | Last stash, pile, or object |
they / them | Filler |
I have a labrador.
She is 2.
I have a beagle.
she passes a toy to the beagle → labrador gives, not beagle
