🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.c
Article #4555

Re: Convert from Pascal to C. (In Japanese/Kanji)

#4555
From: Takashi Kawakami
Date: Thu, 18 Jun 1992 04:04
36 lines
2860 bytes
$@#K#a#r#u#l#a!wIZ;38)N)Bg3X(J  $@<+8J%U%)%m!<$G$9!#(J

  $@$9$_$^$;$s!"JT=8%_%9$G$H$s$G$b$J$$5-;v(J$@$K$J$C$F$7$^$$$^$7$?!#(J

  $@@h$[$I$NB3$-$G$9!#(J

$@;HMQK!(J p2c [ options ] [ file [ module ] ]

$@0J2<$K!"%^%K(J$@%e%"%k$N0lIt$rIU$1$^$9!#(J

          P2c is a tool for translating Pascal programs into C.  The
          input consists of a set of source files in any of the
          following Pascal dialects: HP Pascal, Turbo/UCSD Pascal, DEC
          VAX Pascal, Oregon Software Pascal/2, Macintosh Programmer's
          Workshop Pascal, Sun/Berkeley Pascal.  Modula-2 syntax is
          also supported.  Output is a set of .c and .h files that
          comprise an equivalent program in any of several dialects of
          C.  Output code may be kept machine- and dialect-
          independent, or it may be targeted to a specific machine and
          compiler.  Most reasonable Pascal programs are converted
          into fully functional C which will compile and run with no
          further modifications, although p2c sometimes chooses to
          generate readable code at the expense of absolute
          generality. P2c endeavors to insert notes and warning
          messages into the output code to point out areas which may
          require human intervention.  Output code is arranged to be
          readable and efficient, and to make use of C idioms wherever
          possible.  The main goal of the translation is to produce C
          files which are pleasant and "natural" enough to be
          acceptable as the new source files for a program.  In a
          pinch, p2c will also serve as an ad hoc Pascal compiler.

--
$@#T#S#D#S(J                               $@#K!%@n>e(J $@5.!wIY;38)N)Bg3X(J
 (TPU Software Development Society)    Karula Takashi Kawakami  PU-Toyama
                                       karula@geo.pu-toyama.ac.jp
Technical Details
Message-ID: <KARULA.92Jun18130431@geo.pu-toyama.ac.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-kyo!kuis!pu-toyama!t-gitan!karula
References: <1992Jun17.104151.29658@ss151.icot.or.jp> <KARULA.92Jun18124737@geo.pu-toyama.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 10b195,2779f8288a970051
X-Google-Attributes: gid10b195,public
X-Google-Thread: 106434,2779f8288a970051
X-Google-Attributes: gid106434,public
X-Google-ArrivalTime: 1992-06-17 16:29:36 PST
Newsgroups: fj.lang.c,fj.lang.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-kyo!kuis!pu-toyama!t-gitan!karula
From: karula@geo.pu-toyama.ac.jp (Takashi Kawakami)
Subject: Re: Convert from Pascal to C. (In Japanese/Kanji)
In-Reply-To: karula@geo.pu-toyama.ac.jp's message of 18 Jun 1992 03: 47:37 GMT
Message-ID: <KARULA.92Jun18130431@geo.pu-toyama.ac.jp>
Sender: news@pu-toyama.ac.jp (News Administrator)
Nntp-Posting-Host: geo
Organization: Department of technology.,Toyama Prefectural Univ.,Toyama,Japan
References: <1992Jun17.104151.29658@ss151.icot.or.jp>
 <KARULA.92Jun18124737@geo.pu-toyama.ac.jp>
Distribution: fj
Date: 18 Jun 1992 04:04:31 GMT
Lines: 36