Thứ Hai, 14 tháng 1, 2013

GRoundTram command

Một số lệnh dùng trong GRoundTram system: (From GRoundTram manual - Prof. Zhenjiang Hu, Soichiro Hidaka, Hiroyuki Kato, http://www.prg.nii.ac.jp/ , http://research.nii.ac.jp/~hu/ )

  • uncalcmd:
    • UnCAL to DOT
      • > uncalcmd -q a.uncal -dot a.dot
      • converts UnCAL file a.uncal to DOT file a.dot.

    • DOT to UnCAL
      • > uncalcmd -dbd a.dot -q identity.uncal -cal a.uncal
      • converts DOT file a.dot to UnCAL file a.uncal, where identity.uncal is a text file that only contains $db that represents identity transformation.
  • If you want to generate PNG from UnCAL file or DOT file, do the following.
    • UnCAL to PNG
      • > uncalcmd -q a.uncal -png a.png
    • PNG to UnCAL
      • > uncalcmd -dbd a.dot -q identity.uncal -png a.uncal
      • where identity.uncal is a text file described above, or you can directly use dot command by
      • > dot -Tpng -o a.png a.dot

Không có nhận xét nào: