software engineer
From alex wennerberg to ~aw/misc
On Mon Dec 12, 2022 at 2:20 AM PST, wrote: > Hi, Alex! > > Sorry for the delay. No worries! Always appreciate your help. I'm still shaky on parts of forth, I went back to the compiler/interpreter chapters of "starting forth" after emailing you. > `word` + `number` is the way to do it, I would say. Since conversion > of a string to a number is a basic operation in the outer interpreter > and I didn't want to introduce two words for this, I settled on the > version taking a counted string.
From Alex Wennerberg to ~aw/misc
Hi Felix, I have a couple UF questions if you don't mind entertaining them. First, one difference I notice between UF and other forths is there is no >number that takes an uncounted string, only a counted string. I am wondering what the best way to, e.g, parse a number from input is. EG imagine my input is: foo 5 foo -1 and I want to define "foo" to take the number and do something with it. I have tried a few approaches:
From alex wennerberg to ~aw/flounder
Flounder has had a dark mode for a while, using the prefers-color-scheme css directive https://git.alexwennerberg.com/flounder/file/templates/static/style.css.html#l140 supporting this is a relatively new feature for a lot of browsers, so it may be simply that your browser recently added support! Alex On Wed Nov 30, 2022 at 4:09 AM PST, Andrew Singleton wrote: > I ask because i went to grab a link for friends (as I'd put a draft of > my current in progress lite novel on my flounder and noticed rather > than white background/black text it all looks more... lagrange-y. Far > more soothing on the eyes.
From Alex to ~aw/public-inbox
Thanks! I fixed the link :) Alex > On Nov 28, 2022, at 8:37 PM, Angel Alvarez <Angel.Alvarez@alva.systems> wrote: > > Hey, > > I noticed when I tried to get to this page from alex.flounder.online the href link for "public mailing list" is "vhttps://lists.sr.ht/~aw/public-inbox" with the "v" in front of https, thus making it not work correctly. > > I do this ALL the time too :p. > > - Angel Alvarez >
From Alex Wennerberg to ~aw/patches
Welcome to the new public inbox for any changes related to my projects
From Alex Wennerberg to ~aw/misc
include has been working great so far! I had a few questions about dmath.f 1. It looks like the link to http://excamera.com/files/j1demo/docforth/nuc.fs.html is broken 2. I'm having trouble getting m*/ to get the result that I want. I want to multiply a double by a 16-bit number but I'm not getting the result I expect. The double is 991459 and the 16-bit number is 1980. 8419 15 1980 1 m*/ d. yields me 1073714682, when I expect 1963088820. 1963088820 shouldn't overflow a signed 32 bit number, so I'm wondering why I'm having this issue? I may be misunderstanding m*/
From Alex to ~aw/misc
Thanks, I’ll give it a shot! Alex > On Sep 28, 2022, at 4:50 AM, felix.winkelmann@bevuta.com wrote: > > >> >> Hi Felix -- I created a simple public thread just to share this q+a in >> case others had similar questions. >> >> Have you thought about adding an 'include' function to uf.f? I have seen >> some forth functions add it and was wondering on your thoughts (like I >> said, I'm still relatively new to forth)
From Alex Wennerberg to ~aw/misc
Hi Felix -- I created a simple public thread just to share this q+a in case others had similar questions. Have you thought about adding an 'include' function to uf.f? I have seen some forth functions add it and was wondering on your thoughts (like I said, I'm still relatively new to forth) Alex
From Alex Wennerberg to ~aw/misc
Thread for me to document discussion of the UF project! http://www.call-with-current-continuation.org/uf/uf.html