用于打印SDL/PR图的工具 [英] Tool for printing SDL/PR diagrams

查看:130
本文介绍了用于打印SDL/PR图的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不幸的是,UML实际上杀死了 SDL (规范和描述语言,ITU Z.100),并且今天很难找到支持SDL的有用工具.

Sadly UML has virtually killed SDL (Specification and Description Language, ITU Z.100) and finding useful tools supporting SDL is hard today.

我想打印状态图,并且我记得几年前使用过免费工具.它是Windows二进制文件,有些公司(如果我没记错的话,是来自巴西的)早就开发了,但是由于他们不再对它具有任何商业利益,因此他们免费提供了该文件(只是二进制文件,没有源代码). .它至少可以打印出我正在寻找的SDL/PR文件.

I want to print state diagrams and I remember that I have used a free tool years ago. It was a windows binary which some company (from Brazil if I remember correctly) had developed a long time ago but since they no longer had any commercial interest in it any longer they provided it for free download (just the binary, no source code). It could print SDL/PR files at least which is what I am looking for.

我尝试搜索它,但是找不到它.有人有此工具的链接(或名称)吗?

I have tried to search for it but am unable to find it. Does anyone have a link (or name) for this tool?

推荐答案

最后我找到了它.它称为 SDLT :

Finally I found it. It is called SDLT:

什么是

SDLT是针对SDL-PR语言的免费SDL编译器, 生成PostScript格式的SDL-GR.

The SDLT is a free SDL compiler for SDL-PR language that generates SDL-GR in PostScript format.

SDL语言是非常适合于电子规范和语言的语言. 面向服务的应用程序的说明.

The SDL language is a language well suited for especification and description of service oriented applications.

SDLT程序comp.exe,pag.exe和form.exe最初是 在CPqD TELEBRAS中开发,并于1986年一起转让 与TROPICO R产品一起使用,可承包制造商.

SDLT programs comp.exe, pag.exe and form.exe were originally developped in CPqD TELEBRAS and were transfered, in 1986, together with the TROPICO R product, to contracted manufactures.

如果您已经安装了SDLT,则SDLT还会生成PDF格式的SDL-GR. CutePDFTM打印机.

The SDLT also generates SDL-GR in PDF format if you have installed the CutePDFTM Printer.

更新:

由于某些原因,从sdlt程序运行编译时出现找不到文件"错误.由于它只是一个图形化前端,所以我想出了如何从Makefile中运行所需的后端:

For some reason, I get a "file not found" error when running compile from the sdlt program. Since it only is a graphical frontend I have figured out how to run the required backends from a Makefile:

# Variables assigned with = are evaluated at each substitution.
# Variables assigned with := are evaluated at assignment.
SDLT_CONF := $(shell mktemp sdlt.conf.XXXXXXXXXX)

all: basics1.pdf

%.pdf: %.ps
        ps2pdf $^ $@

%.ps: %.prg
        ./mk_dosbox_conf.sh `pwd` `echo $@ | sed 's/\.ps$$//'` > $(SDLT_CONF)
        dosbox -conf $(SDLT_CONF)
        rm $(SDLT_CONF)
        mv \
                `echo $@ | tr "[:lower:]" "[:upper:]"` \
                `echo $@ | tr "[:upper:]" "[:lower:]"`

,以下为mk_dosbox_conf.sh:

#!/bin/sh

# Makes a dosbox.conf file that automates what SDLT.exe does

if [ $# -ne 2 ]
then
        echo "Usage: $0 <directory> <filenamebase>"
        exit 1
fi

cat <<EOF
[autoexec]
mount c: $1
c:
comp $2
pag  $2
form $2
del $2.SBL
del $2.LST
del $2.RSP
del $2.TXT
exit
EOF

这篇关于用于打印SDL/PR图的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