Functions are stupid. Words are where it's at. : square ( a -- b ) dup * ;
Aiden Young
what a beautiful square function. if only your commenting wasn't for shit
Ryan Perry
: square ( n -- n*n ) dup * ;
Hudson Sanchez
I don't understand why other forthers can't just write a comment that is actually a sentence explaining what something does and why it is doing it
Dominic Butler
A comment explaining the purpose goes above the definition. The spot after the name is for stack effect comments.
Nolan Williams
potential in using this to manipulate and/or produce video in real time? how would one even go about that?
Gabriel Carter
How do I output a number so that it's represented with four bytes?
Liam Ortiz
I want to write a number to a file, but it needs to take up four bytes.
Ethan Brown
...
Zachary Edwards
Should I learn this if the only reason I am interested is Rei?
Leo Price
no
Connor Wood
In short, what are essential Forth commands? What is the bare minimum?
Jacob Robinson
invent your own commands man. the only limit is you
Austin Hill
Man, I have to have some basis to build my commands upon.
Andrew Campbell
How does one implement forth interpreter in forth?
Ryan Allen
Well, you write a program that parses the source and then executes the commands
>captcha: fourth york
Matthew Lee
Forth as a language looks great. But I wonder: 1. Is there some modern appliances of the Forth? What devices Forth empowers? 2. Is there OOP Forth? Or OOP Forth is useless?
Isaac Moore
Why can't people accept that not all languages need to be OOP or have an OOP version?
John King
But how muh abstraction, encapsulation, inheritance and polymorphism, how am I going to live without them?
I was under the impression that they've dumped openfirmware in favor of uefi.
Mason Hughes
probably....that article is dated 2003, so I guess its not in Macs anymore
Michael Allen
Not really, it doesn't type check or anything. It's supposed to document how many items on the stack are going to be removed and added and what is their type
Hunter Gomez
>implying you've ever worked with enterprise-scale software
Charles Johnson
They don't have to be perfect. They have to be good enough to make most money with least cost.
Samuel Wright
Fuck yeah Forth. And how about ColorForth and how about a sweet GreenArrays fucking 144-core CPU to run it on. Picoamperes.