P2Ada is a Pascal to Ada translator.
Recognizes particularities of several Pascal dialects: Turbo/Borland/Delphi (mostly), CodeWarrior, ISO, ISO Extended (a bit).
Includes a full ayacc / aflex parser & lexer for Ada 95+ with sources.
Mirror: https://github.com/zertovitch/pascal-to-ada
Transpiles/Converts Pascal to Working PHP Source Code
...As of v0.5, you should be able to write entire PHP applications in Pascal. The key to coding for PAS2PHP is to understand the limitations of PHP. Read the example code provided, and always check the outputed PHP code to understand how this works.
As a guide to what PAS2PHP can achieve... my web site is written in Pascal, and then converted to PHP. (The code is in the source package). PAS2PHP uses the Pascal Parse Tree Classes (PasTree) which comes with FreePascal, and therefore the parsing limits are defined by this library.
Program is aimed to be able to translate source codes from one language to other. Currently it only works (somewhat) for the following translations:
- pascal to java
- pascal to php
- c to php
Any constructive suggestions or feature requests are welcome
Text preprocessor that provides script based in-code code generation. It can be used to provide templates for languages that doesn't support them (C, Pascal). Of course, it is stronger than templates in C++ so you can find it useful with other languages