19:14:53
##forth
<
isene>
Got a cold and fever today, so didn't have my head to do serious coding, so I decided to see how far I could get with Claude Code in building a Forth OS from scratch. In between playing Catan on my phone and testing the progress on my laptop, I got a Forth OS up and running with REPL and word definitions and such; https://isene.org/2025/11/SimplicityOS.html (I needed a new project to tinker with)
20:32:43
##forth
<vdupras>
I'm wondering where "5 zeros!" in simplicity.asm:444 came from. I'm guessing it comes from whatever Forth Claude piggy-backed on. By searching around for this string, maybe we'd reach a Forth that is very similar to yours. Or maybe it picked it from a non-forth program with this scancode-to-ascii conversion routine
20:33:15
##forth
<vdupras>
... or maybe it comes from nowhere. It's a pretty weird scancode conversion routine. why not a big table rather than all those jumps?
20:36:36
##forth
<vdupras>
it's also sad that your SWAP/ROT etc push/pop to stack rather than using XCGH. what a waste
20:37:08
##forth
<vdupras>
oh nevermind
20:37:18
##forth
<vdupras>
I read too fast
20:55:12
##forth
<vdupras>
I have to admit, it's amusing to read. I was puzzled by where the core dictionary was stored. Basic searches didn't help. Then I found ".try_swap" and its friends. Whoa. No human could come up with that. All in all, it's a pretty bad piece of code!