Search code examples
conventionsforth

What is the most common filename extension of a Forth source code file?


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?


Solution

  • I searched for various file extension on GitHub (plus "dup drop swap"), and this was the result:

    1. .fs 4783 hits
    2. .fth 1144
    3. .4th 509
    4. .f 398
    5. .fr 143
    6. .4 55
    7. .frt 46
    8. .scr 30
    9. .forth 20
    10. .ft 11
    11. .fb 4
    12. .blk 2
    13. .seq 1
    14. .ans 1
    15. .for 1
    16. .fo 0

    If nothing else, this shows there are many file extensions to chose from.