💾 Archived View for rawtext.club › ~sloum › nimf › index.gmi captured on 2024-03-21 at 17:02:21. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

 ____ ____ ____ ____ 
||n |||i |||m |||f ||
||__|||__|||__|||__||
|/__\|/__\|/__\|/__\|

nimf : a concatenative programming language*

nimf is an interpreted language written in golang. It bears no relationship to the language 'nim'. Nimf is an implementation of a concatenative language in a more or less forth** oriented style. It has been created mostly as a learning exercise, but is definitely usable for certain types of programming tasks as well as for educational purposes.

Hello, World

There are a number of ways one could write a hello world program in nimf, but the easiest would be to use the output capabilities of the text module and just print the string:

"text" inline

"hello, world" str.print-buf

Resources

the nimf guide

the nimf gemini playground

Getting nimf

nimf source code (web)

the nimf guide: download and build

If you are confident and don't need a guide:

git clone https://git.rawtext.club/sloum/nimf && cd nimf
sudo make install

The repo comes with a detailed readme that can walk you through just about anything you'd need, with the exception of the full api reference available here in the nimf guide.

________________________________________________

* Wikipedia: Concatenative Programming Language (web)

** Wikipedia: Forth (programming language) (web)