Closed pahp closed 6 months ago
Here's some stuff that might help with this:
Parser Routines: https://github.com/johanberntsson/PunyInform/wiki/manual#parser
ChooseObjectsFinal Routine (not sure what this is, but it looks interesting): https://github.com/johanberntsson/PunyInform/wiki/manual#chooseobjectsfinal
Names are meant to be entered as a list of dictionary words. One example from page 57 of the DM4 is:
Object magpie "black-striped bird"
with name ’magpie’ ’bird’ ’black-striped’ ’black’ ’striped’,
wingspan 5, worms_eaten;
Note that instead of trying to use a string such as "black-striped bird" (which is the display name declared), they listed each component descriptive word in the name
array. Using a string (double-quotes) won't work: the name
array only accepts single dictionary words.
A student wrote:
Can the parser handle TWNs, @spacehobo ? Fix, report, or WONTFIX this as you see fit.