[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Forth thread https://www.youtube.com/watch?v=6g4 dkBF5anU [E

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 2

Forth thread
https://www.youtube.com/watch?v=6g4dkBF5anU [Embed] [Embed]
Official forth waifu: Rei Ayanami

https://www.forth.com/starting-forth/
https://repl.it/languages/forth
>This shit is easy as fuck to learn
>This shit is fast as fuck
>This shit can run on any computer, even old computers from the 1980's. You can get it down to less than a kilobyte.
This is some zen monk shit I pulled from the mountains,
Google is your friend
https://kiwiirc.com/client/irc.freenode.net/?nick=newuser%7C?#forth
>>
>1 2 + 3 *
>9
>operators at the end of the expression
why
>>
>>56666451
It makes it easy to read.

1 2 + 3 =
3 3

I think what you were trying to do was a something longer and more apparently weird looking like

1 3 + 3 - 4 4 + -

again we go left to right
1 3 + 3 - 4 4 + - =
4 3 - 4 4 + - =
1 4 4 + - =
1 8 - =
-7

It is a weird rule to learn but when you get the hang of it you can do math really quickly.
>>
>>56666561
i give up with this
>>
>>56666625
Let me break it down forther

1 3 + 3 - 4 4 + 3 =
we read the leftmost symbol. That's a 1
We read the next symbol. That's a 3
We read the next symbol, that's a +
+ takes two things from the left and adds them
1 3 + =
4
Now we edit the above equation to fit the new value.
4 3 - 4 4 + - =
We read the symbol on the left. That's a 4.
We read the next symbol. That's a 3.
Next is -.
Minus takes two items from the left and subtracts one from the other.

4 3 - =
1

Now we edit the above equation to fit our new value

1 4 4 + -

This is a little tricky thing.

+ only takes two thingies not three. So in this case it just takes the last 2 which are 4 and 4.

4 4 + =
8
1 8 -=
-7

It is weird to get used to but once you learn this syntactic rule basically you know 50% of the language's syntax
>>
>>56666726

Haha, I get the joke now, thanks for explaining it
>>
File: post-434-1303099143.png (202KB, 720x540px) Image search: [Google]
post-434-1303099143.png
202KB, 720x540px
>>56666802
let me break it down forther...
>forther
>FORTHER
>FORTHER!!!!!!!!!!!!!!!!!!!!!!!!
>>
>>56666373
> Official forth waifu: Rei Ayanami
It means she'll fuck up the world on the Apocalypse day?
>>
>>56666561
You understand this is literally autism right?
You literally dont have the right to resyntax math.
>>
this is supposed to be a bridge to learn assembly?
Thread posts: 10
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.