.4TH 文件扩展名
Forth Language File
| 开发者 | 不适用 |
| 受欢迎程度 |
2.8 | 9 票 |
什么是 4TH 文件?
Language file created for Forth programming language, which is supported by several different text editors that enable features such as syntax highlighting; contains Forth programming code similar to how .C files contain C or C++ source code; same format as the .FORTH file.
更多信息
Forth language's format is based on data stack and RPN (Revers Polish Notation). A simple example of its format:
12 10 * 40 + .
160 ok
This format equals to 12 multiplied by 10 plus 40, with "." printing the result of the mathematical equation to the user terminal.
注: To create a 4TH file simply rename the extension of your plain text file that contains the Forth source code.