Change some thigns

This commit is contained in:
Rasmus Rasmussen 2025-02-06 11:40:09 +01:00
parent dffd12022e
commit 3f01998e3b
2 changed files with 11 additions and 13 deletions

View File

@ -5,11 +5,11 @@
<div class="flex flex-col min-h-screen bg-var_background">
<header class="flex justify-center">
<nav class="pt-10 text-2xl flex place-items-center">
<RouterLink class="mx-3" to="/">Home</RouterLink> |
<RouterLink class="mx-3" to="/About">About</RouterLink> |
<RouterLink class="mx-3" to="/Fortran">Fortran</RouterLink> |
<RouterLink class="mx-3" to="/Pascal">Pascal</RouterLink> |
<RouterLink class="mx-3" to="/Lisp">Lisp</RouterLink>
<RouterLink class="mx-1" to="/">Home</RouterLink> |
<RouterLink class="mx-1" to="/About">About</RouterLink> |
<RouterLink class="mx-1" to="/Fortran">Fortran</RouterLink> |
<RouterLink class="mx-1" to="/Pascal">Pascal</RouterLink> |
<RouterLink class="mx-1" to="/Lisp">Lisp</RouterLink>
</nav>
</header>

View File

@ -6,7 +6,6 @@
<div>
<h1 class="text-3xl">Setting Up The Environment</h1>
<hr>
<br>
<p>If you're familiar with C, then you would feel right at home with Fortran's build environment. There isn't really
an "official" compiler for the language, only a standard, that has to be implemented by the compilers. But there
@ -20,14 +19,14 @@
<p>Compilers:</p>
<ul>
<li><a class="underline" href="https://lfortran.org/">lfortran</a> (This one can be used as an interactive
compiler, and also supports parsing all of the 2018 standard syntax. It can also compile Fortran to WebAssemply).</li>
<li><a class="underline" href="https://developer.nvidia.com/hpc-sdk">NVIDIA HPC SDK</a> (This one comes with a whole lot of GPU
<li>&gt; <a class="underline" href="https://lfortran.org/">lfortran</a> (This one can be used as an interactive
compiler, supports parsing all of the 2018 standard syntax and also compile Fortran to WebAssemply).</li>
<li>&gt; <a class="underline" href="https://developer.nvidia.com/hpc-sdk">NVIDIA HPC SDK</a> (This one comes with a whole lot of GPU
accelerated libraries).</li>
</ul>
<br>
<p>But , we will use gfortran. I will mainly be focusing on installing and developing on Linux.</p>
<p>But we will be using gfortran. Through the examples on this site, I will mainly be focusing on developing on Linux.</p>
<br>
<p>First, we install the compiler.</p>
@ -48,7 +47,6 @@
<h1 class="text-3xl">Project Structure</h1>
<hr>
<br>
<p>When creating a Fortran project, or any project in general, you want a structure. There is a lot of different
layouts for the structure, but equal amongst them, is the <code>src</code> folder. That's where we keep all of out
@ -62,7 +60,7 @@
<br>
<p>But if we're doing micro-projects, as in like, a hello world application, a test application, or a small tool,
this layout is rather redundant, and on the examples on the website here, we will only use it on bigger projects,
this layout is rather redundant, and in the examples on this site, we will only use it on bigger projects,
and we will let you know, when or how we set up the project.</p>
<br>
@ -90,6 +88,6 @@ project/
</ul>
<br>
<p>Makefiles are very useful, and becomes increasingly useful, the bigger the project is.</p>
<p>Makefiles are very useful, and becomes increasingly useful, the bigger the project gets.</p> <!-- TODO: Continue from here. Show example. -->
</div>
</template>