Skip to content

Forth beginner - anyone here? #196

@qubit999

Description

@qubit999

I stumbled upon Forth last year around this time because someone told me to look into it. Unfortunately, I didn't look into it until today.

I hope it's okay if I ask a few questions here. I usually program Python, sometimes Rust and lately C/C++ (mainly Arduino SDK with PlatformIO extension, but I also tried Pico SDK) using microcontrollers like the RP2350 or ATmega328P. I am familiar with the concept of object-oriented programming languages.

But I would like to dive into Forth programming language. After reading 10-15 minutes about it I understood some basic concepts about the language and I started to read some Forth code on Wikipedia and even though this concept was new to me, I started to realize that this language might fit my "thinking".

As a beginner in Forth, what should I focus on? What should I learn? What are best practices? Until now I always used C++ libraries to read sensors or steer devices connected via i2c, spi or one-wire since those libraries are available out-of-the-box by the manufacturer/3rd-party (I usually read the code examples and know what to do with it). I think creating Forth hardware libraries is essential for me to learn. I don't know this concept, any advice what I should look into?

I would like to start with this: https://github.com/tabemann/zeptoforth/tree/master (because I have a few RP2350 and several modules)

Separate: Also, which compiler should I use for macOS? Gforth?

Thank you so much in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions