Registering and pronouns

Introducing breeds and objects, pronouns, pet names, multi-word breeds.

Register a breed

LineParses asNeed to know
labradorAssign[labrador, 0]Breed must be in breeds.txt. Age 0, 0 toys, 0 treats
I have a labrador.sameStory glue around the breed is ignored
So, my wife has a labradorsameLine with exactly one breed word registers it

Register object counts (global, not on a dog)

LineParses asNeed to know
ball 5Assign[ball, 5]Object must be in objects.txt
5 ballsAssign[ball, 5]Number first; plural aliases work (ballsball)

Object aliases include ballsball, cookiescookie, biscuitsbiscuit, snackssnack.

Print a global object count: bark ballVariable(ball).

Pronouns and pet names

WordResolves to
she, herLast dog introduced with feminine voice
he, him, hisLast dog introduced with masculine voice
itObject 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

WordResolves to
she / herLast dog you spoke about as she/her
he / him / hisLast dog as he/him/his
itLast stash, pile, or object
they / themFiller
I have a labrador.
She is 2.
I have a beagle.
she passes a toy to the beagle    → labrador gives, not beagle