2024-06-15 14:46:13 Hm I need HTML syntax highlight for Forth...
2024-06-15 14:48:52 Urgh they support Factor, but its syntax is too different
2024-06-15 15:06:07 Oh maybe there's some other language that uses backslash as comment??
2024-06-15 15:17:53 how should i differentiate initialized data from uninitialized data (bss) in my program image? i could do it assembly style where i have directives before you allocate, like ".data variable foo .bss create bar 20 allot" or i was considering a postfix sort of "fixup" where everything is in .data by default, but you can move it to .bss like "create foo uninitialized 20 allot" or something. of course
2024-06-15 15:17:59 the rule would be that you have to use the relocation word before it's actually allocated, though
2024-06-15 15:19:00 i suppose third option is to just have different create words for different sections, but it still has to be stateful so that you can follow it with allot or commas
2024-06-15 15:56:47 come to think of it, i think even more important to me than initialized vs uninitialized data will be distinction between ro data and rw data
2024-06-15 16:12:28 olle_: I personally think Forth looks best without highlighting, or just highlighting comments
2024-06-15 16:12:37 Which you can do manually if needed
2024-06-15 16:13:37 Can use Forth tricks too
2024-06-15 16:15:25 olle: ^