chimerror

I'm Kitty (and so can you!)

  • she/her

Just a leopard from Seattle who sometimes makes games when she remembers to.


chimerror
@chimerror

So I actually started working on Quoll earlier today, but I thought it was just going to be a short burst in a day busy doing other stuff but I'm feeling plenty accomplished with the eternal meat space struggle that I am working on it.

Earlier was just me finishing the tests I ran yesterday, and making a good collection of commits to wrap up responding to the playerr's solutions. So it wasn't that interesting, and I didn't copy it over here to cohost.

But now, I am adding writing to a lot of earlier parts where I had the game write out "TODO" because... we'll, you'll see in the First Tutorial. But this is looking at some parts of the code that most definitely did not receive their due love, the programs Ada's laptop in the apartment runs.

How little love have I shown the programs on the personal laptop in the apartment?

I am adding a response for trying to use the web browser, and the only term I accept as input is "WEB BROWSER". Not "WEB", not "BROWSER", not "INTERNET", not "NET", just the two words "WEB BROWSER".

Easy enough to fix, though.


chimerror
@chimerror

That last line ended up being hubris because I actually stumbled a bit trying to get it to work!


So when Inform 7 takes in a string representing a parsable token of text, you can use / to provide alternatives for a single word, such as "web/net/internet". I forgot the "single word" part of this and my first stab, building off the "web browser" was "web browser/web/internet/net" (or something like that).

This doesn't work because that space there is then part of the token. Because Inform 7 also lets you do something like "web/internet browser", which will match "web browser" and "internet browser".

OK, so also in the context of the source where I am, I don't think I can do something like "web/internet browser" or "internet/web/net/browser", without introducing a new token of my own, which I did:

Table 0.3.1.1.0 - Personal Laptop Programs
Topic	Title (text)	Effect (rule)
"[web-browser-understanding]"	"Internet!"	open web browser rule
"solitaire"	"Persosoft Solitaire"	open solitaire rule

Understand "internet/web/net" or "web/internet browser" as "[web-browser-understanding]".

I'm honestly glad to be reminded of this because I may have to do some real parser tricks to deal with name-changing characters in the First Exercise.

E: ha ha, I was wrong about where "--" worked in tokens


You must log in to comment.