Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2016-02

fpc iso mode

10 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Schindler Karl-Michael

Hi.

With fpc 3.0.0 supporting iso7185 mode I made contact to the people of standard pascal and the p4/p5 compilers and i like to forward their congratulations to you:

Show quoted text 15 lines
It looks good now, the differences are allowed by the standard (precision, case). I'll try to formalize the results and put them up on the www.standardpascal.org web site. I'll try to compile P5 with it this weekend. If that works out, I'll modify the configure script to use fpc as an alternate host compiler. I recommend you use an option such as -Miso7185. ISO refers to a lot of standards, including other Pascal standards. Congratulations on FPC compliance with ISO 7185! Please carry my congradulations to all the crew who worked on that. Scott Franco

With the current status of gpc, fpc has become a much valued alternative, for example for bootstrapping p4/p5.

How about his suggestion about renaming the mode to iso7185? Too late?

How about calling ExtendedPascal iso10206 instead of extpas?

Michael Schindler

Reply by email

Sven Barth
to Schindler Karl-Michael
Schindler Karl-Michael wrote
Hi. With fpc 3.0.0 supporting iso7185 mode I made contact to the people of standard pascal and the p4/p5 compilers and i like to forward their congratulations to you:

I hope he'll test with the development version. After all 3.0.0 contains the bug regarding the program parameters...

> It looks good now, the differences are allowed by the standard (precision, case).

Does anyone know what he means with "precision" and "case"?

Show quoted text 18 lines
> > I'll try to formalize the results and put them up on the www.standardpascal.org > web site. > > I'll try to compile P5 with it this weekend. If that works out, I'll modify the configure > script to use fpc as an alternate host compiler. > > I recommend you use an option such as -Miso7185. ISO refers to a lot of standards, > including other Pascal standards. > > Congratulations on FPC compliance with ISO 7185! Please carry my congradulations > to all the crew who worked on that. > > Scott Franco With the current status of gpc, fpc has become a much valued alternative, for example for bootstrapping p4/p5. How about his suggestion about renaming the mode to iso7185? Too late?

We could maybe add iso7185 as an alternative to iso and deprecate the latter...

How about calling ExtendedPascal iso10206 instead of extpas?

Since Extended Pascal supported is only in trunk that would be no problem...

Regards,
Sven

Reply by email

Tomas Hajny
to Sven Barth
Sven Barth wrote
On 03.02.2016 16:58, Schindler Karl-Michael wrote:

.
.

Show quoted text 9 lines
> How about his suggestion about renaming the mode to iso7185? Too late? We could maybe add iso7185 as an alternative to iso and deprecate the latter... > How about calling ExtendedPascal iso10206 instead of extpas? Since Extended Pascal supported is only in trunk that would be no problem...

Not really important for me personally, but I wonder: Would all/most potential users remember the ISO standard numbers when typing command line parameters, or is it better to include the ISO number just in the help pages and documentation, but keep the mode name as it is to simplify it for users?

Tomas

Reply by email

Sven Barth
to Tomas Hajny
Tomas Hajny wrote 19 lines
On Wed, February 3, 2016 20:00, Sven Barth wrote: > On 03.02.2016 16:58, Schindler Karl-Michael wrote: . . >> How about his suggestion about renaming the mode to iso7185? Too late? > > We could maybe add iso7185 as an alternative to iso and deprecate the > latter... > >> How about calling ExtendedPascal iso10206 instead of extpas? > > Since Extended Pascal supported is only in trunk that would be no > problem... Not really important for me personally, but I wonder: Would all/most potential users remember the ISO standard numbers when typing command line parameters, or is it better to include the ISO number just in the help pages and documentation, but keep the mode name as it is to simplify it for users?

Yeah, that's a thought I had as well. Then again those two modes are probably only going to be used by people who know what they're doing... :/

Regards,
Sven

Reply by email

