💾 Archived View for rawtext.club › ~sloum › nimf captured on 2022-06-03 at 22:58:24. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-04)

➡️ Next capture (2023-03-20)

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

 ____ ____ ____ ____ 
||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)