Galaxy Communicator Documentation:

The Toy Travel Parser Server

License / Documentation home / Help and feedback

The toy travel Parser server is part of a demonstration of how to construct servers of various levels of complexity and use the Hub scripting language to assemble them into an end-to-end system. All the servers in this demonstration share a common message script file, which dictates how each server will respond to incoming messages.


Usage

Command line

<GC_HOME>/contrib/MITRE/demos/toy-travel/bin/Parser...

Default port

10000

Command line arguments

static char *oas[] = {
  "-parser_data file",  "parser data", (char *) NULL,
  NULL
};
 This server also accepts the standard server arguments. See the oa library for details.


Message Set


Parse accepts a string and returns a frame representation of a parse tree.
 
  parameter type optional depends on description/constraints
IN: :input_string string     textual representation of user input
OUT: :frame frame     frame representation of parse

This message returns a frame.


Messages sent

This server sends no new messages.
License / Documentation home / Help and feedback
Last updated August 30, 2001.