2025-05-31 06:47:15 finished I think : https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/ide-forth-3.png 2025-05-31 16:17:33 is Charles H. Moore still around doing something related to Forth? 2025-05-31 16:21:31 "Our company is small, lean, aggressive and multidisciplinary. It is typical, for example, that our silicon designers are also circuit designers and/or programmers. In addition to their corporate duties, Chuck Moore and each of our four Officers roll up their sleeves and work in the trenches, "leading from the front" alongside the other 13 core team members and several dedicated consultants to bring 2025-05-31 16:21:31 our plans to successful conclusion. 2025-05-31 16:21:32 " 2025-05-31 16:21:37 nice 2025-05-31 16:26:23 GreenArrays, Inc. Headquarters in Missouri: https://www.greenarraychips.com/home/contact/index.php 2025-05-31 16:26:33 it looks like Unabomber's cabin 2025-05-31 17:03:42 hello 2025-05-31 17:03:58 ah, Ted hated computers 2025-05-31 17:04:41 and it's ironic, because he was a Mathematician, and, you know, writting down stuff with a pencil (tool) it's still technology with applied Science 2025-05-31 17:04:56 Charles H. Moore, the creator of Forth, is indeed still around. Although he has long stepped away from the spotlight of the mainstream tech world, he remains connected to the Forth community—even if his current projects or public engagements related to Forth aren’t as prominent as they once were. 2025-05-31 17:07:51 That is great news, cleobuline, considering he's already 86 years old. 2025-05-31 17:09:45 X-Scale: Wow no kidding re Unabomber 2025-05-31 17:13:24 :) 2025-05-31 17:15:54 "The Forth programming language and its consequences have been a disaster for the human race" 2025-05-31 17:17:20 :0 2025-05-31 17:17:49 maybe because if forth never existed I wouldn't have made my own abomination 2025-05-31 17:18:01 now in js :D 2025-05-31 17:18:43 I've half documented part of it 2025-05-31 17:18:44 https://paste.c-net.org/SignedRefugee 2025-05-31 17:18:47 haha veltas 2025-05-31 17:19:15 and that's the whole thing, which would run a repl in node 2025-05-31 17:19:17 https://paste.c-net.org/RepayResisted 2025-05-31 17:19:26 but it's missing a lot of stuff 2025-05-31 17:20:50 I stole the concept of temporary words from KipIngram 2025-05-31 17:21:33 I didn't know GreenArrays was in Missouri. I thought it was like Nevada or california or something 2025-05-31 18:04:01 Probably run out of someone's barn or something, cheaper than renting office space 2025-05-31 18:04:47 Although it is a good movie, and stars Jennifer Aniston 2025-05-31 18:07:30 a funny thing happened with Jennifer 2025-05-31 18:07:46 it's an old person name now 2025-05-31 18:11:11 Better than half the names my generation come up with ... 2025-05-31 18:11:35 what do you mean? 2025-05-31 18:12:25 A lot of people my age name their kids strange things because they're trying to be clever or individual or something 2025-05-31 18:12:33 And their kids will probably regret this eventually 2025-05-31 18:12:57 oh, I got named "Kragen" and don't regret it at all 2025-05-31 18:12:59 Of course I am the true victim in all this 2025-05-31 18:13:15 are you? 2025-05-31 18:15:00 Kragen is a rare name but without knowing more I don't even really have an opinion about that choice 2025-05-31 18:15:13 Do you know why they chose that? 2025-05-31 18:15:58 Honestly it sounds like a name I could believe was German ethnic or something, even though googling revealed little useful info, it sounds like a 'name' 2025-05-31 18:16:12 Matters more for girls too honestly 2025-05-31 18:16:43 well, my father's name was "Greg", and my mother's was "Carolyn" 2025-05-31 18:17:24 in the US you can change your name if you don't like it, though not quite as easily as in the UK 2025-05-31 18:18:00 I've heard it's quite hard to change name in UK, so must be quite hard 2025-05-31 18:18:28 My wife certainly complained a lot about changing her last name when she married me, and that's actually one of the easier moments to change it 2025-05-31 18:19:31 it's just a deed poll: https://en.wikipedia.org/wiki/Deed_of_change_of_name#United_Kingdom 2025-05-31 18:20:09 I suppose the hard bit is getting people and authorities to actually use that name, even if it's 'legal' 2025-05-31 18:20:31 the concept in English common law is that the deed poll is just a means for you to officially notify the state of your new name 2025-05-31 18:21:13 whereas in many other countries, including to some extent the US, you are petitioning the state 2025-05-31 18:22:03 when I got married and changed my last name I had to publish the new name in a newspaper ad for a period of time and submit some forms and pay some processing costs 2025-05-31 18:22:20 I read an article about someone who changed their name by deed poll to get some free thing that was only for people with a certain name 2025-05-31 18:24:06 xentrac that's actually the same process as deed poll 2025-05-31 18:24:34 But in the UK when you get married you can just use the marriage certificate to change your name 2025-05-31 18:24:39 You don't need a deed poll 2025-05-31 18:25:02 Getting married isn't free either though, right lads? 2025-05-31 18:25:10 yeah, but in the US the court can deny the name change if they don't think your reason is good enough 2025-05-31 18:25:30 Hello! This feels like a rather easy question, but how do I create a constant (counted?) string? 2025-05-31 18:26:00 Preferably in Standard Forth, but I'm using GForth at the moment. 2025-05-31 18:26:08 with s" 2025-05-31 18:26:31 : hello s" goodbye" ; ok 2025-05-31 18:26:31 hello type goodbye ok 2025-05-31 18:26:33 S" isn't counted 2025-05-31 18:26:50 it isn't, but counted strings are bad; don't use them 2025-05-31 18:27:02 That's very Stack Overflow of you 2025-05-31 18:27:12 hey, they had a question mark 2025-05-31 18:27:28 presumably that meant they were looking for input on whether they should be counted strings or not 2025-05-31 18:27:28 Well, if it isn't counted, how would I easily get the length of the string? 2025-05-31 18:27:34 "How do I do X?" "Don't do X (Most Upvoted Answer)" 2025-05-31 18:27:53 when s" runs, it pushes both the address of the beginning of the string and its length 2025-05-31 18:28:03 hello . . 7 140638534935752 ok 2025-05-31 18:28:27 so if you want just the length you can nip 2025-05-31 18:28:31 hello nip . 7 ok 2025-05-31 18:28:33 If you want a counted string you can use C" 2025-05-31 18:28:59 Why couldn't a word be able to act on both the stack, and arguments after (when stack is empty)? 2025-05-31 18:29:21 I should say, when the runtime semantics of s" run. which in GForth are called SLiteral 2025-05-31 18:29:35 But counted strings are limited to 255 max length, bear in mind 2025-05-31 18:29:47 So not 'bad' per se, but limited 2025-05-31 18:29:51 counted strings have a lot of disadvantages 2025-05-31 18:30:55 OK, but it is a constant, and it's definitely going to be within 255 cells (?). 2025-05-31 18:30:55 not 255 cells, characters 2025-05-31 18:31:10 In FORTH-79 terminal input ends with a null character 2025-05-31 18:31:45 so for example if you want to take a substring of a normal string you can do something like 1- or drop 4 2025-05-31 18:32:01 if you want to do that with a counted string you either have to mutate it or copy it somewhere else or both 2025-05-31 18:32:41 a standard Forth word that uses this ability is -trailing, which removes the spaces at the end of a string 2025-05-31 18:33:05 What are "normal strings" called in the 2012 standard and the GForth manual? 2025-05-31 18:34:12 Just.. strings? 2025-05-31 18:34:15 Yes 2025-05-31 18:34:42 c-addr u, usually: https://forth-standard.org/standard/core/Sq 2025-05-31 18:35:05 consider these lines of interaction with Gforth using the hello definition above: 2025-05-31 18:35:23 hello drop 4 type good ok 2025-05-31 18:35:32 hello 1- type goodby ok 2025-05-31 18:35:42 The advantage of a counted string is it's easier to handle on the stack 2025-05-31 18:35:48 hello 4 - swap 4 + swap type bye ok 2025-05-31 18:36:11 I would say the contrary: the disadvantage of a counted string is that it's impossible to handle on the stack 2025-05-31 18:36:46 you have to write to memory to do any of those three operations 2025-05-31 18:37:25 Yes e.g. WORD which writes a counted string with a given delimiter, e.g. with BL will remove trailing spaces 2025-05-31 18:39:07 https://forth-standard.org/standard/core/PARSE says, "The need for WORD has largely been eliminated by PARSE and PARSE-NAME. WORD is retained for backward compatibility." This is specifically because word uses counted strings. 2025-05-31 18:39:45 You can also easily check equality of two strings if they're counted, given the length of either string, because the byte containing length immediately ends the comparison if they're not the same length 2025-05-31 18:40:00 But with the new words you need to pass two lengths i.e. COMPARE 2025-05-31 18:40:31 you do, it's true 2025-05-31 18:40:47 Which is slower actually, because of how it's defined as returning result based on order of last differing bytes 2025-05-31 18:41:47 Is there a bash alternative that works more like forth? Stacks instead of pipes and such. 2025-05-31 18:42:41 Because I think I'm developing my own such system, almost. 2025-05-31 18:43:29 olle: I think it's reasonable to think of Forth as being a Bash alternative 2025-05-31 18:43:44 but designed for smaller systems 2025-05-31 18:44:18 veltas: that's true 2025-05-31 18:45:37 everything in https://forth-standard.org/standard/string operates on normal strings rather than counted strings, which is not a big problem if your strings happen to be stored as counted strings; you can always count them 2025-05-31 18:46:04 the problem arises when you have words that want counted strings as parameters, like find unfortunately does 2025-05-31 18:47:40 because then they can't operate on normal strings; you have to allocate a buffer somewhere, copy the string into it, add a count byte, and think about its lifetime. admittedly that's also what you have to whenever you start concatenating strings 2025-05-31 18:50:53 I'm probably hammering too hard on this, but the existence of counted strings was one of the big problems I had getting into Forth, because they look like something you might want to use, and then when you do you are always sad 2025-05-31 18:51:33 sometimes not until you have a lot of code you have to rewrite if you are going to stop using them 2025-05-31 18:51:52 I'll try and keep that in mind. 2025-05-31 18:58:14 A $ is typically used in stack diagrams to represent a "addr u" string, right? 2025-05-31 19:06:19 That's fair xentrac, I agree, but it's interesting they obviously didn't care that much because they never provided an alternative to FIND 2025-05-31 19:06:36 Also FORTH-79 FIND is a lot better, because it returns the dictionary entry, not the execution token 2025-05-31 19:06:54 So you can check whether it's immediate with that, get its name, get the next entry etc. It's a swiss army knife 2025-05-31 19:07:36 That's my issue with the standard really is it feels like they wanted to 'deprecate' a lot of things, but never really provided proper fleshed out alternatives 2025-05-31 19:07:43 It's not unique to Forth, C++ is like this too 2025-05-31 19:10:52 And there's just plain bad ideas like ENVIRONMENT? and the finer details of how THROW/CATCH work 2025-05-31 19:10:52 veltas in forth79 you can mess with the parameter field of a word and add stuff? 2025-05-31 19:11:02 Not in a 'standard' program, but the standard makes it easier to do this provided your implementation works in a normal way 2025-05-31 19:11:09 I saw in a book some explaination about being able to mess with it, but I guess it was 83 2025-05-31 19:11:16 explanation* 2025-05-31 19:11:50 like you could get the value of a variable by accessing the pfa directly 2025-05-31 19:12:21 that is kind of cool, I like reflection and metaprogramming