Forth is the most hacker thing that there is.
It is literally like a tiny tiny little unix shell.
Here's how you make a forth.
>make a linked list
>make a push function
>make a pop function
>make a swap function
Congradulations you made a forth.
You can make a forth in like 50 lines of c with no libraries.
You can make a little forth shell to go on a tiny mcu computer the size of a peanut.
Forth is the most versatile. It is fully customizable down to the teeth and it can run absolutely anywhere, and with a little elbow grease you can port your forth code across systems.
Forth is one of the oldest unix utils and was hidden in the command gnu dc which is like 25 kilobytes.
Gforth itsself is like 500 kilobytes. A custom forth gets down to about 10 kilobytes.
Imagine me this why would the powers that be want forth to be a mainstream language? They don't because it is top elite secrets.
Forth is like the ultimate polish/russian hacks.
You can fit forth into micro code. Forth has the best attack vector because it fits into nothing. It maps onto all of the most micro attack surfaces.
Forth is king.
>>61148058
>>make a linked list
>>make a push function
>>make a pop function
>>make a swap function
That would be the most awful """forth""" in existence. Making a functional Forth is easy but not trivial. A Lisp is easier, and more powerful.
>>61148209
forth is way more powerful and yes that's all you need at all for a forth.
Basically if you want it to be a shell you just need to getline the input, chop off the first word, look it up in the dictionary, if its not in the dictionary try to make it a number, and if it's not a number throw an error, then loop again.
So simple.
A pea brain could do it
>>61148209
>A Lisp is easier, and more powerful.
Quasiquoting is a pain in the ass to implement
open your mind to the uber hacks gentleman
Any good examples/writeups on what you can do with it?
>>61149125
It's sort of like asking for examples of what you can do with busybox. Lots of general purpose stuff not one specific thing.
One definition of an operating system you can prescribe to is a general purpose portability machine. Linux for example allows you to port a large variety of applications to a large variety of machines. This is what it is optimized for.
Forth is not optimized for portability of such vast swaths of software. Forth is optimized for simplicity above else. It is a computer system that allows you to go from nothing to a shell-like environment in as few lines of code as possible.
Forth's reputation is for it's small size and for it's general speed. It is not as fast as direct c code and it is usually not compiled, yet it is generally fast because there is not a large layer of abstraction between the user and the machine.
Forth is often said to be an assembly-like language not just because it resembles assembly but because one can write a small forth directly in assembly if they so desire.
This is what makes it a "hacker" language. In it's self it is a hack. There is nothing to forth but a linked list and a dictionary. This is what makes forth so minimal, and the absolute minimalism is what makes it unique.
>in the underground basements
>forth
>on the tiniest most cutting edge chips
>forth
>in the most deceptive of viruses
>forth
>in the depths of ancient sources running the firmware that keeps your coffee frothing
>forth
>in the dark recesses of old files spitting out god knows what
>forth
>It's all around you
>hidden
>how can you detect a linked list in an ocean of datastructures
>you can't
>forth is everywhere
>forth hides
>forth waits
>what do you think a stack is, anon?
it's FORTH