Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

<< WAIT >>


devel / comp.lang.fortran / Implicit Semicolons And Statement-Continuation Rules

SubjectAuthor
* Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
+* Re: Implicit Semicolons And Statement-Continuation RulesAndrew
|`- Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
+* Re: Implicit Semicolons And Statement-Continuation RulesGary Scott
|`* Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
| `* Re: Implicit Semicolons And Statement-Continuation RulesGary Scott
|  `* Re: Implicit Semicolons And Statement-Continuation RulesSteven G. Kargl
|   `- Re: Implicit Semicolons And Statement-Continuation RulesGary Scott
+* Re: Implicit Semicolons And Statement-Continuation RulesThomas Koenig
|+- Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
|+- Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
|`- Re: Implicit Semicolons And Statement-Continuation Rulespehache
+- Re: Implicit Semicolons And Statement-Continuation Rulespehache
`* Re: Implicit Semicolons And Statement-Continuation Rulesdb
 `* Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
  `* Re: Implicit Semicolons And Statement-Continuation RulesGary Scott
   `* Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
    `* Re: Implicit Semicolons And Statement-Continuation RulesGary Scott
     `* Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
      +* Re: Implicit Semicolons And Statement-Continuation RulesSteven G. Kargl
      |+- Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
      |`- Re: Implicit Semicolons And Statement-Continuation RulesHarold Stevens
      `* Re: Implicit Semicolons And Statement-Continuation RulesGary Scott
       `* Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro
        `* Re: Implicit Semicolons And Statement-Continuation RulesGary Scott
         `- Re: Implicit Semicolons And Statement-Continuation RulesLawrence D'Oliveiro

Pages:12
Implicit Semicolons And Statement-Continuation Rules

<ups7ja$i2ic$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3852&group=comp.lang.fortran#3852

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 03:04:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <ups7ja$i2ic$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 03:04:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="06aca01f94cf0cf48b148884bafbedb9";
logging-data="592460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q42IlP7ToRS39fu7nj6pR"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:I9IjSU3xf1Yl0Z2oDBA5rpTzvoo=
 by: Lawrence D'Oliv - Tue, 6 Feb 2024 03:04 UTC

Fortran (in free-form mode) is now the third language I’ve come across
that allows semicolons to terminate statements, but makes them
optional (letting a newline do the job instead).

The other two are JavaScript and Python. JavaScript has the most
complex-seeming rule, but once you understand how it works, being able
to write something like

f(a, b, c)

as

f
(
a,
b,
c
)

(where a, b and c might be quite complex expressions) is quite useful.

Python has I think the most straightforward rule: you need to end a
line with “\” to do explicit continuation, but continuation can be
implicit if there is an unpaired opening parenthesis, bracket or
brace. So complex expressions can be written with minimal clutter:

section_verts = \
[
start + vec(0, - rail_width / 2, 0),
start + vec(0, rail_width / 2, 0),
start + vec(0, - rail_width / 2, rail_thickness * slope_adjust),
start + vec(0, rail_width / 2, rail_thickness * slope_adjust),
]

Free-form Fortran, on the other hand, requires an explicit “&” to
continue a line in all cases:

character(len = 9), dimension(3, 4), parameter :: month_names = &
reshape &
( &
(/ ' January ', ' February', ' March ', ' April ', &
' May ', ' June ', ' July ', ' August ', &
'September', ' October ', ' November', ' December' /), &
(/3, 4/) &
)

Wouldn’t it be useful if it had a smarter, Python-style rule?

Re: Implicit Semicolons And Statement-Continuation Rules

<upst9c$23shd$1@paganini.bofh.team>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3853&group=comp.lang.fortran#3853

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: Doug@hyperspace.vogon.gov (Andrew)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 10:14:20 +0100
Organization: To protect and to server
Message-ID: <upst9c$23shd$1@paganini.bofh.team>
References: <ups7ja$i2ic$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 09:14:20 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="2224685"; posting-host="XBJBjenliTep7OIZ0g9xdw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
SeaMonkey/2.53.18.1
Cancel-Lock: sha256:uSXIGtO29rsJ69FEF5EgikcCYTqEOiEfo7kn/pYIoq0=
X-Notice: Filtered by postfilter v. 0.9.3
 by: Andrew - Tue, 6 Feb 2024 09:14 UTC

Lawrence D'Oliveiro wrote:
> Fortran (in free-form mode) is now the third language I’ve come across
> that allows semicolons to terminate statements, but makes them
> optional (letting a newline do the job instead).
>
> The other two are JavaScript and Python. JavaScript has the most
> complex-seeming rule, but once you understand how it works, being able
> to write something like
>
> f(a, b, c)
>
> as
>
> f
> (
> a,
> b,
> c
> )
>
> (where a, b and c might be quite complex expressions) is quite useful.
>
> Python has I think the most straightforward rule: you need to end a
> line with “\” to do explicit continuation, but continuation can be
> implicit if there is an unpaired opening parenthesis, bracket or
> brace. So complex expressions can be written with minimal clutter:
>
> section_verts = \
> [
> start + vec(0, - rail_width / 2, 0),
> start + vec(0, rail_width / 2, 0),
> start + vec(0, - rail_width / 2, rail_thickness * slope_adjust),
> start + vec(0, rail_width / 2, rail_thickness * slope_adjust),
> ]
>
> Free-form Fortran, on the other hand, requires an explicit “&” to
> continue a line in all cases:
>
> character(len = 9), dimension(3, 4), parameter :: month_names = &
> reshape &
> ( &
> (/ ' January ', ' February', ' March ', ' April ', &
> ' May ', ' June ', ' July ', ' August ', &
> 'September', ' October ', ' November', ' December' /), &
> (/3, 4/) &
> )
>
> Wouldn’t it be useful if it had a smarter, Python-style rule?
>

I don't think posting here is going to have any influence on the people
who define the Fortran standards.

Looking at the JavaScript example. One pair of () brackets is easy to
keep track of, multiple nested brackets (complex expressions) can lead
to mismatched brackets and very confusing / entertaining syntax errors.

I have never used Python but my understanding is that indentation is
important (or critical) there so you have an extra level of clarity
which FF Fortran does not offer.

Handling syntax errors is important, making sure than syntax errors do
not accidentally produce valid syntax (leaving a ")" off in JavaScript,
inserting one a couple of lines further down) is also important. The
people who define Fortran standards care about stuff like that.

Re: Implicit Semicolons And Statement-Continuation Rules

<uptofe$vjmf$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3854&group=comp.lang.fortran#3854

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: garylscott@sbcglobal.net (Gary Scott)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 10:58:20 -0600
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <uptofe$vjmf$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 16:58:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c141890ba6acbe075efbf5556c280f63";
logging-data="1035983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RqjCI0YjsSzsakI3gZX3f5DJRAsWyGMY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:OtxDlrRMX0vcsZpl169EI8TjrxM=
Content-Language: en-US
In-Reply-To: <ups7ja$i2ic$2@dont-email.me>
 by: Gary Scott - Tue, 6 Feb 2024 16:58 UTC

On 2/5/2024 9:04 PM, Lawrence D'Oliveiro wrote:
> Fortran (in free-form mode) is now the third language I’ve come across
> that allows semicolons to terminate statements, but makes them
> optional (letting a newline do the job instead).
>

SNIP

> Free-form Fortran, on the other hand, requires an explicit “&” to
> continue a line in all cases:
>
> character(len = 9), dimension(3, 4), parameter :: month_names = &
> reshape &
> ( &
> (/ ' January ', ' February', ' March ', ' April ', &
> ' May ', ' June ', ' July ', ' August ', &
> 'September', ' October ', ' November', ' December' /), &
> (/3, 4/) &
> )
>
> Wouldn’t it be useful if it had a smarter, Python-style rule?

I'm not a fan of this style myself, I would probably alter this to be a
little less verbose and to use longer line lengths. Unfortunately, my
posting setting don't allow long line lengths (easily) for posting here.
So I'd probably use longer lengths than below resulting in only 2
lines. I definitely hate breaking out parentheses on separate lines.
These are argument/parameter/initializer groupings, not code block
separators.

character(9), parameter :: month_names(3,4) = reshape((/'January', &
' February', ' March ', ' April ', ' May ',' June ', &
' July ', ' August ', 'September', ' October ', ' November', &
' December' /), (/3, 4/))

Re: Implicit Semicolons And Statement-Continuation Rules

<uptvjk$3nq0b$1@newsreader4.netcologne.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3855&group=comp.lang.fortran#3855

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2a0a-a540-3e2c-0-2184-9f96-332a-67fb.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 19:00:04 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <uptvjk$3nq0b$1@newsreader4.netcologne.de>
References: <ups7ja$i2ic$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 19:00:04 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2a0a-a540-3e2c-0-2184-9f96-332a-67fb.ipv6dyn.netcologne.de:2a0a:a540:3e2c:0:2184:9f96:332a:67fb";
logging-data="3926027"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Tue, 6 Feb 2024 19:00 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
> Fortran (in free-form mode) is now the third language I’ve come across
> that allows semicolons to terminate statements, but makes them
> optional (letting a newline do the job instead).

Fixed-form Fortran also allows a semicolon.

[...]

> Python has I think the most straightforward rule: you need to end a
> line with “\” to do explicit continuation, but continuation can be
> implicit if there is an unpaired opening parenthesis, bracket or
> brace.

That sounds like a recipe for errors, if you ask me.

But then again, I don't like Python's reliance on indentation
as marking control structure, either, so maybe this is just
not a language for me.

>So complex expressions can be written with minimal clutter:
>
> section_verts = \
> [
> start + vec(0, - rail_width / 2, 0),
> start + vec(0, rail_width / 2, 0),
> start + vec(0, - rail_width / 2, rail_thickness * slope_adjust),
> start + vec(0, rail_width / 2, rail_thickness * slope_adjust),
> ]
>
> Free-form Fortran, on the other hand, requires an explicit “&” to
> continue a line in all cases:
>
> character(len = 9), dimension(3, 4), parameter :: month_names = &
> reshape &
> ( &
> (/ ' January ', ' February', ' March ', ' April ', &
> ' May ', ' June ', ' July ', ' August ', &
> 'September', ' October ', ' November', ' December' /), &
> (/3, 4/) &
> )
>
> Wouldn’t it be useful if it had a smarter, Python-style rule?

I don't think it is particularly useful to mix parentheses and line
continuation.

And the chances of the committee changing that now, 33 years after
free-form Fortran came out, infinitesimal.

Re: Implicit Semicolons And Statement-Continuation Rules

<upu2u0$11f6i$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3856&group=comp.lang.fortran#3856

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 19:56:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <upu2u0$11f6i$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uptofe$vjmf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 19:56:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="270a7c68e94c2ddf281de70be3fd9b72";
logging-data="1096914"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RXn9P9noU683fWCF2O5Js"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:jOE6HHwl9itJU8ayyjxZZtyA/ZI=
 by: Lawrence D'Oliv - Tue, 6 Feb 2024 19:56 UTC

On Tue, 6 Feb 2024 10:58:20 -0600, Gary Scott wrote:

> So I'd probably use longer lengths than below ...

In the only one of the three languages that imposes line-length limits?

Now *that’s* living dangerously ...

Re: Implicit Semicolons And Statement-Continuation Rules

<upu37n$11f6i$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3857&group=comp.lang.fortran#3857

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 20:02:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <upu37n$11f6i$2@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me>
<uptvjk$3nq0b$1@newsreader4.netcologne.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 20:02:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="270a7c68e94c2ddf281de70be3fd9b72";
logging-data="1096914"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++TbHgdRpomHU+Ae2mrW59"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:XcSQXz5YtXBy2c3/P/IFBBvHFBg=
 by: Lawrence D'Oliv - Tue, 6 Feb 2024 20:02 UTC

On Tue, 6 Feb 2024 19:00:04 -0000 (UTC), Thomas Koenig wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
>
>> Python has I think the most straightforward rule: you need to end a
>> line with “\” to do explicit continuation, but continuation can be
>> implicit if there is an unpaired opening parenthesis, bracket or brace.
>
> That sounds like a recipe for errors, if you ask me.

Combine that with proper indentation, to use a two-dimensional layout
on the page/screen, and that can be helpful for making clear the
structure of an expression. Example: parsing a timezone-offset part of
a PDF date/time entry:

if tzdelta != None and tzdelta != "Z" :
tzdelta = re.fullmatch(r"(.)(\d+)(?:\'(\d+))?", tzdelta).groups()
tzdelta = \
(
(
int(tzdelta[1]) * 60
+
(lambda : 0, lambda : int(tzdelta[2]))[tzdelta[2] != None]()
)
*
60
*
(1, -1)[tzdelta[0] == "-"]
)
else :
tzdelta = 0
#end if

Re: Implicit Semicolons And Statement-Continuation Rules

<upu3i2$11f6i$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3858&group=comp.lang.fortran#3858

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 20:07:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <upu3i2$11f6i$3@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <upst9c$23shd$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 20:07:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="270a7c68e94c2ddf281de70be3fd9b72";
logging-data="1096914"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+DwDPTqao+jaOitTkB2vG"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:SaYMIqoXVB41kZaj2V+vxnpLmPE=
 by: Lawrence D'Oliv - Tue, 6 Feb 2024 20:07 UTC

On Tue, 6 Feb 2024 10:14:20 +0100, Andrew wrote:

> Looking at the JavaScript example. One pair of () brackets is easy to
> keep track of, multiple nested brackets (complex expressions) can lead
> to mismatched brackets and very confusing / entertaining syntax errors.

One technique I have found for minimizing errors is to always enter
the closing bracketing symbol immediately after the opener, then start
inserting the stuff that does between. This reduces the chance of
bracketing mismatches.

Here’s a more complex example: using indentation in a two-dimensional
layout to make clearer the structure of the expression:

const SECONDS_PER_MINUTE = 60
const SECONDS_PER_HOUR = 3600

document.getElementById("content").innerHTML =
Array.from
(
function*() /* generate entries */
{
for (let i = 0; i <= 32; ++i)
{
yield i * SECONDS_PER_HOUR / 4
} /*for*/
}(),
function(t) /* format entries as hh:mm */
{
const hours = Math.floor(t / SECONDS_PER_HOUR)
const minutes = Math.floor((t - hours * SECONDS_PER_HOUR) / SECONDS_PER_MINUTE)
return "" + hours + ":" + (minutes < 10 ? "0" : "") + minutes
}
).reduce
(
(sofar, elt) => /* join entries into a single string */
sofar + (sofar != "" ? ", " : "") + elt,
""
)

Re: Implicit Semicolons And Statement-Continuation Rules

<upu8he$12g3r$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3859&group=comp.lang.fortran#3859

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 21:32:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <upu8he$12g3r$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me>
<uptvjk$3nq0b$1@newsreader4.netcologne.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 21:32:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="270a7c68e94c2ddf281de70be3fd9b72";
logging-data="1130619"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RIu/rE7rfXTeZL2AWZXRp"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:FU2yiBKQxsl9u/uUylaivebv0dA=
 by: Lawrence D'Oliv - Tue, 6 Feb 2024 21:32 UTC

On Tue, 6 Feb 2024 19:00:04 -0000 (UTC), Thomas Koenig wrote:

> And the chances of the committee changing that now, 33 years after
> free-form Fortran came out, infinitesimal.

Removing a restriction is a backward-compatible change.

Re: Implicit Semicolons And Statement-Continuation Rules

<upu8l0$12goh$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3860&group=comp.lang.fortran#3860

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: garylscott@sbcglobal.net (Gary Scott)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 15:34:25 -0600
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <upu8l0$12goh$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uptofe$vjmf$1@dont-email.me>
<upu2u0$11f6i$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 21:34:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="56f40e0b443c7f2d5dce845338120788";
logging-data="1131281"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ReXMTHl8oCKGfQlkaspkmudat4eHIDUU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:zlnzpM8C+UTLJoNMaCP3ur/5j90=
Content-Language: en-US
In-Reply-To: <upu2u0$11f6i$1@dont-email.me>
 by: Gary Scott - Tue, 6 Feb 2024 21:34 UTC

On 2/6/2024 1:56 PM, Lawrence D'Oliveiro wrote:
> On Tue, 6 Feb 2024 10:58:20 -0600, Gary Scott wrote:
>
>> So I'd probably use longer lengths than below ...
>
> In the only one of the three languages that imposes line-length limits?
>
> Now *that’s* living dangerously ...
Not really, its a quite long limit. And a warning at compile time is
issued if by some weird chance I hit the limit in the standard (132)
(and most compilers have a much longer limit still (Intel 2048)).

Re: Implicit Semicolons And Statement-Continuation Rules

<upuk1p$14847$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3861&group=comp.lang.fortran#3861

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Wed, 7 Feb 2024 00:48:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <upuk1p$14847$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uptofe$vjmf$1@dont-email.me>
<upu2u0$11f6i$1@dont-email.me> <upu8l0$12goh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 00:48:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="11e18e674192ad397af606b449614304";
logging-data="1187975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mtf8PlJVz1Z5fDH4S9gB8"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:rmAta49JyoBPqEt5IsdOit2JgoQ=
 by: Steven G. Kargl - Wed, 7 Feb 2024 00:48 UTC

On Tue, 06 Feb 2024 15:34:25 -0600, Gary Scott wrote:

> On 2/6/2024 1:56 PM, Lawrence D'Oliveiro wrote:
>> On Tue, 6 Feb 2024 10:58:20 -0600, Gary Scott wrote:
>>
>>> So I'd probably use longer lengths than below ...
>>
>> In the only one of the three languages that imposes line-length limits?
>>
>> Now *that’s* living dangerously ...
> Not really, its a quite long limit. And a warning at compile time is
> issued if by some weird chance I hit the limit in the standard (132)
> (and most compilers have a much longer limit still (Intel 2048)).

The Fortran 2023 standard has increased the limit.

6.3.2.1 Free form line length
...
A line shall contain at most ten thousand characters.

--
steve

Re: Implicit Semicolons And Statement-Continuation Rules

<upuou3$14t3v$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3862&group=comp.lang.fortran#3862

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: garylscott@sbcglobal.net (Gary Scott)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Tue, 6 Feb 2024 20:12:19 -0600
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <upuou3$14t3v$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uptofe$vjmf$1@dont-email.me>
<upu2u0$11f6i$1@dont-email.me> <upu8l0$12goh$1@dont-email.me>
<upuk1p$14847$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 02:12:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e4ac4b9cb4a70aef9b0912e5cd93c7ea";
logging-data="1209471"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ih7qxBkHcwWXe8kmQaUd5DHsLFi+kaFs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Ga3aXNgyvh9YW2eG36gSSBRLKgw=
In-Reply-To: <upuk1p$14847$1@dont-email.me>
Content-Language: en-US
 by: Gary Scott - Wed, 7 Feb 2024 02:12 UTC

On 2/6/2024 6:48 PM, Steven G. Kargl wrote:
> On Tue, 06 Feb 2024 15:34:25 -0600, Gary Scott wrote:
>
>> On 2/6/2024 1:56 PM, Lawrence D'Oliveiro wrote:
>>> On Tue, 6 Feb 2024 10:58:20 -0600, Gary Scott wrote:
>>>
>>>> So I'd probably use longer lengths than below ...
>>>
>>> In the only one of the three languages that imposes line-length limits?
>>>
>>> Now *that’s* living dangerously ...
>> Not really, its a quite long limit. And a warning at compile time is
>> issued if by some weird chance I hit the limit in the standard (132)
>> (and most compilers have a much longer limit still (Intel 2048)).
>
> The Fortran 2023 standard has increased the limit.
>
> 6.3.2.1 Free form line length
> ...
> A line shall contain at most ten thousand characters.
>
I was thinking that, but didn't find it in a quick search. Not sure
what compilers support it yet though.

Re: Implicit Semicolons And Statement-Continuation Rules

<23-tyAxnI7hQCuQRVc33DhXgyrQ@jntp>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3863&group=comp.lang.fortran#3863

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!from-devjntp
Message-ID: <23-tyAxnI7hQCuQRVc33DhXgyrQ@jntp>
JNTP-Route: news2.nemoweb.net
JNTP-DataType: Article
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
References: <ups7ja$i2ic$2@dont-email.me> <uptvjk$3nq0b$1@newsreader4.netcologne.de>
Newsgroups: comp.lang.fortran
JNTP-HashClient: G4Hlm6cK-rsoHb8E3iX5qUwQsq8
JNTP-ThreadID: ups7ja$i2ic$2@dont-email.me
JNTP-Uri: http://news2.nemoweb.net/?DataID=23-tyAxnI7hQCuQRVc33DhXgyrQ@jntp
User-Agent: Nemo/0.999a
JNTP-OriginServer: news2.nemoweb.net
Date: Wed, 07 Feb 24 13:28:56 +0000
Organization: Nemoweb
JNTP-Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Injection-Info: news2.nemoweb.net; posting-host="ee0ad3af73544310b052a6820e16a4efdc5d53f6"; logging-data="2024-02-07T13:28:56Z/8696833"; posting-account="44@news2.nemoweb.net"; mail-complaints-to="newsmaster@news2.nemoweb.net"
JNTP-ProtocolVersion: 0.21.1
JNTP-Server: PhpNemoServer/0.94.5
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-JNTP-JsonNewsGateway: 0.96
From: pehache.7@gmail.com (pehache)
 by: pehache - Wed, 7 Feb 2024 13:28 UTC

Le 06/02/2024 à 20:00, Thomas Koenig a écrit :
>
> And the chances of the committee changing that now, 33 years after
> free-form Fortran came out, infinitesimal.

The committee is very reluctant with backward incompatible changes, but
this one would be backward compatible.

Re: Implicit Semicolons And Statement-Continuation Rules

<v5fLK1oQa61yGqiIOmmzw0T8f0I@jntp>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3864&group=comp.lang.fortran#3864

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!from-devjntp
Message-ID: <v5fLK1oQa61yGqiIOmmzw0T8f0I@jntp>
JNTP-Route: news2.nemoweb.net
JNTP-DataType: Article
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
References: <ups7ja$i2ic$2@dont-email.me>
Newsgroups: comp.lang.fortran
JNTP-HashClient: hxfVow35iJJov4qMN86IeazXBOo
JNTP-ThreadID: ups7ja$i2ic$2@dont-email.me
JNTP-Uri: http://news2.nemoweb.net/?DataID=v5fLK1oQa61yGqiIOmmzw0T8f0I@jntp
User-Agent: Nemo/0.999a
JNTP-OriginServer: news2.nemoweb.net
Date: Wed, 07 Feb 24 14:56:20 +0000
Organization: Nemoweb
JNTP-Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Injection-Info: news2.nemoweb.net; posting-host="ee0ad3af73544310b052a6820e16a4efdc5d53f6"; logging-data="2024-02-07T14:56:20Z/8697012"; posting-account="44@news2.nemoweb.net"; mail-complaints-to="newsmaster@news2.nemoweb.net"
JNTP-ProtocolVersion: 0.21.1
JNTP-Server: PhpNemoServer/0.94.5
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-JNTP-JsonNewsGateway: 0.96
From: pehache.7@gmail.com (pehache)
 by: pehache - Wed, 7 Feb 2024 14:56 UTC

Le 06/02/2024 à 04:04, Lawrence D'Oliveiro a écrit :

> Python has I think the most straightforward rule: you need to end a
> line with “\” to do explicit continuation, but continuation can be
> implicit if there is an unpaired opening parenthesis, bracket or
> brace. So complex expressions can be written with minimal clutter:
>
> section_verts = \
> [
> start + vec(0, - rail_width / 2, 0),
> start + vec(0, rail_width / 2, 0),
> start + vec(0, - rail_width / 2, rail_thickness * slope_adjust),
> start + vec(0, rail_width / 2, rail_thickness * slope_adjust),
> ]
>
> Free-form Fortran, on the other hand, requires an explicit “&” to
> continue a line in all cases:
>
> character(len = 9), dimension(3, 4), parameter :: month_names = &
> reshape &
> ( &
> (/ ' January ', ' February', ' March ', ' April ', &
> ' May ', ' June ', ' July ', ' August ', &
> 'September', ' October ', ' November', ' December' /), &
> (/3, 4/) &
> )
>
> Wouldn’t it be useful if it had a smarter, Python-style rule?

This topic has been discussed here:
https://github.com/j3-fortran/fortran_proposals/issues/130

It converged to something similar to the Python way. You can "vote" in the
discussion to support the suggestion.

Re: Implicit Semicolons And Statement-Continuation Rules

<uq5e21$2lvs9$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3865&group=comp.lang.fortran#3865

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Fri, 9 Feb 2024 15:49:37 +0100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <uq5e21$2lvs9$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 9 Feb 2024 14:49:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="577a8f3aa85e956135364894c0298a19";
logging-data="2817929"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1anQ/n8VjVhW+UOsSeKyLqWPDwYLeBaM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8TQv6sJDLyMFl6TqWWkxuA5EcMY=
In-Reply-To: <ups7ja$i2ic$2@dont-email.me>
Content-Language: en-US
 by: db - Fri, 9 Feb 2024 14:49 UTC

On 06.02.2024 04.04, Lawrence D'Oliveiro wrote:
> Fortran (in free-form mode) is now the third language I’ve come across
> that allows semicolons to terminate statements, but makes them
> optional (letting a newline do the job instead).
[...]

Pascal and Algol demand semicolons at the end of statements.
--
Dieter Britz

Re: Implicit Semicolons And Statement-Continuation Rules

<uq65as$2psod$10@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3866&group=comp.lang.fortran#3866

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Fri, 9 Feb 2024 21:26:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uq65as$2psod$10@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 9 Feb 2024 21:26:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6b81b1b5b0886ece37827f7a23070dda";
logging-data="2945805"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Y1gwfOvPWKcn6eIgYEyPW"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:Yt4/ifK0xqpOrX/QyurZh00unCg=
 by: Lawrence D'Oliv - Fri, 9 Feb 2024 21:26 UTC

On Fri, 9 Feb 2024 15:49:37 +0100, db wrote:

> Pascal and Algol demand semicolons at the end of statements.

No they don’t. In those languages, semicolons are statement separators,
not statement terminators.

Pascal requires them at the end of declarations, of everything except the
main program, which ends with a full stop.

Re: Implicit Semicolons And Statement-Continuation Rules

<uq6ot1$30sfb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3867&group=comp.lang.fortran#3867

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: garylscott@sbcglobal.net (Gary Scott)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Fri, 9 Feb 2024 21:00:48 -0600
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uq6ot1$30sfb$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 03:00:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97012ab5f36a0bf54ec4e01696544ec7";
logging-data="3174891"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9zEoBvmEqY1Vzn8a4yhjLD+G1hx43q+I="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ewKiT+BFGu5g6CWPtvs+WJiMhT8=
In-Reply-To: <uq65as$2psod$10@dont-email.me>
Content-Language: en-US
 by: Gary Scott - Sat, 10 Feb 2024 03:00 UTC

On 2/9/2024 3:26 PM, Lawrence D'Oliveiro wrote:
> On Fri, 9 Feb 2024 15:49:37 +0100, db wrote:
>
>> Pascal and Algol demand semicolons at the end of statements.
>
> No they don’t. In those languages, semicolons are statement separators,
> not statement terminators.
>
> Pascal requires them at the end of declarations, of everything except the
> main program, which ends with a full stop.
They're also statement separators in Fortran.

Re: Implicit Semicolons And Statement-Continuation Rules

<uq6vcp$31nip$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3868&group=comp.lang.fortran#3868

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sat, 10 Feb 2024 04:51:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uq6vcp$31nip$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 04:51:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cb0aecca639ac885e888a888c6c2d7ce";
logging-data="3202649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KsyLYdkV3DfYglRjJUH6H"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:LWfzUYw/1SzsNdvSXIJeWi1UsB8=
 by: Lawrence D'Oliv - Sat, 10 Feb 2024 04:51 UTC

On Fri, 9 Feb 2024 21:00:48 -0600, Gary Scott wrote:

> They're also statement separators in Fortran.

Section 6.3.2.5 of the Fortran 2018 spec, second paragraph:

A statement may alternatively be terminated by a “;” character
that appears other than in a character context or in a comment.
The “;” is not part of the statement. After a “;” terminator,
another statement may appear on the same line, or begin on that
line and be continued. A sequence consisting only of zero or more
blanks and one or more “;” terminators, in any order, is
equivalent to a single “;” terminator.

Note it says “terminator”, not “separator”.

Re: Implicit Semicolons And Statement-Continuation Rules

<uq80h0$36sp2$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3869&group=comp.lang.fortran#3869

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: garylscott@sbcglobal.net (Gary Scott)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sat, 10 Feb 2024 08:17:04 -0600
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uq80h0$36sp2$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 14:17:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="397902d479d044ad326c2f3dd005a9b3";
logging-data="3371810"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MKvMF2oSYJpZNMOhR5Zgh8Ix2xCAl3Ls="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IZPIZzUJh30MKtzVdoR/0NVTYto=
In-Reply-To: <uq6vcp$31nip$1@dont-email.me>
Content-Language: en-US
 by: Gary Scott - Sat, 10 Feb 2024 14:17 UTC

On 2/9/2024 10:51 PM, Lawrence D'Oliveiro wrote:
> On Fri, 9 Feb 2024 21:00:48 -0600, Gary Scott wrote:
>
>> They're also statement separators in Fortran.
>
> Section 6.3.2.5 of the Fortran 2018 spec, second paragraph:
>
> A statement may alternatively be terminated by a “;” character
> that appears other than in a character context or in a comment.
> The “;” is not part of the statement. After a “;” terminator,
> another statement may appear on the same line, or begin on that
> line and be continued. A sequence consisting only of zero or more
> blanks and one or more “;” terminators, in any order, is
> equivalent to a single “;” terminator.
>
> Note it says “terminator”, not “separator”.
It terminates the statement, not the line. It is common to place
multiple statements on one line with ; as the separator between the
multiple terminated statements on one line.

Re: Implicit Semicolons And Statement-Continuation Rules

<uq8pc5$3padl$8@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3870&group=comp.lang.fortran#3870

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sat, 10 Feb 2024 21:21:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <uq8pc5$3padl$8@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me> <uq80h0$36sp2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 21:21:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cb0aecca639ac885e888a888c6c2d7ce";
logging-data="3975605"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TL96ZNsMTAxLK8HisyO2P"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:jlPUaWk5FzCF9i9jdVmIz1NmewQ=
 by: Lawrence D'Oliv - Sat, 10 Feb 2024 21:21 UTC

On Sat, 10 Feb 2024 08:17:04 -0600, Gary Scott wrote:

> On 2/9/2024 10:51 PM, Lawrence D'Oliveiro wrote:
>
>> On Fri, 9 Feb 2024 21:00:48 -0600, Gary Scott wrote:
>>
>>> They're also statement separators in Fortran.
>>
>> Section 6.3.2.5 of the Fortran 2018 spec, second paragraph:
>>
>> A statement may alternatively be terminated by a “;” character
>> that appears other than in a character context or in a comment.
>> The “;” is not part of the statement. After a “;” terminator,
>> another statement may appear on the same line, or begin on that
>> line and be continued. A sequence consisting only of zero or more
>> blanks and one or more “;” terminators, in any order, is
>> equivalent to a single “;” terminator.
>>
>> Note it says “terminator”, not “separator”.
>
> It terminates the statement ...

Well, you did say “separators” of statements, not “terminators”, did you
not?

Re: Implicit Semicolons And Statement-Continuation Rules

<uq918t$33pt$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3871&group=comp.lang.fortran#3871

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sat, 10 Feb 2024 23:35:57 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <uq918t$33pt$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me> <uq80h0$36sp2$1@dont-email.me>
<uq8pc5$3padl$8@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 23:35:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5408a7dbc4f906bf15f7996478d24cd9";
logging-data="102205"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182iXbp3sGqqWV58imyMszv"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:2XRsVgvzuhv3x2Ndgy2f62JMEkw=
 by: Steven G. Kargl - Sat, 10 Feb 2024 23:35 UTC

On Sat, 10 Feb 2024 21:21:09 +0000, Lawrence D'Oliveiro wrote:

> On Sat, 10 Feb 2024 08:17:04 -0600, Gary Scott wrote:
>
>> On 2/9/2024 10:51 PM, Lawrence D'Oliveiro wrote:
>>
>>> On Fri, 9 Feb 2024 21:00:48 -0600, Gary Scott wrote:
>>>
>>>> They're also statement separators in Fortran.
>>>
>>> Section 6.3.2.5 of the Fortran 2018 spec, second paragraph:
>>>
>>> A statement may alternatively be terminated by a “;” character
>>> that appears other than in a character context or in a comment.
>>> The “;” is not part of the statement. After a “;” terminator,
>>> another statement may appear on the same line, or begin on that
>>> line and be continued. A sequence consisting only of zero or more
>>> blanks and one or more “;” terminators, in any order, is
>>> equivalent to a single “;” terminator.
>>>
>>> Note it says “terminator”, not “separator”.
>>
>> It terminates the statement ...
>
> Well, you did say “separators” of statements, not “terminators”, did you
> not?

Well, the Fortran 2023 standard also contains

4.1.4 Syntax conventions and characteristics

Any syntactic class name ending in "-stmt" follows the source
form statement rules: it shall be delimited by end-of-line or
semicolon, ...

so, I suppose one could call it a delimiter. Who cares what its
called as long as one knows how to use it? Given the volume of
your posts in c.l.c and c.l.f, I doubt you care.

--
steve

Re: Implicit Semicolons And Statement-Continuation Rules

<uq94ci$3jhi$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3872&group=comp.lang.fortran#3872

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sun, 11 Feb 2024 00:29:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <uq94ci$3jhi$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me> <uq80h0$36sp2$1@dont-email.me>
<uq8pc5$3padl$8@dont-email.me> <uq918t$33pt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 11 Feb 2024 00:29:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="51a39637e14177b0a3992ebbf9b4a091";
logging-data="118322"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aiN9p5nJhZAY36Zk00rYm"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:dUHWpGwlSxYZMxgY4h46KRd++k0=
 by: Lawrence D'Oliv - Sun, 11 Feb 2024 00:29 UTC

On Sat, 10 Feb 2024 23:35:57 -0000 (UTC), Steven G. Kargl wrote:

>On Sat, 10 Feb 2024 04:51:38 -0000 (UTC), Lawrence D'Oliveiro wrote:
>
>> On Fri, 9 Feb 2024 21:00:48 -0600, Gary Scott wrote:
>>
>>> They're also statement separators in Fortran.
>>
>> Section 6.3.2.5 of the Fortran 2018 spec, second paragraph:
>>
>> A statement may alternatively be terminated by a “;” character that
>> appears other than in a character context or in a comment.
>> The “;” is not part of the statement. After a “;” terminator,
>> another statement may appear on the same line, or begin on that
line
>> and be continued. A sequence consisting only of zero or more blanks
>> and one or more “;” terminators, in any order, is equivalent to a
>> single “;” terminator.
>>
>> Note it says “terminator”, not “separator”.
>
> Well, the Fortran 2023 standard also contains
>
> 4.1.4 Syntax conventions and characteristics
>
> Any syntactic class name ending in "-stmt" follows the source form
> statement rules: it shall be delimited by end-of-line or semicolon,
> ...
>
> so, I suppose one could call it a delimiter.

Given that a “delimiter” could be either a “terminator” or a
“separator”, that doesn’t seem very helpful.

Re: Implicit Semicolons And Statement-Continuation Rules

<uq980n$43il$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3873&group=comp.lang.fortran#3873

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: garylscott@sbcglobal.net (Gary Scott)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sat, 10 Feb 2024 19:31:02 -0600
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <uq980n$43il$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me> <uq80h0$36sp2$1@dont-email.me>
<uq8pc5$3padl$8@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 11 Feb 2024 01:31:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81e98a9e80eef121cbd67f461d4c4967";
logging-data="134741"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hAhmDdPsYHjBVxS+UmSBjONljGXDog9g="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:3emjpjqz6HLXi7q4k1XCxKjsb/4=
In-Reply-To: <uq8pc5$3padl$8@dont-email.me>
Content-Language: en-US
 by: Gary Scott - Sun, 11 Feb 2024 01:31 UTC

On 2/10/2024 3:21 PM, Lawrence D'Oliveiro wrote:
> On Sat, 10 Feb 2024 08:17:04 -0600, Gary Scott wrote:
>
>> On 2/9/2024 10:51 PM, Lawrence D'Oliveiro wrote:
>>
>>> On Fri, 9 Feb 2024 21:00:48 -0600, Gary Scott wrote:
>>>
>>>> They're also statement separators in Fortran.
>>>
>>> Section 6.3.2.5 of the Fortran 2018 spec, second paragraph:
>>>
>>> A statement may alternatively be terminated by a “;” character
>>> that appears other than in a character context or in a comment.
>>> The “;” is not part of the statement. After a “;” terminator,
>>> another statement may appear on the same line, or begin on that
>>> line and be continued. A sequence consisting only of zero or more
>>> blanks and one or more “;” terminators, in any order, is
>>> equivalent to a single “;” terminator.
>>>
>>> Note it says “terminator”, not “separator”.
>>
>> It terminates the statement ...
>
> Well, you did say “separators” of statements, not “terminators”, did you
> not?
Yes, it does serve that purpose. It is proper use of english. The
clarification is that it does not terminate the line. Some of the
discussion appeared to have potentially confused termination of a
statement from termination of a line. When multiple statements occur on
the same line, the term statement "separator" is completely appropriate
and correct. That is the purpose it serves conceptually.

Re: Implicit Semicolons And Statement-Continuation Rules

<uq98nn$40n1$7@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3874&group=comp.lang.fortran#3874

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sun, 11 Feb 2024 01:43:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <uq98nn$40n1$7@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me> <uq80h0$36sp2$1@dont-email.me>
<uq8pc5$3padl$8@dont-email.me> <uq980n$43il$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 11 Feb 2024 01:43:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="51a39637e14177b0a3992ebbf9b4a091";
logging-data="131809"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gYP0WMRpjtT6U3HK7lhj2"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:PUCH7HqIAT2tsEHIUHlLvqPOIaM=
 by: Lawrence D'Oliv - Sun, 11 Feb 2024 01:43 UTC

On Sat, 10 Feb 2024 19:31:02 -0600, Gary Scott wrote:

> Some of the discussion appeared to have potentially confused termination
> of a statement from termination of a line.

Really? Where? (Hint: look at the subject line.)

Re: Implicit Semicolons And Statement-Continuation Rules

<uq99vl$4cea$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3875&group=comp.lang.fortran#3875

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: garylscott@sbcglobal.net (Gary Scott)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sat, 10 Feb 2024 20:04:36 -0600
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <uq99vl$4cea$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me> <uq80h0$36sp2$1@dont-email.me>
<uq8pc5$3padl$8@dont-email.me> <uq980n$43il$1@dont-email.me>
<uq98nn$40n1$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 11 Feb 2024 02:04:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81e98a9e80eef121cbd67f461d4c4967";
logging-data="143818"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RdKj9XMehwftgdnhx3vixfv2k4x9fadA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:jPlZiZ0sdXFeRrb4f/hQmR/AZYs=
Content-Language: en-US
In-Reply-To: <uq98nn$40n1$7@dont-email.me>
 by: Gary Scott - Sun, 11 Feb 2024 02:04 UTC

On 2/10/2024 7:43 PM, Lawrence D'Oliveiro wrote:
> On Sat, 10 Feb 2024 19:31:02 -0600, Gary Scott wrote:
>
>> Some of the discussion appeared to have potentially confused termination
>> of a statement from termination of a line.
>
> Really? Where? (Hint: look at the subject line.)
Exactly

Re: Implicit Semicolons And Statement-Continuation Rules

<uq9m6n$gha8$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3876&group=comp.lang.fortran#3876

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: Implicit Semicolons And Statement-Continuation Rules
Date: Sun, 11 Feb 2024 05:33:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <uq9m6n$gha8$1@dont-email.me>
References: <ups7ja$i2ic$2@dont-email.me> <uq5e21$2lvs9$1@dont-email.me>
<uq65as$2psod$10@dont-email.me> <uq6ot1$30sfb$1@dont-email.me>
<uq6vcp$31nip$1@dont-email.me> <uq80h0$36sp2$1@dont-email.me>
<uq8pc5$3padl$8@dont-email.me> <uq980n$43il$1@dont-email.me>
<uq98nn$40n1$7@dont-email.me> <uq99vl$4cea$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 11 Feb 2024 05:33:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="51a39637e14177b0a3992ebbf9b4a091";
logging-data="542024"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bzrfshxYWmeqjtmG6I1Rc"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:6utWRQqFwLH1dk6hTjkFc3MCNLo=
 by: Lawrence D'Oliv - Sun, 11 Feb 2024 05:33 UTC

On Sat, 10 Feb 2024 20:04:36 -0600, Gary Scott wrote:

> On 2/10/2024 7:43 PM, Lawrence D'Oliveiro wrote:
>
>> On Sat, 10 Feb 2024 19:31:02 -0600, Gary Scott wrote:
>>
>>> Some of the discussion appeared to have potentially confused
>>> termination of a statement from termination of a line.
>>
>> Really? Where? (Hint: look at the subject line.)
>
> Exactly

Who introduced this “confusion” into the discussion?

Not me.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor