Hi,

Changing subject to Wirth compilers (Pascal, etc) ....

On Tue, Jun 8, 2021 at 2:21 PM Paul Dufresne via Freedos-devel
<freedos-devel@lists.sourceforge.net> wrote:
>
> I am a bit confused...
> I used to see: 
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/pkg-html/group-devel.html
> but searching ibiblio from myself found:
> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/?C=N;O=A
>
> The first seems to be more the programs included in 1.3.
>
> But the second seems to contains more programs.
> I particularly like to find a modula-2 compiler.
> The evolution goes a bit like this (might be my personal oversimplification):
> pascal,
> modula-2: separate compiliation of module definition and implementation
> oberon: no more separation, an * indicates you export a symbol, the other 
> being private.
>
> Anyway... is the second list a kind of index with rejected packages for 
> Freedos?


First of all, I'm far from an expert in these languages, but I did
fiddle quite a bit (for such a simple project as a Befunge-93
interpreter) with various Pascal(s), Modula-2, and Oberon(s).

* https://sites.google.com/site/rugxulo/BEFI_4Y.ZIP?attredirects=0&d=1

The various interpreters and compilers I successfully used (in DOS)
were as follows (not all mirrored to iBiblio, sadly, some are only
"freeware" or "non-commercial" or "shareware" and not Free/libre). I
can probably point you to most (or all?) of these.

Pascal:
= GPC/DJGPP, TP55, FPC, P5, TMT, VP (under HX)

Modula-2:
= FST, GPM/PC, GPM/DJGPP, M2M-PC, M2C, XDS (under HX)

Oberon:
= Oberon/M, Oxford (old DJGPP or newer MinGW under HX), GPO/DJGPP,
Edipar, XDS (under HX), Exaprog (under HX)

******************************************************************************************************************************

Long story short: FPC is probably your best bet. (3.2.2 just came out
but hasn't been mirrored to iBiblio yet.) FPC is more than adequate
for "most" things! Their {$mode tp} is very good, and they've (also)
supported the i8086-msdos target since 2015 in addition to
bog-standard Go32v2 (32-bit DPMI)!

* http://www.bttr-software.de/forum/board_entry.php?id=17823
* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/pascal/
* https://wiki.freepascal.org/DOS

A good blog about Modula-2 (e.g. news about many things including
GM2/GCC, which sadly doesn't have DJGPP support ... yet?):

* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/modula2/
* https://freepages.modula2.org/

Oberon is a bit more scattered, and DOS support is hard to find and
somewhat ancient, sadly.

* http://www.projectoberon.com/
* https://people.inf.ethz.ch/wirth/CompilerConstruction/index.html

You might also try asking in the DJGPP newsgroup (comp.os.msdos.djgpp)
about getting someone to help build this for you, but don't get your
hopes up (I've never tried, and things like this are usually
difficult, even via cross-compilation):

* https://miasap.se/obnc/

Oh! I forgot that XDS (for Win32) is now "open source" / Apache license!

* https://github.com/excelsior-oss/xds


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to