00:00:00 --- log: started forth/19.05.22 01:01:36 --- quit: pierpal (Remote host closed the connection) 01:27:42 --- quit: X-Scale (Quit: HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it) 01:47:12 Just like Chuck always says 01:47:19 "write as much code as possible" 01:48:11 =8-O 01:49:49 "Sometimes I add extra DO loops and screen-long words just for a laff" - Chuck Moore 01:52:00 ¯\_(ツ)_/¯ 01:55:35 "computers run at what, 2 gigahertz? why optimise, just write whatever you want" - Chuck Moore 02:03:19 --- quit: ashirase (Ping timeout: 250 seconds) 02:08:52 --- join: muzgo (~iru@lmontsouris-659-1-31-132.w81-250.abo.wanadoo.fr) joined #forth 02:11:20 "Solve the general problem, never the specific problem, try to anticipate where you might need to insert code for future needs" 02:34:34 rdrop-exit: just another step to using Forth as a bootstrapping language 02:34:53 hence the parser generator 02:36:41 What are you bootstrapping into? 02:37:28 --- join: gravicappa (~gravicapp@h109-187-203-93.dyn.bashtel.ru) joined #forth 02:38:47 Not sure yet, maybe a C-like language 02:39:07 My knowledge of imperative compilers is limited as of yet 02:39:35 Also it's for testing to see if I can do this on my calculuator 02:41:41 calculator* 02:52:04 Why bootstrap another entire language from Forth when you can just extend your Forth as needed to deal with the application requirements 02:55:05 why not? 02:55:28 some things are just fun 02:56:17 Can't argue with fun 02:58:26 there is fun in defun 03:16:16 --- nick: Zarutian_2 -> Zarutian 03:25:27 rdrop-exit: both things are fun 03:26:46 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 03:27:14 re 03:33:35 Hi dave0 03:36:42 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 03:38:23 hi rdrop-exit 04:35:58 --- quit: rdrop-exit (Quit: Lost terminal) 04:54:28 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 05:57:18 siraben, that's a lot of forth coding you've been up to! 05:57:46 proteusguy: it's just a rewrite of the C version, heh 05:57:48 so strange to see practical forth that isn't actually implementing forth itself. are you sure you're supposed to do that? 05:57:53 a lot of it is autogenerated anyway 05:58:12 Why not? Sure beats doing this in assembly 05:58:19 haha yeah - certainly could use some word refactoring to be more forth-like - but it's good to see. 05:58:43 Right, I'm using too many locals 06:06:08 if you can refactor your words to just be a couple of lines long, often those locals will shake out. 06:07:10 yep 06:07:17 it's not just for code style reasons 06:07:29 short words encourage good execution 06:21:56 --- quit: proteusguy (Ping timeout: 246 seconds) 06:22:16 --- quit: dave0 (Quit: dave's not here) 06:23:35 --- join: proteusguy (~proteusgu@cm-58-10-208-71.revip7.asianet.co.th) joined #forth 06:23:35 --- mode: ChanServ set +v proteusguy 06:49:40 --- quit: moony_ (Ping timeout: 268 seconds) 06:54:50 --- quit: jedb_ (Ping timeout: 246 seconds) 07:36:59 --- quit: tabemann (Ping timeout: 250 seconds) 08:23:18 my problem with short words isnt that they are short but that I am terrible at coming up with names 09:05:49 I name a lot of words F 09:05:54 and G, and H... 09:06:10 until I come up with why anyway 09:06:39 you can name a lot of words by developing top down so that's all well and good 09:28:32 The only good use for short words is obfuscation :þ 09:31:23 untrue, but succinct 09:32:00 you used 8 in there, btw 09:32:10 Artificially short words often make code more difficult to read. 09:32:50 If I see a hyphenated-word, yer wrong. 09:39:40 what about - 09:45:06 my forth has 96 words with a - http://forth.works/f1c9d1848c4921ee708543b0320d2be5 09:46:47 75 if I only do actually hyphenated names: http://forth.works/a927c40eee33ea8d5222f4f102f5267a 09:48:59 --- quit: rprimus (Ping timeout: 244 seconds) 09:50:00 Hyphenation means you got TWO issues, not one. 09:50:22 ..maybe three, since you may want a MODIFIER word 09:51:14 --- join: rprimus (~micro@unaffiliated/micro) joined #forth 09:52:32 toggle-case, to-number, for-each, etc are one issue, not two 09:56:58 I use hyphens when I feel that the naming is clearer in the end. 09:57:30 drcs sixel fonts are fun https://vt100.net/dec/vt320/soft_characters 09:58:17 they're working in my mlterm 3.8.8 10:11:57 crc: And a few thousand if you count #-190 etc ;þ 10:18:34 --- join: jedb (~jedb@185.128.24.51) joined #forth 10:50:30 #-190 isn't a word though, it's a token that's processed as a numeric value :) 11:25:58 --- join: X-Scale (~ARM@10.240.28.37.rev.vodafone.pt) joined #forth 11:57:36 --- quit: gravicappa (Ping timeout: 272 seconds) 13:07:05 Heh 13:08:58 --- join: dys (~dys@tmo-103-172.customers.d1-online.com) joined #forth 13:20:18 --- quit: dys (Ping timeout: 244 seconds) 13:21:13 john_cephalopoda: they should never need to be artificially short 13:21:21 you're probably writing bad code if so 13:22:28 WilhelmVonWeiner: Calling words "F", "G" or "H" just makes it hard to understand what's going on. 13:23:18 I think that readability and maintainability are usually more important than performance or code length. 13:24:29 F G and H are only ever placeholder names 13:24:41 unless I'm writing some mathematical function 13:24:55 in which case I have used F G and H literally 13:25:13 but ANS-style code is NOT something I'd consider readable 13:26:00 words that could be 2 64 char lines long spread over 6 or 7 is a visual and cognitive pain in the ass, and discourages factoring 13:27:16 Hmm, spread by what? 13:27:35 Because of high word lengths? Or because of indents and linebreaks? 13:27:45 both 13:29:56 absolutely unrelated but I think a Forth with smalltalk style objects could be cool 13:31:21 WilhelmVonWeiner: Neither line breaks/indentation nor long word length are required in AND Forth. 13:31:26 *ANS 13:31:35 doesn't matter, it's ANS style 13:31:44 because 'C' style is too much of a perjorative 13:32:11 I don't think there are any code examples in the ANS standard. 13:33:04 there are not 13:33:27 there is not afaik* 13:34:22 And I don't think I've ever seen a coherent style in Forth. 13:34:52 do you mean consistent 13:34:57 also: http://forth.org/forth_style.html 13:36:16 Uh, yeah 13:36:23 Consistent was the word 13:38:54 I mostly think of cmForth when I write Forth code 13:44:48 I am trying to separate things into blocks that are easy to digest. I sometimes write stack diagrams into the middle of the code, because it can quickly get a bit confusing. 13:51:02 my coding style is still evolving as I work; I may eventually codify it into a consistent approach 13:53:13 I was writing that Retro style guide but I accidentally deleted the droplet I had it on 13:54:16 might try that again, at least for my own sake let alone the few users 14:00:06 --- join: dys (~dys@tmo-121-73.customers.d1-online.com) joined #forth 14:02:09 Coding style is a very personal thing, I think. 14:03:15 It makes sense to keep it consistent over a project, but I don't think that there is a coding style that can fit everybody. 15:01:13 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 15:01:24 hi 15:15:00 --- quit: Zarutian (Ping timeout: 245 seconds) 15:15:50 --- join: Zarutian (~zarutian@173-133-17-89.fiber.hringdu.is) joined #forth 16:05:37 --- quit: jedb (Remote host closed the connection) 16:05:53 --- join: jedb (~jedb@185.128.24.51) joined #forth 16:32:31 --- join: rdrop-exit (~markwilli@112.201.166.63) joined #forth 16:33:16 c[_] Good morning Forthwrights 16:34:54 hi rdrop-exit 16:35:54 hi dave0 17:04:22 --- quit: john_cephalopoda (Ping timeout: 252 seconds) 17:18:10 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 18:43:45 --- quit: ashirase (Ping timeout: 245 seconds) 18:46:13 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 19:21:21 --- quit: dave0 (Quit: dave's not here) 19:35:16 --- join: tabemann (~tabemann@2600:1700:7990:24e0:b944:a349:56b9:12fb) joined #forth 19:35:22 --- quit: moony (Quit: Bye!) 19:39:37 --- quit: dddddd (Remote host closed the connection) 19:50:56 --- join: moony (moony@hellomouse/dev/moony) joined #forth 20:45:16 --- join: gravicappa (~gravicapp@h109-187-203-93.dyn.bashtel.ru) joined #forth 21:35:23 my word style is to go vertical more than horizontal but I try to keep it under 10 words regardless. this makes it super simple for me to keep my stack picture in my head on each line. 21:40:45 --- quit: proteusguy (Ping timeout: 268 seconds) 23:23:30 --- quit: dys (Ping timeout: 272 seconds) 23:59:59 --- log: ended forth/19.05.22