Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Modula-2 FAQ

6 views
Skip to first unread message

Rick Sutcliffe

unread,
Oct 7, 2011, 12:33:00 AM10/7/11
to
Archive-name: computer-lang/Modula2-faq/part1
Version: 3.0
Last-modified: 2009 06 01
Posting-frequency: Monthly


Modula-2 Frequently Asked Questions

The latest version is available at
http://www.arjay.bc.ca/Modula-2/m2faq.html

It will no longer be posted in its entirety to Usenet.

Rugxulo

unread,
Oct 12, 2011, 8:29:01 AM10/12/11
to
Hi,

On Oct 6, 11:33 pm, Rick Sutcliffe <rs...@twu.ca> wrote:
> Archive-name: computer-lang/Modula2-faq/part1
> Version: 3.0
> Last-modified: 2009 06 01
> Posting-frequency: Monthly
>
>                     Modula-2 Frequently Asked Questions
>
> The latest version is available at http://www.arjay.bc.ca/Modula-2/m2faq.html

Far be it for me to correct you, but ...

1). The actual FAQ says "version 2.37 (2011 07 01)"

2). "The current release status of GNU Modula-2 is 0.92 and it
implements the PIM variant of Modula-2 and ISO. It provides a set of
PIM libraries and also installs the ULM PIM libraries. It is known to
build on BSD, GNU/Linux, MacOS X and Solaris in both 32 and 64 bit.
Its aim is to be both ISO and PIM Modula-2 compliant. (Also, see the
next question). The next milestone of the project is the 1.0 release
at which point the compiler will become part of the main GCC
distribution."

http://www.nongnu.org/gm2/release.html
"The latest stable release is gm2-1.0.4"

However, I'm pretty sure it's still based upon an (unofficial,
patched) GCC 4.1.2 though Gaius has done some work on newer GCC. The
main problem is probably?? that no versions older than GCC 4.4.x are
still supported by GNU. But I don't know which versions (presumably
newer) he's worked on.

P.S. "followup to `poster'" [sic] doesn't seem very useful. I don't
know if that's Google Groups or your newsreader doing that. ;-)

Chris Burrows

unread,
Oct 13, 2011, 8:16:55 AM10/13/11
to
"Rugxulo" <rug...@gmail.com> wrote in message
news:c87cac99-4e34-40cb...@j20g2000vby.googlegroups.com...
Hi,

On Oct 6, 11:33 pm, Rick Sutcliffe <rs...@twu.ca> wrote:
> Archive-name: computer-lang/Modula2-faq/part1
> Version: 3.0
> Last-modified: 2009 06 01
> Posting-frequency: Monthly
>
> Modula-2 Frequently Asked Questions
>
> The latest version is available at
> http://www.arjay.bc.ca/Modula-2/m2faq.html

Far be it for me to correct you, but ...

1). The actual FAQ says "version 2.37 (2011 07 01)"

Thanks for pointing that out. I hadn't bothered to read the FAQ for the last
couple of years


Chris Burrows

unread,
Oct 13, 2011, 8:25:51 AM10/13/11
to
> "Rugxulo" <rug...@gmail.com> wrote in message
> news:c87cac99-4e34-40cb...@j20g2000vby.googlegroups.com...
>
>On Oct 6, 11:33 pm, Rick Sutcliffe <rs...@twu.ca> wrote:
>> Archive-name: computer-lang/Modula2-faq/part1
>> Version: 3.0
>> Last-modified: 2009 06 01
>> Posting-frequency: Monthly
>>
>> Modula-2 Frequently Asked Questions
>>
>> The latest version is available at
>http://www.arjay.bc.ca/Modula-2/m2faq.html
>
>Far be it for me to correct you, but ...
>
>1). The actual FAQ says "version 2.37 (2011 07 01)"
>

(* Oops, sorry for the duplicate post - I pressed Send too quickly ... *)

Thanks for pointing that out. I hadn't bothered to read the FAQ for the last

couple of years as I didn't know it had been updated. I suspect the monthly
post is something automated that has been forgotten about.

