intfiction.org

The Interactive Fiction Community Forum
It is currently Tue May 21, 2013 1:26 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Mar 06, 2012 9:22 pm 
Offline
User avatar

Joined: Mon Oct 03, 2011 12:03 pm
Posts: 636
Location: Stoke Barehills
Hello! I'm trying to get Hyperlink Interface by Leonardo Boselli to work. I've included all the extensions it says it requires. I'm getting these three errors:

Quote:
This is the report produced by Inform 7 (build 6G60) on its most recent run through:

In Chapter - Exits, Section - Definitions in the extension Hyperlink Interface by Leonardo Boselli:

Problem. You wrote 'carry out the direction hyperlinking activity' , but 'direction hyperlinking' has the wrong kind of value: an activity on objects rather than an activity.

I was trying to match this phrase:

carry out the (direction hyperlinking - activity) activity

This was what I found out:

direction hyperlinking = an activity on objects



--------------------------------------------------------------------------------

Problem. You wrote 'carry out the direction hyperlinking activity' , but 'direction hyperlinking' has the wrong kind of value: an activity on objects rather than an activity.

I was trying to match this phrase:

carry out the (direction hyperlinking - activity) activity

This was what I found out:

direction hyperlinking = an activity on objects



--------------------------------------------------------------------------------
In Chapter - Error Reporting, Section - Not a verb I recognise in the extension Hyperlink Interface by Leonardo Boselli:

Problem. You wrote 'Rule for printing a parser error when parser error is not a verb I recognise (this is the Hyperlink Interface not a verb I recognise rule)' : but I don't understand the 'when/while' clause, which should name activities or conditions.

See the manual: 17.4 > While clauses


Any clue?


Last edited by Joey on Tue Mar 06, 2012 10:45 pm, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Tue Mar 06, 2012 9:51 pm 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 2128
Location: Burlington, VT
Looks like it isn't updated for 6G60. For the last one, I think you now need "when the latest parser error is..." rather than "when the parser error is..."

I'm less sure about what's going on with the first two. What happens if you change "Direction hyperlinking something is an activity." in the extension's source text to "Direction hyperlinking is an activity."? It looks to me as though none of the calls or rules for direction hyperlinking actually use the argument, but rather pass the argument using the global "saved direction", so maybe you don't need to define it as an activity on objects. (It would probably be better to define it as an activity on objects and junk the global variable, but it'd be more work to do that.)


Top
 Profile Send private message  
 
PostPosted: Tue Mar 06, 2012 10:40 pm 
Offline
User avatar

Joined: Mon Oct 03, 2011 12:03 pm
Posts: 636
Location: Stoke Barehills
Thanks Matt! There were a bunch of other problems after that, but I managed to solve them all, and by all appearances I've successfully updated the extension for build 6G60. Interested parties can find it here. I'm going to play around with it, and if it works just fine then I'll submit the update to the inform7 website.

EDIT: more specifically, I've defined the number variables that were previously only defined in 'let x be y' statements, got rid of the redundancies in statements like 'increment x by one', and changed 'not a verb I recognise' to 'the not a verb I recognise error'.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group