Source texts of translators
Here are listed the programs which
translate from one high-level (or even low-level) language to another. As these
programs are not compilers in full sense, they have been posted separately. |
bas_pas.zip (~20kb)
Cross system Basic-Pascal (c) 1997 by Unknown Russian Programmer |
This
stuff translates GW-Basic-like text (with numbered lines) to Pascal one. |
Source text: .pas (Borland Pascal) |
Output language: .pas (for Borland Pascal) |
Documentation: none, few comments in Russian |
baspas.zip
(~320kb) Basic to Free Pascal Translator v0.602 (c) 2003 by Andrea
Tobian-Mezger |
This one translates a Basic-dialect text to Borland Pascal compatible one which can
be compiled then with Free Pascal. The wrapper-function library is included. |
Source text: .pas (Free Pascal, Dev-Pascal) |
Output language: .pas (Free Pascal) |
Documentation: in English |
bascy10d.zip
(~163kb) Basic to C language translator (c) 2001 by S. Narasimhan |
This
is a QuickBasic to C translator, made by one nostalgic programmer from India.
Up to thirty .bas test files are included. |
Source text: .c (Borland C) |
Output language: .c (ANSI C) |
Documentation: in English |
nega.zip (~81kb) The
NEGA Programming Language (c) 1997 Tylisha C. Andersen |
Its
a symbolic high-level assembler with a very unusual syntax. Nevertheless all
the flow structures are supported. Nega is more like BAssPasC and is closer to assemblers
despite of Sphinx C--. The output format is an asm listing for Tasm, so the
language is bounded by Tasm itself. Nega also supports floating point
operations. As an example theres a text-mode Tetris clone. |
Source text: .c (Borland C, Watcom C) |
Output language: .asm (Tasm, Masm) |
Documentation: in English |
qb2c.zip (~193kb)
QuickBASIC to ANSI C translator (c) 1998 by Mario Stipcević |
Translates
QuickBasic texts to C; an obtained file could be compiled and executed in Unix.
For graphic output the X11 library is used. Dont know if it can be used for
other operating systems. |
Source text: .c (GNU C) |
Output language: .c (ANSI C) |
Documentation: in English |
qbcc01.zip
(~2.6Mb) Quick Basic Compatible Compiler v0.01a (c) 2000 by Jason Boettcher and
Martyn McDonnell |
Translates
QuickBasic to C. The outputted text can be compiled even for Win32, cause the
Allegro library for graphic output is used. The functions supported are not
numerous, its the alpha version as you can see. Note that Flex is used while
developing this stuff. The sources of libraries are included. |
Source text: .c (GNU C, MS Visual C) |
Output language: .c (GNU C, MS Visual C) |
Documentation: comments in English |
Home
page: http://qbcc.sourceforge.net/ |
ptoc355.zip (~644kb) Ansi/Turbo Pascal to C/C++
Converter v3.55 (c) by Knizhnik |
Accepts several Pascal dialects:
Turbo Pascal 4.0/5.0 and ISO Pascal. Can produce both C and C++ (in this case
classes are used to implement strings and text files). The Flex and Bison tools
were used to build this program. Note that the purpose was to compile old
Pascal programs for Win32 thats why the BGI graphics is emulated via API. All
sources and examples are included. |
Source text: .c (MS VC++ 4.0, Borland C++ 5.5) |
Output language: .c, cpp (MS VC++, BC++) |
Documentation: in English |
Home page: http://www.garret.ru/~knizhnik/
|
pxsc350s.zip
(~1.9Mb) Pascal-XSC to C Compiler v3.50 (c) 1994 by Numerik Software GmbH |
Translates
a Pascal text to C. Should be good enough, cause its been developing in one
German University. Possibly, this compiler was aimed to solve the mathematical
expressions efficiently. The sources of some needed utilities and all libraries
are included. Attention! The precompiled binaries were not added in order not
to overweight the archive. But all sources are checked to be compiled with GNU
C and its ports. If any problems, refer to developers site. |
Source text: .c (GNU C) |
Output language: .c (GNU C) |
Documentation: in German |
Home page: http://www.uni-karlsruhe.de/~iam/html/pascal/pascal-xsc/download.html
|
ta2asv08.zip
(~27kb) TASM to AT&T v0.8 (c) 1994 by Frank van Dijk |
This
utility takes an assembler listing in TASM syntax & tries to convert it to
AT&T one. |
Source text: .c (GNU C) |
Output language: .asm (AT&T syntax) |
Documentation: in English (brief) |
tptoc.zip
(~131kb) Turbo Pascal to C Translator v1.7 (c) 1986-1988 by Samuel H. Smith |
This
one is old enough but nevertheless worth seeing. A bunch of test examples are
attached. |
Source text: .pas (Turbo Pascal 4.0) |
Output language: .c (Turbo C) |
Documentation: in English |
xlt86.zip (~18.5kb)
(c) 1984 by Frank J. Zerilli, ms-dos port by Craig Derouen |
Translates
Intel 8080 assembly language source code to Intel 8086 one. |
Source text: .asm (Tasm) |
Output language: .asm (i8086) |
Documentation:
comments in English |