Category/Software-development/programming-language-conversion
This entry published by the Free Software Foundation.
Broaden your selection: Category/Software-development
Category/Software-development
programming-language-conversion (16)
AGFL AGFL is a parser generator for natural languages. It can cope with ambiguity, which is a must for natural languages, has a lexicon system and is quite fast. If you don't know what to think of it, think "yacc" (or "bison") without shift-reduce conflicts.
Binutils
Includes tools capable of creating and managing binary program files, including handling object files, libraries, profile data, and assembly source code.
BitPacket BitPacket is a Python module to represent bit field structures in an easy object-oriented way. BitPacket provides three classes: BitField, BitStructure and BitVariableStructure which represent simple bit fields, and fixed and variable structures of bit fields respectively. BitStructure and BitVariableStructure are BitField themselves and all of them can be used together in order to build packets. That is, we can add any BitField subclass into a BitStructure or BitVariableStructure.
C to C++ converter This packages is a set of Python scripts that perform each stage of code conversion from C to C++. First, header files are converted into classes and declarations become members. Then, references to variables and functions are transformed into references to attributes and methods of classes. Additional tools provided include a generator/updater of header files, and a trans-directory mover with update of include statements.
Code2html 'code2html' converts source code to syntax highlighted HTML. It may be called from the command line or as a CGI script. It can also handle include commands in HTML files. Currently supports: Ada 95, C, C++, diff files, gpasm, HTML, Java, JavaScript, Lisp, Makefile, Pascal, Perl, Python, shell, SQL, AWK, M4, and Groff.
Dia2code Dia2Code is a small utility to make code from a Dia Diagram, and eases the programmer's work by generating the structure of the classes in an Object Oriented language (like C++ and Java) from a graphical representation of them (a la Dia Diagram).
Doscheck Reads a list of filenames and produces a report of all conflicts that would arise if the files were transferred to a MS-DOS or SYSV platform.
GNU Source-highlight
Source-highlight reads source language specifications dynamically, thus it can be easily extended (without recompiling the sources) for handling new languages. It also reads output format specifications dynamically, and thus it can be easily extended (without recompiling the sources) for handling new output formats. The syntax for these specifications is quite easy (take a look at the manual). Source-highlight is a command line program, and it can also be used as a CGI. Notice that source-highlight can also be used as a formatter (i.e., without highlighting): you can, for instance, format a txt file in HTML (and it will take care of translating special characters, such as, <, >, &). Since version 2.2, source-highlight can also generate cross references; in order to do this it relies on GNU Ctags, http://ctags.sourceforge.net. These are the output formats already supported:
- HTML
- XHTML
- LATEX
- TEXINFO
- ANSI color escape sequences (you can use this feature with less)
- DocBook
These are the input languages (or input formats) already supported (in alphabetical order):
- Ada
- Autoconf files
- C/C++
- C#
- Bib
- Bison
- Caml
- Changelog
- Css
- Diff
- Flex
- Fortran
- GLSL
- Haxe
- Html
- ini files
- Java
- Javascript
- KDE desktop files
- Latex
- Ldap files
- Logtalk
- Log files
- lsm files (Linux Software Map)
- Lua
- Makefile
- M4
- ML
- Pascal
- Perl
- PHP
- Postscript
- Prolog
- Properties files
- Python
- RPM Spec files
- Ruby
- Scala
- Shell
- S-Lang
- Sql
- Tcl
- XML
- XOrg conf files
Gaphor 'Gaphor'create nice UML diagrams (UML 2.0 compliant data model) for documentation and to assist you with design decisions. Gaphor will help you create your applications.
Marst
Marst is an Algol to C translator. It automatically translates programs written in the algorithmic language Algol 60 to the C programming language. The package includes three main components: the translator, MARST, that translates Algol 60 programs to the C programming language; the library, ALGLIB, that contains precompiled standard Algol 60 procedures and other necessary library routines (this library, referred to as libalgol.a in the distribution, is to be used at linking stage); and the converter, MACVT, that converts existing Algol 60 programs from other representations to MARST representation.
… further results
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.
This page was last modified on 6 July 2011, at 17:52.

