00:00:00 --- log: started forth/19.04.10 01:31:09 --- join: dne (~dne@jaune.mayonnaise.net) joined #forth 01:38:33 --- quit: lonjil2 (Ping timeout: 258 seconds) 01:53:10 --- join: lonjil (~quassel@2a02:418:6050:ed15:ed15:ed15:d8d4:564a) joined #forth 02:02:59 --- quit: ashirase (Ping timeout: 244 seconds) 02:07:59 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 02:31:38 --- join: wa5qjh (~quassel@175.158.225.218) joined #forth 02:31:38 --- quit: wa5qjh (Changing host) 02:31:38 --- join: wa5qjh (~quassel@freebsd/user/wa5qjh) joined #forth 02:47:39 --- quit: Croran (Ping timeout: 268 seconds) 02:54:34 --- join: Croran (~quassel@2601:601:1801:6dde:a024:a39a:633c:7ee8) joined #forth 02:54:55 --- quit: MrMobius (Read error: Connection reset by peer) 03:27:34 --- quit: wa5qjh (Remote host closed the connection) 04:48:13 --- quit: proteusguy (Ping timeout: 255 seconds) 05:01:38 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 05:56:10 --- quit: gravicappa (Ping timeout: 255 seconds) 05:56:36 --- join: gravicappa (~gravicapp@h83-174-248-43.dyn.bashtel.ru) joined #forth 06:51:23 its just a bunch of within functions 06:51:30 wrappers/words 06:52:10 wait, what could :ascii? do? 06:53:19 : ascii? 0 177 within ; ? 07:07:46 177? 07:07:54 ascii is 128 isn't it? 07:08:03 : ascii? 128 < ; 07:20:05 WilhelmVonWeiner: https://qbin.io/tall-nor-hauh 07:20:07 it does start in space, but that would ignore \r\n\t which gets used 07:20:09 so ascii? seems a bit more complicated than a within 07:20:51 177 is 127 in octal 07:21:27 woops 07:21:31 well thata wasn't ascii, that was display 07:21:46 and carriage returns aren't visible characters 07:22:16 but they are a part of text on a string 07:22:46 they're control characters 07:23:19 if they're valid, then why isn't \b valid 07:24:28 I haven't seen \b on a text file 07:25:02 you can though, `echo -e "eggd\bs"` 07:25:40 that's not a text file 07:25:56 well it could be in a text file 07:28:06 how could it be in a text file though? adding a backspace character defeats the purpose of saving the character in the file itself 07:28:10 --- join: MrMobius (~default@c-73-134-82-217.hsd1.va.comcast.net) joined #forth 07:28:38 in unix you can use backspace as a kind of over-strike 07:28:56 a a makes bold and a _ makes underline 07:31:23 to the character before it or until it finds an ending ? 07:31:39 I would assume the former 07:32:38 Kumool: just the previous character 07:33:33 alright 07:34:08 --- quit: tabemann (Ping timeout: 250 seconds) 07:35:30 idk, \n seems to me not a display character, if \n was a display character then space is also a display character 07:36:34 is there a distinction between display characters and non-whitespace? 07:36:54 space is actually printed I guess 07:37:09 so are tabs and newlines 07:37:09 \n moves the cursor 07:37:12 right 07:37:37 tabs aren't printed in the same way a space is 07:37:49 a tab moves the cursor to the next tabstop 07:38:06 and space moves the cursor to the next column. what's the difference? 07:39:38 space prints an empty character 07:41:02 moving one column isn't a control character, it's default behaviour 07:41:54 so how is tab different from a newline? 07:42:56 tab isn't, it's a control character telling the display to move the cursor to the next tab stop 07:46:56 --- join: rdrop-exit (~markwilli@112.201.169.15) joined #forth 07:48:51 Control characters are generally considered to consist of hex 00-1f, and 7f 07:49:13 this is interesting to do with identifying text files: https://github.com/madler/zlib/blob/master/doc/txtvsbin.txt 07:51:00 Display characters in DEC terminology are those that have a displayed directly, i.e. space through ~ 07:51:35 Graphical characters omit the space 07:52:07 * those that are displayed directly 07:54:41 In "caret notation" the control characters are represented by ^@ .. ^_ and ^? 07:58:10 Each ASCII control character also has an abbreviation, e.g. del, nul, soh, sub, esc... 08:00:37 Some also have defacto standard names such as dc1 being used as xon, and dc3 as xoff for software flow control. 08:03:28 --- quit: dave0 (Quit: dave's not here) 08:06:36 The ASCII abbreviation for space is SP, but Forth uses BL instead presumably to avoid confusion with the stack pointer 08:07:56 The ASCII abbreviation for a carriage return is CR, whil Forths typically use CR as a word that emits a carriage return and/or line feed. 08:09:51 I prefer to use the name NL instead for the newline function, and I use CR the way the ASCII standard does, as the abbreviation for hex 0d aka control M. 08:25:43 To answer Kumol's questions, control characters are a form of inband signaling, while display characters are directly displayed. 08:39:24 ASCII doesn't care about files. 08:44:11 It just standardizes an interpretation of 7-bit values. 09:08:25 --- quit: rdrop-exit (Quit: Lost terminal) 09:31:35 --- join: proteusguy (~proteusgu@cm-58-10-208-131.revip7.asianet.co.th) joined #forth 09:31:35 --- mode: ChanServ set +v proteusguy 09:57:32 rdrop-exit: then unicode (and utf-8) comes along and supersets ASCII 10:16:57 --- quit: jedb (Ping timeout: 250 seconds) 10:23:19 --- quit: Zarutian (Read error: Connection reset by peer) 10:23:26 --- join: Zarutian_2 (~zarutian@173-133-17-89.fiber.hringdu.is) joined #forth 10:23:51 --- nick: Zarutian_2 -> Zarutian 10:47:16 --- join: jedb (~jedb@185.128.24.51) joined #forth 11:38:26 --- join: rdrop-exit (~markwilli@112.201.169.15) joined #forth 12:15:29 I stopped reading the Unicode mailing list when Emoji lobbying took center stage. What a circus. 12:23:55 --- quit: gravicappa (Ping timeout: 250 seconds) 12:39:50 --- quit: cantstanya (Remote host closed the connection) 14:46:33 --- quit: jedb (Read error: Connection reset by peer) 15:56:00 --- join: reepca (~user@208.89.170.37) joined #forth 15:56:17 --- join: dave0 (~dave0@108.060.dsl.syd.iprimus.net.au) joined #forth 15:57:15 hi 16:13:43 --- join: PoppaVic (~PoppaVic@unaffiliated/poppavic) joined #forth 16:32:29 --- quit: john_cephalopoda (Ping timeout: 240 seconds) 16:46:04 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 17:11:39 --- quit: proteusguy (Ping timeout: 245 seconds) 17:18:13 --- quit: dave0 (Quit: dave's not here) 17:23:51 --- join: proteusguy (~proteusgu@cm-58-10-208-131.revip7.asianet.co.th) joined #forth 17:23:51 --- mode: ChanServ set +v proteusguy 17:32:07 --- join: X-Scale` (~ARM@169.249.137.78.rev.vodafone.pt) joined #forth 17:34:34 --- quit: X-Scale (Ping timeout: 245 seconds) 17:34:34 --- nick: X-Scale` -> X-Scale 17:47:16 --- join: tabemann (~tabemann@rrcs-162-155-170-75.central.biz.rr.com) joined #forth 18:05:24 --- quit: tabemann (Ping timeout: 245 seconds) 18:35:23 --- join: dave0 (~dave0@108.060.dsl.syd.iprimus.net.au) joined #forth 18:36:22 re 19:49:35 --- join: tabemann (~tabemann@2600:1700:7990:24e0:e9cf:9aca:5cdd:e5ee) joined #forth 19:52:36 Good morning Forthwrights :) 19:56:07 --- join: Krenium (Krenium@63.142.121.42) joined #forth 19:57:45 hey guys 19:57:57 Hi tabemann 19:58:20 c[_]~~ 20:01:31 what's that? 20:02:45 Coffee 20:04:23 * tabemann is resisting the urge to write in german 20:06:36 dammit hashforth is too slow to start up 20:07:03 even when I remove all the debugging features it still takes a few seconds before "ready" is displayed 20:07:57 =8-O 20:10:34 What's it doing? 20:13:00 it's executing and compiling a bunch of source files built into the image 20:13:22 they're built into the image but they're not compiled at the time the image is created 20:13:50 stuff for building up a usable forth system, such as code for multitasking, IO, and the line editor 20:31:43 --- join: gravicappa (~gravicapp@h83-174-248-43.dyn.bashtel.ru) joined #forth 20:35:13 Precompile what you know you're going to need. 20:43:20 tabemann: have you written something to profile it? it might be interesting to write 22:01:21 Redesigned my streaming loop construct this morning, 22:01:32 stream ... onward 22:01:39 ?stream ... onward 22:04:34 Streaming loop? 22:05:54 A streaming loop is a variant of a do-loop for use with streaming operators such as @+ 22:06:56 i.e. @+ ( a -- a' x ) 22:07:18 or b@+ ( a -- a+1 b ) 22:08:27 Since a streaming operator is auto-incrementing, there's no need to keep an index on the return stack, just the limit 22:12:49 onward loops back until the TOS reaches limit 22:13:05 bbiab 22:28:15 The runtime action of ?stream is ( x lim -- x| )( r: -- {lim ip}| ) 22:28:29 --- part: PoppaVic left #forth 22:28:51 That of onwards is ( x -- x| )( r: lim a -- {lim a}| ) 22:32:47 A typical streaming loop would be: 22:33:26 ?STREAM @+ ONWARD 22:34:48 --- quit: dddddd (Remote host closed the connection) 23:37:16 bbiab 23:37:28 --- quit: rdrop-exit (Quit: Lost terminal) 23:59:59 --- log: ended forth/19.04.10