I have seen people save Forth source code files with the extensions .4th
, .fth
, .frt
and .f
. Which is the most common filename extension of Forth source code files?
Inspired by Lars Brinkhoff's answer, I ran some queries myself on GitHub to find out how the various extension names are used between various languages (not just Forth). For each extension in the list below, only the top 3 languages with the highest number of results are shown:
.fs
.fth
.f
.4th
.frt
.fr
.forth
.for
.ft
The results above were obtained on 13 May 2021 at 15:30 UTC.
Note: GitHub sometimes detects the wrong language for source code files. The above queries attempt to reduce the impact of such errors on the results above but they aren't perfect.
Conclusions:
.fs
but the extension .fs
is most often used for F#. In fact there are about twice as many F# source code files with this extension as there are for Forth..fth
..4th
, .frt
, and .forth
also do not appear to be used for any other language, however, these extensions are less popular than .fth
.I searched for various file extension on GitHub (plus "dup drop swap"), and this was the result:
If nothing else, this shows there are many file extensions to chose from.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With