>
>P.S. "followup to `poster'" [sic] doesn't seem very useful. I don't
>know if that's Google Groups or your newsreader doing that. ;-)

It's not Google Groups as it also appears that way in my nntp version of the
newsgroup,

Regards,
Chris Burrows
CFB Software
http://www.cfbsoftware.com/modula2


Gaius Mulley

unread,
Oct 13, 2011, 3:23:15 PM10/13/11
to
On Oct 12, 1:29 pm, Rugxulo <rugx...@gmail.com> wrote:
> Hi,
>
> On Oct 6, 11:33 pm, Rick Sutcliffe <rs...@twu.ca> wrote:
>
> > Archive-name: computer-lang/Modula2-faq/part1
> > Version: 3.0
> > Last-modified: 2009 06 01
> > Posting-frequency: Monthly
>
> >                     Modula-2 Frequently Asked Questions
>
> > The latest version is available athttp://www.arjay.bc.ca/Modula-2/m2faq.html

>
> Far be it for me to correct you, but ...
>
> 1). The actual FAQ says "version 2.37 (2011 07 01)"
>
> 2). "The current release status of GNU Modula-2 is 0.92 and it
> implements the PIM variant of Modula-2 and ISO. It provides a set of
> PIM libraries and also installs the ULM PIM libraries. It is known to
> build on BSD, GNU/Linux, MacOS X and Solaris in both 32 and 64 bit.
> Its aim is to be both ISO and PIM Modula-2 compliant. (Also, see the
> next question). The next milestone of the project is the 1.0 release
> at which point the compiler will become part of the main GCC
> distribution."
>
> http://www.nongnu.org/gm2/release.html
> "The latest stable release is gm2-1.0.4"
>
> However, I'm pretty sure it's still based upon an (unofficial,
> patched) GCC 4.1.2 though Gaius has done some work on newer GCC. The
> main problem is probably?? that no versions older than GCC 4.4.x are
> still supported by GNU. But I don't know which versions (presumably
> newer) he's worked on.

yes gm2-1.0.4 is still based on a patched gcc-4.1.2. I'm currently
working
on grafting gm2-1.0.4 onto gcc-4.6.x. At present I'm fighting linking
errors when
building cc1gm2. I think previously I was intending to jump from
gcc-4.1.2 onto gcc-trunc
but the jump was too large and this is divide and conquer. The next
jump from gcc-4.6.x
onto gcc-trunc should be much smaller.

regards,
Gaius

Message has been deleted

Chris Burrows

unread,
Nov 1, 2011, 3:24:47 AM11/1/11
to
"Rebus" <r...@s.invalid> wrote in message news:j8nkis$31e$1...@dont-email.me...
> Today, some of
> my colleagues question the need for the strict type
> system of languages like Modula-2. More popular
> languages of today tend to be weak typed, such that
> adding an integer variable and a float variable without
> explicit conversion is permitted, for example. Why not
> allow this they ask? Ah, well.

Immediately after Modula-2, Wirth did follow this sort approach in his
language Oberon:

"With the proliferation of basic types, a relaxation of compatibility rules
among them becomes almost mandatory. (Note that in Modula the numeric types
INTEGER, CARDINAL, and REAL are incompatible). To this end, the notion of
type inclusion is introduced: a type T includes a type T', if the values of
type T' are also values of type T. Oberon postulates the following
hierarchy:
LONGREAL > REAL > LONGINT > INTEGER > SHORTINT"

('From Modula to Oberon', N. Wirth, 1990)

However, in the recent revisions (2007 and 2011) of Oberon he has reverted
back to requiring explicit conversion functions (e.g. FLT and FLOOR) to do
the conversions.

Generally I prefer to be able to tell the compiler exactly what I want it to
do - not rely on it to second-guess what I might be trying to do. Also I
want to know *as soon as possible* when I have done something which is
potentially stupid. e.g. while I am compiling a program, not when a user on
the other side of the world is running the program!

Regards,
Chris Burrows

CFB Software
Astrobe: ARM Oberon Development System
http://www.astrobe.com





0 new messages