intfiction.org

The Interactive Fiction Community Forum
It is currently Wed May 22, 2013 10:14 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
PostPosted: Sun Feb 05, 2012 10:41 pm 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 2128
Location: Burlington, VT
Congratulations on the job, Ron!

Also on the Parser project. This is insanely exciting, though I can't really understand it.

I had an odd thing happen when I dropped this code into the parser in place of "The lab is a room." Typing "test me" gave me a bunch of "you can't start with a comma" errors, even though typing the commands in the test script worked as it should.

In the thing as it is, "me, jump" causes the game to hang in the Mac IDE, though "jump" and other commands work fine.

Hope this helps!


Top
 Profile Send private message  
 
PostPosted: Sun Feb 05, 2012 10:46 pm 
Offline

Joined: Fri Jul 16, 2010 2:09 pm
Posts: 1950
I think I'd be willing to try it out with my WIP. I've been following the project with great interest, and lately I've been referring to your version to figure out: a) how the parser works, and b) some tips on expressing various I6 components in I7.

I even borrowed your phrase idea for expressing truth states as "we should/will/are/etc.."

Congratulations on your new job, and good luck with the new location!


Top
 Profile Send private message  
 
PostPosted: Sun Feb 05, 2012 11:44 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 2085
Congratulations. I would not have laid money on this project being finishable. :)


Top
 Profile Send private message  
 
PostPosted: Mon Feb 06, 2012 3:45 am 
Offline
User avatar

Joined: Thu Nov 04, 2010 6:30 am
Posts: 986
Location: Gothenburg, Sweden
Great news (both the job and the extension)!

_________________
Man ska inte tro allt man tänker.


Top
 Profile Send private message  
 
PostPosted: Mon Feb 06, 2012 9:59 am 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 2128
Location: Burlington, VT
Curiouser and curiouser; I tried again by uncommenting the scenario (with Bob and the coins) and adding 'Test me with "Bob, get the coin"'. It seems like I get the "You can't begin with the comma" error when I start with "test me" and then get it again when I type "Bob, get the coin"; but if I type "Bob, get the coin" I don't get it, and sometimes if I follow it with test me it works.


Top
 Profile Send private message  
 
PostPosted: Mon Feb 06, 2012 10:52 am 
Offline

Joined: Fri Jul 16, 2010 2:09 pm
Posts: 1950
I wonder if it's related to this bug:

http://inform7.com/mantis/view.php?id=860

?

I can imagine that additional parser voodoo is going on when running test commands, given their nature.


Top
 Profile Send private message  
 
PostPosted: Mon Feb 06, 2012 11:46 am 
Offline

Joined: Wed Oct 27, 2010 6:15 pm
Posts: 239
Congratulations, Ron!


Top
 Profile Send private message  
 
PostPosted: Mon Feb 06, 2012 8:35 pm 
Offline
User avatar

Joined: Wed Oct 14, 2009 4:02 am
Posts: 963
This is very exciting. I hope that eventually this will become the standard parser. It will make a lot of things easier!


Top
 Profile Send private message  
 
PostPosted: Mon Feb 06, 2012 10:01 pm 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 2128
Location: Burlington, VT
"me, jump" is definitely sending it into a loop -- it gets to "Actor is: yourself" and then starts running NounDomain on "me" again. That's as much as I can figure out. (And I seem to be kind of intermittent at reproducing it.)


Top
 Profile Send private message  
 
PostPosted: Tue Feb 07, 2012 9:43 pm 
Offline

Joined: Mon Jun 09, 2008 8:58 pm
Posts: 679
Location: Seattle
Thank you all very much! I'm pretty happy, even if I do have to debug someone else's javascript nowadays. (*sigh*)

Matt I'll hunt that down. It didn't occur to me to test the Test Me functionality much. I generally find bugs by turning on full trace output and running 2 Inform projects side by side, flicking back and forth as I page down the output to see where things go off the rails. Thanks for the bug hunting.

The last bug I fixed before release was rather embarassingly having an Otherwise block at the wrong level of indentation near the end of Parse. :oops:

_________________
Blog at Gamasutra :: Programmer's Guide to Inform 7 :: Seattle I-F


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

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