Schindler Karl-Michael
Show quoted text 10 lines
Am 04.02.2016 um 02:40 schrieb Date: Wed, 3 Feb 2016 20:00:11 +0100 From: Sven Barth Subject: Re: [fpc-devel] fpc iso mode Message-ID: >> It looks good now, the differences are allowed by the standard (precision, case). Does anyone know what he means with "precision" and "case"?

The output differs from the reference output. Some real numbers may have some more or different, but insignificant digits. Also the case of some letters is different.

Michael.

Reply by email

Florian Klaempfl
to Sven Barth: Yeah, that's a thought I had as well. Then again those two modes are probably only going…
Sven Barth wrote 22 lines
On 03.02.2016 20:07, Tomas Hajny wrote: > On Wed, February 3, 2016 20:00, Sven Barth wrote: >> On 03.02.2016 16:58, Schindler Karl-Michael wrote: > . > . >>> How about his suggestion about renaming the mode to iso7185? Too late? >> >> We could maybe add iso7185 as an alternative to iso and deprecate the >> latter... >> >>> How about calling ExtendedPascal iso10206 instead of extpas? >> >> Since Extended Pascal supported is only in trunk that would be no >> problem... > > Not really important for me personally, but I wonder: Would all/most > potential users remember the ISO standard numbers when typing command line > parameters, or is it better to include the ISO number just in the help > pages and documentation, but keep the mode name as it is to simplify it > for users? Yeah, that's a thought I had as well.

This was one of the reasons why I have chosen the short names.

Reply by email

Schindler Karl-Michael
Show quoted text 8 lines
Am 05.02.2016 um 12:00 schrieb (Marco van de Voort): Date: Thu, 4 Feb 2016 12:56:14 +0100 (CET) From: (Marco van de Voort) Subject: Re: [fpc-devel] fpc iso mode Message-ID: Btw, ISO is not in -h, not even in trunk.

This sounds like the best solution, iso and extpas are easier to remember and to distinguish, but add the details, iso7185 and iso10206, to the help text.

Reply by email

Tomas Hajny
to Florian Klaempfl: This was one of the reasons why I have chosen the short names.
Florian Klaempfl wrote 13 lines
Am 03.02.2016 um 22:38 schrieb Sven Barth: > On 03.02.2016 20:07, Tomas Hajny wrote: >> On Wed, February 3, 2016 20:00, Sven Barth wrote: >>> On 03.02.2016 16:58, Schindler Karl-Michael wrote: >> . >> . >>>> How about his suggestion about renaming the mode to iso7185? Too >>>> late? >>> >>> We could maybe add iso7185 as an alternative to iso and deprecate the >>> latter... >>> >>>> How about calling ExtendedPascal iso10206 instead of extpas?

.
.

This was one of the reasons why I have chosen the short names.

As far as I can see in the source code (scanner.pas:499), trunk expects -Mextendedpascal rather than -Mextpas at the moment. That is not exactly a short name. ;-) I'm going to modify it to 'extpas' and add to the help pages.

Tomas

Reply by email

Tomas Hajny
to Tomas Hajny
Tomas Hajny wrote 22 lines
On Thu, February 4, 2016 18:32, Florian Klaempfl wrote: > Am 03.02.2016 um 22:38 schrieb Sven Barth: >> On 03.02.2016 20:07, Tomas Hajny wrote: >>> On Wed, February 3, 2016 20:00, Sven Barth wrote: >>>> On 03.02.2016 16:58, Schindler Karl-Michael wrote: >>> . >>> . >>>>> How about his suggestion about renaming the mode to iso7185? Too >>>>> late? >>>> >>>> We could maybe add iso7185 as an alternative to iso and deprecate the >>>> latter... >>>> >>>>> How about calling ExtendedPascal iso10206 instead of extpas? . . > This was one of the reasons why I have chosen the short names. As far as I can see in the source code (scanner.pas:499), trunk expects -Mextendedpascal rather than -Mextpas at the moment. That is not exactly a short name. ;-) I'm going to modify it to 'extpas' and add to the help pages.

Oops - I just noticed that the help pages have already been updated yesterday, but referring to the long name. Considering this, I won't touch it and leave it up to Florian to decide.

Tomas

Reply by email