According to that article, "/*", "*/", "(." and ".)" are not digraphs :(

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Peter Sylvester <[email protected]>
Sent: Wednesday, July 10, 2024 10:09 AM
To: [email protected]
Subject: Re: C interface to MVS

On 10/07/2024 13:03, Bernd Oppolzer wrote:
> Hi,
>
> nice to hear, Peter ... how's the weather in Southern France?
As you know there is a "NICE" city nearby.  ;-)
>
> We wrote a C program to do the trigraph modification ... portable of course,
> so that it could run on the mainframe, after the upload of the source (which 
> was done by the
> ISPF workstation agent at that time) and just before the compile :-)

Some time ago, I read the wikipedia article

https://en.wikipedia.org/wiki/Digraphs_and_trigraphs_(programming)

(I mention it hear because of IBM's involvement in the C++ field..

When I learned and use PASCAL in the 80's, I think I immediately had 
"forgotten"  about  (.  .)
begin a digraph.

Someone might want to add a comment about  tokenization of (.1.)  vs (. 1 .)

Best

Peter



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to