Skip to content

Syntax highlight the code in the standard document #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jacobwilliams opened this issue Oct 27, 2019 · 3 comments
Open

Syntax highlight the code in the standard document #54

jacobwilliams opened this issue Oct 27, 2019 · 3 comments

Comments

@jacobwilliams
Copy link

The source code in the standards document should be syntax highlighted. Also lowercase. The listings that are in there look like they are from another age.

It's very easy to do in LaTeX (e.g., the listings package).

See also: #48

@certik
Copy link
Member

certik commented Oct 27, 2019

Yes! I created another issue #56 for the lowercase thing.

I am so glad we created this repository. All these things that I noticed about Fortran at some point in the past, and then forgot. Now we can create issues for them so that we do not forget, and eventually we can fix it.

@FortranFan
Copy link
Member

This will be useful.

More importantly though, it will be very valuable if the standards document provided more code snippets generally. And in the case of new features and facilities, it included source listings, preferably complete ones, say several compilable examples. Toward the latter, those on the committee will just need to work a bit harder to utilize their "mental processors" but I think such an effort will pay great dividends by leading to better descriptions of features in the standard. This will also help compiler implementations, particularly those developed in other languages such as C++ and whose developers don't have much background or need to use Fortran otherwise.

@certik
Copy link
Member

certik commented Oct 28, 2019

One could imagine going even a step further: #57.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants