Change directory to ~asengupt/mmdb/src, and run a.out. Right now it doesn't do much, except for reading in a data file, setting up the data structure, and executing a simple embedded query.
As of 3/15/95, the program is under change, so you might get a seg fault if you run it. We are adding a sgmls backend to this program so that the sgmls output can be directly fed to it, and it creates class instances based on the parsed output.
As of 3/19/95, the dtd for the movie scripts have been created, and a sample movie script (Star Wars) is in the process of being built from the text script that was available.
To run the executable for this iteration, you would have to go to the directory /u/asengupt/mmdb/dtd, and run the following command:
sgmls starwars.sgm | ../src/a.out |more
Its a good idea to "more" it, since there is a lot of output. This program parses the sgml file starwars.sgm, builds the index, and then executes a simple query at the end using the query constructs that we created. Send me mail if you have problems running the code.
This stage is over, as of 4/25/95. However, the sources and executables are still available in the directories as described below. This is the last publicly available iteration. The final iteration involves the use of persistent data and the use of the exodus storage manager and server, so it does not have complete accessability to the general users.
The command interpreter has been added. The available commands and their syntaxes can be looked up in the user manual (which is still under construction). To run the program, go to ~asengupt/mmdb/src, and run a.out. You can also specify the name of an SGML file in the command lin, such as:
a.out /u/asengupt/mmdb/dtd/starwars.sgmBy default, if you do not specify any parameter, it loads this file. You can put in your SGML file if you have any, but the file has to have the doctype definition built into it. If it doesn't have the DOCTYPE definition, you can add one by putting the line:
<!DOCTYPE <document type name> system <full pathname of DTD file> >at the beginning of the sgm file. The program will parse the sgml file, create the temporary output in /tmp/output.tmp, and build the index based on this file, and then let you type in commands.
Last Updated on: 4/18/95