2025-05-11 00:14:41 forthBot: EXIT 2025-05-11 00:26:12 easy to kill xentrac 2025-05-11 00:27:27 i just whant over to play with 2025-05-11 00:27:33 others 2025-05-11 00:30:55 sorry i am drunk 2025-05-11 00:35:46 it's good to have others play with it! 2025-05-11 00:35:55 sorry to hear you're drunk 2025-05-11 00:36:00 I hope you feel better tomorrow!@ 2025-05-11 00:42:23 xentrac: do you see micro-forth in assembly ? 2025-05-11 00:43:06 but i will not go foreward with it 2025-05-11 00:44:08 I did visit the page 2025-05-11 00:44:13 but I did not try runnign it 2025-05-11 00:44:34 it works 2025-05-11 00:45:03 i spend hours to debug save registers etc 2025-05-11 00:45:21 it'as a headake 2025-05-11 00:45:40 writing things in assembly is always a bit slower 2025-05-11 00:46:05 but I find it relaxing because there's no man behind the curtain 2025-05-11 00:46:12 so you can be more sure that it will work 2025-05-11 00:47:32 I haven't written a lot of stuff in assembly, if you don't count compiler output (in a sense when I write the compiler I'm writing the assembly that the compiler will emit, especially with the really dumb compilers I've written like https://github.com/kragen/stoneknifeforth and http://canonical.org/~kragen/sw/urscheme/) 2025-05-11 00:47:42 there are no magics in the code just save register and call primitives 2025-05-11 00:49:22 but I did write a web server, the runtime support library for Ur-Scheme, a Tetris game, a simple task-switching library for C, and an interpreter for a dynamic object-oriented language with multiple dispatch 2025-05-11 00:51:59 on that, I'd love a bootable and forth for x86 under a pendrive, or a floppy even 2025-05-11 00:52:04 s,and,ans 2025-05-11 00:53:12 nice ... 2025-05-11 00:54:24 anthk_: you can get pretty close with F-83 running under FreeDOS 2025-05-11 00:54:43 if you put "@F83" in AUTOEXEC.BAT 2025-05-11 00:54:48 yep, and svardos 2025-05-11 00:54:50 with MINA 2025-05-11 00:54:51 I tried 2025-05-11 00:55:38 which is ciforth? 2025-05-11 00:58:01 mmm yes, close 2025-05-11 00:58:35 https://home.hccnet.nl/a.w.m.van.der.horst/mna4d0d6.zip 2025-05-11 00:58:56 I would rip out the documentation (or dump the PDF into a TXT file) and that's it 2025-05-11 01:03:39 nice 2025-05-11 01:03:50 I'd forgotten about this 2025-05-11 01:10:51 tinyboot1.tbf1 :) 2025-05-11 01:10:54 interresting 2025-05-11 01:11:13 heh https://news.ycombinator.com/item?id=43949559 2025-05-11 01:11:36 .r as u.r it's because eforth under subleq lacked that :p 2025-05-11 01:14:11 now I expect Don Hopkins to post some similar PostScript code for that fractal 2025-05-11 01:24:01 I feel like that should be doable 2025-05-11 01:24:14 thanks for the link! I posted a comment on the thread too 2025-05-11 01:29:56 also 2025-05-11 01:30:02 from the C code in the blog 2025-05-11 01:30:45 : sier cr 32 0 do 32 0 do i j and if ." _ " else ." M " then LOOP cr LOOP ; 2025-05-11 01:54:35 I did something like that just now too :) 2025-05-11 01:54:49 except I think you should cr before the inner do 2025-05-11 01:54:52 I even picked 32! 2025-05-11 01:59:22 32 factorial? 2025-05-11 01:59:34 ah, the limit 2025-05-11 02:00:34 I didn't refresh the page 2025-05-11 02:01:02 and I forgot about 'bl' 2025-05-11 02:01:33 well, I forgot about ." 2025-05-11 02:01:57 which I think is a better approach than dup emit emit 2025-05-11 02:08:18 now, otoh, mandelbrot with forth... it's possible without complex numbers 2025-05-11 02:08:29 I saw it under open firmware 2025-05-11 02:09:47 ah yes 2025-05-11 02:09:49 https://sites.google.com/view/win32forth/win32forth-readme/mandelbrot-in-6-lines 2025-05-11 02:12:32 yeah, it's not too hard; in https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/mand.lua I just wrote out the real arithmetic 2025-05-11 02:12:40 complex numbers are just spicy pairs of floats ;) 2025-05-11 02:12:42 zx, zy = zx*zx - zy*zy, 2 * zx*zy -- zᵢ₋₁² 2025-05-11 02:12:44 zx, zy = zx*zx - zy*zy + x, 2 * zx*zy + y -- zᵢ = zᵢ₋₁⁴ + c 2025-05-11 02:13:13 that's the quartic version though 2025-05-11 02:13:39 zx, zy = zx*zx - zy*zy + x, 2 * zx*zy + y -- zᵢ = zᵢ₋₁² + c 2025-05-11 02:13:46 is the usual quadratic version 2025-05-11 02:13:46 i know 2025-05-11 02:14:02 I have the straight implementation in tcl 2025-05-11 02:14:07 yes, binoms 2025-05-11 02:14:29 the math library it's plain tcl; and the forth scientific library does the same 2025-05-11 02:15:11 tcl <3 2025-05-11 02:15:26 i'm currently writing a stack lang running on top of tcl, for fun 2025-05-11 02:15:27 even jimtcl can borrow tcl's complex.tcl file as is 2025-05-11 02:16:13 eh, with tcl you could create a simple forth at light speed... 2025-05-11 02:16:48 i guess, yeah :) it's still fun to do though 2025-05-11 02:32:58 wait, dc it's turing complete? 2025-05-11 02:33:51 I always tought of dc as a crippled RPN calculator 2025-05-11 02:34:17 with a stack and registers but not far more 2025-05-11 02:36:18 ah, it has some input support 2025-05-11 03:08:04 what makes dc Turing-complete is that you can store strings in registers and run them