2022-02-11 15:42:34 s" , c" and " cannot have strings longer than 255 bytes, correct? 2022-02-11 15:56:36 joe9 depends on the forth 2022-02-11 15:57:42 in some cell addessed forths you can have 64Kibi cells or bytes 2022-02-11 15:58:27 or even 16 Gibi of those units 2022-02-11 15:59:19 depends on how much is alloted for the length field of a counted string 2022-02-11 16:01:53 It seems that having a cell addressed count is the saner option. 2022-02-11 16:02:08 instead of having the count in a byte 2022-02-11 16:02:21 when the cell size is greater than a byte. 2022-02-11 16:02:59 if you were doing a forth, which would you choose for counted strings? byte count or cell count? 2022-02-11 16:03:43 cell count in an eForth I ported many years ago to the DCPU-16 2022-02-11 16:04:09 it keeps things simple too. 2022-02-11 16:04:25 why? because I was lazy and the thing was machine-word / cell addressed 2022-02-11 16:06:05 even implemented an extended variation of Infocoms ZSCII for lengthy strings of prose 2022-02-11 16:07:39 https://www.inform-fiction.org/zmachine/standards/z1point0/sect03.html 2022-02-11 16:10:52 let me check what polyforth and f83 do too. 2022-02-11 16:11:41 basically used one of the unused ZSCII codes to escape to utf-8 and another code to reasign other codes to utf-8 encoded unicode codepoint 2022-02-11 18:01:36 I was just curious if anybody here has done assembly with a forth assembler? I've read that an assembler is supposed to be a standard part of forths but it doesn't usually seem to be available in the forths I've worked with 2022-02-11 18:02:13 there was an article by Brad (forgot surname) about doing a simple assembler with forth 2022-02-11 18:02:23 it was very easy to follow and very nice to read 2022-02-11 18:02:24 been learning x86-64 assembly with Gnu Assembler and was curious how a forth assembler would handle things like labels 2022-02-11 18:04:01 I just found the chapter in Moving Forth 2022-02-11 18:08:18 he says that labels are problematic in Forth but lists several different options to deal with them 2022-02-11 18:09:21 though without fleshing out the details 2022-02-11 20:44:13 lispmacs[work]: Forth Dimensions, Volume XXI, Number 1,2, "A Call to Assembly" is a nice article you might want to read. 2022-02-11 22:57:52 f-a: thinking of http://www.bradrodriguez.com/papers/tcjassem.txt ?