2025-02-13 00:02:06 I pretty universally regard "primitives" as words written in machine code, and words that use the return stack as "definitions." 2025-02-13 00:02:56 Primitives don't modify the return stack - they just thread one to the next to the next. 2025-02-13 00:05:03 Actually this is going to be code threaded, so it won't really have "definitions." Among the vm instructions will be call instructions, and it'll be fairly conventional at that level. 2025-02-13 00:05:31 The "return stack" will be the vm's return stack. 2025-02-13 03:15:23 what do you guys use as word separator? I see the dot used several times even by chuck it seems and also in the starting forth examples 2025-02-13 03:15:32 I see some others using the dash instead 2025-02-13 03:15:54 I like the dot but I was trying to use the dash since it seemed to be more common 2025-02-13 03:20:42 I use the dash mostly, but I think you should use the dot if that's what you like more 2025-02-13 03:21:08 I don't think it matters much what's more common 2025-02-13 03:21:39 you could also use underscore, apostrophe, colon, etc. 2025-02-13 03:22:16 I.m.not.sure.of which-one-is-better 2025-02-13 03:22:38 I guess the dash 2025-02-13 04:13:32 vms14: generally I use colon for namespaces, a dash in multi-word names, and . as a denotation for words that access fields in a structure. E.g., 2025-02-13 04:14:48 d:latest.name (return_pointer_to_contents_of_name_field_in_latest_header) 2025-02-13 08:32:36 Maybe it's just me, but a lot of 'factored' code ends up looking like an expression tree(?) that you need to manually walk yourself. 2025-02-13 10:53:25 user51: Yeah, this is one way to cope with a lack of parens in Forth 2025-02-13 10:53:52 It's definitely one of the big reasons to use lots of small word defs, to make balancing easier 2025-02-13 14:04:27 re database: scanning with grep through english wikipedia take 3 hours; that requires some patience 2025-02-13 14:17:10 crc your prefixes are actually a smart choice since they provide some sort of namespace in the most simple way 2025-02-13 14:17:34 I do not really like to have to prefix everything though 2025-02-13 14:18:09 but I could make something to add the prefixes for me 2025-02-13 14:19:03 I like the fact you use the dot like "dot notation" in other languages 2025-02-13 14:19:48 it will be clear that you are accessing something 2025-02-13 14:21:44 I was trying yesterday to follow the starting forth book with my interpreter 2025-02-13 14:21:45 https://dpaste.com/5GD9W69U3.txt 2025-02-13 14:21:57 this works in my interpreter 2025-02-13 14:22:54 I have to keep going to see how much can be the same 2025-02-13 14:23:44 I would like to make create and does> behave exactly the same too, not sure if I will be able to 2025-02-13 16:48:37 vms14: if you have types, namespace prefixes could be made optional (e.g., IIRC 8th uses a similar scheme to me, but has type awareness, so can lookup words in the based on this without requiring the namespace prefix being specified)