Sign inSign up

100hellos/forth

By 100hellos

•Updated 4 months ago

"Hello World!" Written in forth

Image
0

4.5K

100hellos/forth repository overview

⁠Hello World! From forth.

Language page⁠ — context, influences, and learning notes on the 100hellos site.

Source on GitHub⁠ (100hellos/forth)

⁠Trying it

docker run --rm --platform="linux/amd64" 100hellos/forth:latest

⁠Modifying it

Read the repo README⁠, or fork the project⁠ and customize it.

For an interactive shell:

docker run --rm --platform="linux/amd64" --entrypoint="" -it 100hellos/forth:latest zsh

⁠Forth

Forth is a stack-based, procedural programming language that finds heavy use in a variety of applications including various embedded systems (Open Firmware⁠, for example, makes extensive use of Forth). From Wikipedia⁠:

Forth typically combines a compiler with an integrated command shell,[a] where the user interacts via subroutines called words. Words can be defined, tested, redefined, and debugged without recompiling or restarting the whole program. All syntactic elements, including variables, operators, and control flow, are defined as words. A stack is used to pass parameters between words, leading to a Reverse Polish Notation style.

This container builds out version 0.7.3 of Gforth⁠, an actively maintained implementation of the ANS Forth standard.

Tag summary

Content type

Image

Digest

sha256:3b9261fe5…

Size

86.3 MB

Last updated

4 months ago

docker pull 100hellos/forth