Live data from Hacker News

Forth

xkcd.com

21–30 of 56 posts

Re: Forth

#21

Prediction: someone will make a reverse polish notation skill for interacting with claude claiming all sorts of things, like caveman, turn into another markdown as a service company, and make the news.

I present to you, the return-stack skill:

https://github.com/SimHacker/moollm/tree/main/skills/return-...

See Self's "dynamic deoptimization", where it constructs a virtual return stack on demand that you would have had, were it not for the JIT compiler's agressive inlining.

Debugging Optimized Code with Dynamic Deoptimization, by Urs Hölzle, Craig Chambers, and David Ungar:

https://bibliography.selflanguage.org/_static/dynamic-deopti...

And a return-stack rotated 180 degrees around in time is an action-queue:

https://github.com/SimHacker/moollm/tree/main/skills/action-...

From games like The Sims:

https://sims.fandom.com/wiki/Action_queue

Also the ever popular advertisement skill, more like comefrom than goto:

https://github.com/SimHacker/moollm/tree/main/skills/adverti...

Also from The Sims:

https://simstek.fandom.com/wiki/SimAntics

The Sims, Pie Menus, Edith Editing, and SimAntics Visual Programming Demo:

https://www.youtube.com/watch?v=-exdu4ETscs

Re: Forth

#22

Prediction: someone will make a reverse polish notation skill for interacting with claude claiming all sorts of things, like caveman, turn into another markdown as a service company, and make the news.

I present to you, the return-stack skill: https://github.com/SimHacker/moollm/tree/main/skills/return-... See Self's "dynamic deoptimization", where it constructs a virtual return stack on demand that you would have had, were it not for the JIT compiler's agressive inlining. Debugging Optimized Code with Dynamic Deoptimization, by Urs Hölzle, Craig Chambers, and David Ungar: https://bibliography.selflanguage.org/_sta…

Amazing

Re: Forth

#23
post #8

Earlier quoted context omitted.

A different way to say the same: in forth, words get pushed on the stack, and popped from the stack by words that take arguments: code stack I Forth love Forth love I love I Forth ; love presumably pops ; subject, object args ; from stack - and does something ; perhaps prints as side effect

Is that loss?

well played

Re: Forth

#24
is it me or is forth coming up a lot lately? or am i just having a plate-o-shrimp situation?

Re: Forth

#25
post #15

I first thought this was some spin on May the fourth be with you. As in how Yoda might say it.

I doubt yoda speak is actually strict enough, but I do enjoy the idea that Yoda comes from a reverse Polish civilization.

Re: Forth

#27
post #8

Earlier quoted context omitted.

A different way to say the same: in forth, words get pushed on the stack, and popped from the stack by words that take arguments: code stack I Forth love Forth love I love I Forth ; love presumably pops ; subject, object args ; from stack - and does something ; perhaps prints as side effect

Is that loss?

No.
Post reply on HN