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
GFortran? #549
Comments
Pretty easy. The main problem is building all the compilers, which currently I do manually using scripts in the sister project mattgodbolt/compiler-explorer-image. They currently don't build fortran, but I can add it, then update the nodes etc. Syntax colouring would need to be added too. That's fairly easy to do, but takes time. This might all work better after #277 is implemented. |
I'd love to see this implemented. I would probably be of more use updating mattgodbolt/compiler-explorer-image than I would implementing syntax highlighting... |
Amazingly I'm already building the fortran compilers (I forgot I enabled them already...)
so, this is a step closer than I thought! |
Great! Then there's probably not much for me to help with. Thanks!
…On Fri, Oct 6, 2017 at 12:11 PM Matt Godbolt ***@***.***> wrote:
Amazingly I'm already building the fortran compilers (I forgot I enabled
them already...)
***@***.***:~$ /opt/compiler-explorer/gcc-7.2.0/bin/gfortran --version
GNU Fortran (GCC-Explorer-Build) 7.2.0
so, this is a step closer than I thought!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#549 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAREPJJOq3NhhxRjPmdzff2NI8sxk5eMks5splEVgaJpZM4Pts6c>
.
|
@zbeekman Indeed, one can currently invoke the gfortran frontend by |
I'd forgotten about -x in this way :). It will still be great to build
Fortran into more of the compilers and to have it officially supported with
syntax highlighting etc too, so will leave this bug open.
…On Fri, 13 Oct 2017, 03:51 LadaF, ***@***.***> wrote:
@zbeekman <https://github.com/zbeekman> Indeed, one can currently invoke
the gfortran frontend by -x f95 for those GCC versions for which gfortran
is built. It is a nice feature.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#549 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAmsdcZezl5o-LOk6aNN3nuQIbmZM7AIks5srySNgaJpZM4Pts6c>
.
|
Since I was also interested in Fortran support for this amazing tool, I've started experimenting with it. Initial bits on syntax highlighting are added as well, but I don't yet understand how it's supposed to work. I am aware of missing parts here and would also love to see indenting, but it's a start. Not sure when I'll find the time to extend it further. If it reaches a more finished state I'll make a pull request (unless you feel a PR is worthwhile already). |
How involved is it to add a new compiler? It would be great to have GFortran added, many/most flags are shared with gcc.
The text was updated successfully, but these errors were encountered: