From: ahoward <ah...@po...> - 2002-06-07 02:01:44
|
On Fri, 7 Jun 2002, Richard Vaughan wrote: > Looks nice, thanks! I would prefer () to {}. It looks functional and > LISPy and gives a context-free, argument-style feeling that is missing > when using the {} block-markers. Particularly when there are no args to > a device - laser() looks better than laser{}. > Ok, world file now has parens. I have also implemented the file->save option by adding a pure virtual SaveFile() function to CWorld: CServer implements this to save the file; CClient currently does nothing (should send a message to the server I guess). Oh, and I've added a test suite of world files, most of which generate errors (by intent). So whenever someone finds what appears to be a bug in the parsing (like the [1, 2, 3] instead of [1 2 3]) I can add this to the test suite. I'll check in these tests as stage/tests/worldfile unless someone has a better idea. I intend to add more tests in here as time goes by. A. Andrew Howard email: ah...@po... Department of Computer Science http: www-robotics.usc.edu/~ahoward University of Southern California phone: 1 (213) 740 6416 Los Angeles, CA, U.S.A. 90089-0781 fax: 1 (213) 740 7512 << Insert pithy saying here >>> |