aaaaaaaaaaaaaaaaaaaaaaaaaa
2010-07-19 16:38:08 UTC
Recently I came across the MHC Modula-2 compiler. It is something in
between a true native compiler and a cross compiler and a translator.
In short: it compiles to java source files, which then can be compiled
into java bytecode class-files and then they can be used across
platforms.
I did a fair amount of tests and came to the conclusion that this is
what I am looking for. I can program in Modula-2 and all my
executables (packed in a JAR file) can be run on any modern day
operating system. And since java executables run without their .java
source files, the thought behind the Modula-2 concept (i.e. code
hiding) remains intact.
MHC increased the functionality of their compiler by adding type
inheritance and exrension. Memory managenemt is done by Java so there
is no need for DISPOSE or ALLOCATE.
See also http://fruttenboel.verhoeven272.nl/mhc/index.html for more
details.
MHC also sell versions for Oberon and Pascal. This is the best
compiler I came across in this century (and millenium). :o)
between a true native compiler and a cross compiler and a translator.
In short: it compiles to java source files, which then can be compiled
into java bytecode class-files and then they can be used across
platforms.
I did a fair amount of tests and came to the conclusion that this is
what I am looking for. I can program in Modula-2 and all my
executables (packed in a JAR file) can be run on any modern day
operating system. And since java executables run without their .java
source files, the thought behind the Modula-2 concept (i.e. code
hiding) remains intact.
MHC increased the functionality of their compiler by adding type
inheritance and exrension. Memory managenemt is done by Java so there
is no need for DISPOSE or ALLOCATE.
See also http://fruttenboel.verhoeven272.nl/mhc/index.html for more
details.
MHC also sell versions for Oberon and Pascal. This is the best
compiler I came across in this century (and millenium). :o)