programer notes

Compile everything:

  make

Help on make tags:

  make help

Read up on Mark's database and how to use it in "mdb.doc".

  bugs to fix:

    o "help <command>" 
      gives a help but tries to execute the command
      would be nice to see syntax + example
      "quit" command missing from the general help
      @ and ! symbols missing from the help
    o "!cat Makefile"
      did not execute properly
      It probably did not give the entire line as a command?
    o "mrd batch1.sh"
      has unrecognized commands, fix to skip comments (# this)
      fails to finish properly, fix
      Change error to show lines that fail to execute
        execute each line with mrd "@<command>" form to see errors
        fix comment, fix naming error on c2.txt, fix select command
    o "mrd batch2.sh"
      fix comment to show line as well
      the second record deleted is really the third record
      fix the addrecord command to prompt for a record
        now it just copies the last record
    o mrd "@help" is not implemented
    o mrd "@dump colleges" is not implemented
    o select example does not work; prompt for yes missing input
        by default all relations should use .txt by default
      select example in batch does not work:
         mrd "@select states.txt temp.txt yearadmitted > 1865"
    o any explicit use of .txt should not create a file like .txt.txt

    ... there are more

See demos in "demo.sh batch1.sh and batch2.sh".

See database files in *.txt files.  

  NOTE:  This forces you to use a filename for a database.
         This lets you see all tables with *.txt

todo list:

  o no programmer api is created
    == commands is it == why not create a programmer's api?
  o helps are weak; why not fix them
  o fix bugs
  o evaluate the object relationship pros and cons
      find long routines
      find switch statements that could be objects
      ... adjust if desired ...

next project todo list:

  o bug list
    project colleges c2 city college
    - creates an empty file called c2.txtes.txt
      it should be a projection called c2.txt
    project colleges temp city college
    - creates the right file called temp.txt.txt
      it should be temp.tx
  o add map to get commands and method calls
  o add map to return help strings
    - complete examples on help commands
    - complete help for commands with no help
  o document the programmer api with usage statements
    - create an object
    - invocation of method examples
