00:00:00 --- log: started forth/19.04.09 00:11:27 --- join: proteusguy (~proteusgu@mx-ll-14.207.170-46.dynamic.3bb.co.th) joined #forth 00:11:27 --- mode: ChanServ set +v proteusguy 00:16:05 --- quit: bluekelp (Ping timeout: 244 seconds) 00:16:12 --- join: bluekelp (~bluekelp@bluekelp.com) joined #forth 00:17:04 --- quit: rprimus_ (Ping timeout: 245 seconds) 00:17:48 --- join: rprimus (~micro@unaffiliated/micro) joined #forth 00:27:29 --- quit: proteusguy (Ping timeout: 245 seconds) 00:44:59 --- quit: dys (Ping timeout: 246 seconds) 00:46:56 --- join: proteusguy (~proteusgu@14.207.170.46) joined #forth 00:46:56 --- mode: ChanServ set +v proteusguy 00:53:50 I got that Mecrisp Stellaris running recently. 00:53:54 Pretty cool stuff! 00:58:45 --- quit: APic (Ping timeout: 245 seconds) 00:58:45 --- quit: nerfur (Ping timeout: 245 seconds) 00:59:11 --- join: APic (apic@apic.name) joined #forth 01:00:16 Oh I guess it's probably past everyone's bedtime :) 01:00:45 3p here in Bangkok! But yeah - most everyone is asleep otherwise. ;-) 01:01:05 10AM here in central europe :) 01:01:24 * jn__ gotta try mecrisp on RISC-V at some point 01:02:02 This mecrisp is great. Payed $3 for the STM32 board, and $2 for the ST-LINK JTAG-to-USB adapter. 01:02:10 And the thing has been rock solid. 01:02:12 --- join: nerfur (~nerfur@broadband-95-84-184-13.ip.moscow.rt.ru) joined #forth 01:02:41 Just confirming it works so far or got something going on with it? 01:03:47 Blinking LED at different rates and learning how storing words to the NAND works right now. 01:04:06 But one thing you may find interesting is I was able to get the USB connection to my PC working instead of TTL Serial. 01:04:49 That's extremely helpful! 01:05:15 yeah! I haven't even bothered to solder on the included pins. 01:05:48 Croran: yeah, mecrisp is awesome 01:05:57 when I have some time I need to make a robot with it 01:06:19 it's a big upgrade from doing Arduino with the Arduino IDE 01:06:35 72MHz and interactive programming 01:08:28 and apparently I didn't even need to buy the JTAG adapter. supposedly there's a way to flash mecrisp to it with just a USB-to-TTL adapter. 01:09:28 the JTAG thing is neat though, apparently it lets me view the RAM and NAND data while the device is running... 01:11:15 sweet... I may have to acquire a few. 01:12:22 the built-in multitasking support is pretty sweet too 01:13:03 I was able to set up my LED blinking to run in the background :) 01:13:29 hmm, I think I paid about $20 for the edu-jtag at adafruit 01:14:26 I bought the off-brand one. 5 weeks shipping on a slow boat from China :) 01:14:32 ah 01:14:49 I thought about it, but my luck with chinee 'lectrics is spotty. 01:15:26 appears J-link may have some additional functionality beyond the one I have. 01:15:58 Yeah, I checked my "worked" when I got it - and it does run, but I've been avoiding mucking up the samd's 01:17:57 my/mine 01:18:40 Anyway, it offers to be far more complicated than the avr's I am used to, but also a much more vast space to work in 01:24:17 Yeah that J-link/Segger software looks interesting. I think I ended up with pretty bare-bones functionality in contrast. I'm just using the stlink-tools and stlink-gui FOSS packages for linux. 01:25:43 yeah, I went the Adafruit Feather & itsy-bitsy route - atmel samd21 & 51.. The prices seemed tolerable for a 'merican board. 01:27:56 I always get em off amazon or ebay 01:28:11 anything else - you're probably being ripped of 01:30:33 do any of you use the 'e4thcom' terminal? 01:42:49 it appears to give some nice quality-of-life features like command line editing/history, automatic source code upload to your device, and even a disassembler for some platforms (not for STM32 yet unfortunately) 01:58:43 I successfully uploaded the mecrisp disassembler sample code to my device, so I'm having fun disassembling the built-in words now. 01:59:35 no, I use picocom or just some python shell I whipped up 02:00:24 I'm enjoying this "#include" command in e4thcom for uploading local source files. Seems pretty handy. 02:03:25 --- quit: ashirase (Ping timeout: 250 seconds) 02:08:24 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 03:13:29 I just found this really interesting article about $1 microcontrollers. 03:13:29 https://jaycarlson.net/microcontrollers/ 03:16:51 at some point i want to make an 80s-style home computer (with VGA and keyboard connections) from a cheap microcontroller 04:09:20 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 04:40:43 --- quit: proteusguy (Ping timeout: 250 seconds) 05:03:29 --- quit: pointfree (Ping timeout: 240 seconds) 05:05:30 --- join: pointfree (sid204397@gateway/web/irccloud.com/x-bqgmvfuhdxvidgea) joined #forth 06:02:44 --- join: proteusguy (~proteusgu@cm-58-10-208-131.revip7.asianet.co.th) joined #forth 06:02:44 --- mode: ChanServ set +v proteusguy 07:06:33 hey guys 07:09:26 hi tabemann 07:18:56 okay, gotta go off to work now 07:18:58 bbl 07:23:30 cya tabemann ! 07:24:58 --- quit: tabemann (Ping timeout: 252 seconds) 07:46:59 --- quit: dave0 (Quit: dave's not here) 10:35:18 "A descriptor based approach to Forth strings - Ulrich Hoffmann and Andrew Read" - https://mastodon.social/@cstrotm/101875135979507265 10:37:06 pointfree: https://www.complang.tuwien.ac.at/anton/euroforth/ef18/papers/read.pdf 10:38:53 https://wiki.forth-ev.de/doku.php/events:ef2018:strings [VIDEO] 10:39:45 heh 10:39:49 PoppaVic: are mastodon links to be avoided? 10:39:57 Yes, I always look for videos for my code ;-) 10:40:18 I love mastodons: excellent over mesquite. 10:46:00 mastodon is piloting the EU blockchain based social credit system https://eunomia.social/ matrix.org was also listed as a participant yesterday but it looks like they withdrew. 10:46:42 oh, the EU - I remember those commies.. Check back in a century. 12:15:11 --- quit: gravicappa (Ping timeout: 246 seconds) 13:07:33 --- join: dys (~dys@tmo-109-114.customers.d1-online.com) joined #forth 13:54:03 --- join: dave0 (~dave0@108.060.dsl.syd.iprimus.net.au) joined #forth 13:55:20 hi 14:18:24 Hi dave0 14:19:32 hi pointfree 15:22:57 How to tell a project is made almost entirely of failure, lesson #37: The term "blockchain" is used in describing it. 16:33:52 --- quit: john_cephalopoda (Ping timeout: 252 seconds) 16:47:21 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 18:39:57 --- quit: dddddd (Remote host closed the connection) 18:57:09 --- quit: dave0 (Quit: dave's not here) 19:38:01 --- join: rdrop-exit (~markwilli@112.201.169.15) joined #forth 19:45:08 hi, had anyone ever tried seedforth? 19:45:18 just saw it from reddit 19:51:00 --- join: tabemann (~tabemann@2600:1700:7990:24e0:e9cf:9aca:5cdd:e5ee) joined #forth 19:52:14 seedforth? 19:52:18 hey guys 19:52:35 yunfan, premium vegetable seed? 19:52:49 hi guys, never heard of seedforth 19:54:05 presiden: just check /r/forth 19:54:34 there's a pdf talking about it, but i havnt found its repo or any download link to try it 19:56:29 I got autocomplete working for my line editor 19:56:32 Seems high-level for a seed 19:56:46 Cool tabemann 19:57:23 to be really complete I just need to add search features and saving history to disk 19:58:10 but I'm too lazy to bother implementing those 19:58:17 :) 20:04:49 I don't have autocomplete, not sure I'll ever add it 20:05:00 I just added it because I could 20:08:04 tabemann: by line editor do you means tools like ex? 20:08:20 yunfan: I mean like readline 20:09:02 you know, allows history, cut and paste, editing that crosses multiple rows on the terminal, autocomplete, etc 20:09:34 I'd need to implement an incremental lookup first 20:09:36 tabemann: ah 20:09:39 even the most basic line editor allows you to move the cursor back and forth and insert text 20:09:52 tabemann: well like rlwrap :D 20:16:27 I presume rlwrap doesn't allow you to autocomplete Forth words - heh 20:22:16 I should find a preexisting implementation of picture number formatting, because I really don't know how it works, but it probably is something I should include for completeness's sake 20:26:51 Starting Forth probably has a tutorial on number formatting. 20:31:54 I'm pretty sure mine deviates from the standard in a few points. 20:33:12 I'd have to check the 83 and ANSI standards to check where exactly. 20:33:39 --- join: gravicappa (~gravicapp@h109-187-18-29.dyn.bashtel.ru) joined #forth 20:35:16 Probably areas related to BASE and doubles. 20:37:13 Since I don't have either on the PC. 20:39:33 yunfan: seedforth? https://github.com/uho/preForth/tree/master/preForth 20:39:34 https://www.reddit.com/r/Forth/comments/bbe4xj/forth_a_new_synthesis_progress_report_growing/ 20:41:41 I just downloaded the video 20:47:26 From the intro to the paper, seems very high level for a "seed", e.g. stacks of queues, string descriptors, regular expressions, etc... 20:55:09 --- join: dave0 (~dave0@108.060.dsl.syd.iprimus.net.au) joined #forth 20:59:02 hi 20:59:51 Hi dave0 21:03:28 hi rdrop-exit 21:11:11 ttmrichter, I'm about to build a forth for building cryptoledger/blockchain systems.... :-) But yeah - I generally agree with you. See https://www.youtube.com/watch?v=booDqTGk0mo for my thinking about this kind of stuff. 21:23:27 --- quit: proteusguy (Ping timeout: 250 seconds) 21:30:35 pointfree: it also include seedforth? 22:04:39 Fun with old-timey 7-bit ASCII: 22:04:59 1 22:05:00 2 >ascii Zero out all but the low 7 bits of a cell. 22:05:00 3 22:05:00 4 ~ctrl Control toggle. Translate a control character to the 22:05:00 5 corresponding "caret notation" display character or 22:05:02 6 vice-versa. In the display to control direction this 22:05:04 7 is only applicable to display characters in the range 22:05:07 8 $ 3f .. 5f, i.e. the valid "caret notation" characters: 22:05:09 9 ?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ 22:05:12 a 22:05:14 b c@ Fetch byte at and strip its high bit. 22:05:17 c 22:05:19 0 source ASCII - Conversion 22:05:22 1 22:05:24 2 : >ascii ( x -- c ) $ 7f and ;inline 22:05:27 3 22:05:29 4 : ~ctrl ( dc|cc -- cc|dc ) $ 40 xor ;inline 22:05:32 5 22:05:34 6 : c@ ( a -- c ) b@ >ascii ;inline 22:05:37 7 22:05:39 0 shadow ASCII - Classification 22:05:42 1 22:05:44 2 ascii? Is an ASCII character? 22:05:47 3 22:05:49 4 display? Is an ASCII display character? 22:05:52 5 22:05:54 6 ^notation? Is a valid "caret notation" character? 22:05:57 7 22:06:00 8 ctrl? Is an ASCII control character? 22:06:02 9 22:06:05 0 source ASCII - Classification 22:06:07 1 22:06:10 2 : ascii? ( x -- -1|0 ) $ 7f u<= ;inline 22:06:12 3 22:06:15 4 : display? ( x -- -1|0 ) bl ascii ~ between ;inline 22:06:17 --- part: PoppaVic left #forth 22:06:17 5 22:06:20 6 : ^notation? ( x -- -1|0 ) ascii ? ascii _ between ;inline 22:06:22 7 22:06:25 8 : ctrl? ( x -- -1|0 ) ~ctrl ^notation? ;inline 22:06:27 9 22:06:30 Life was so simple :) 22:07:19 --- quit: dne (Quit: WeeChat 2.4) 22:35:25 --- quit: rdrop-exit (Ping timeout: 245 seconds) 22:54:02 --- join: rdrop-exit (~markwilli@112.201.169.15) joined #forth 23:02:55 --- join: proteusguy (~proteusgu@mx-ll-14.207.170-46.dynamic.3bb.co.th) joined #forth 23:02:56 --- mode: ChanServ set +v proteusguy 23:12:32 --- quit: dys (Ping timeout: 268 seconds) 23:49:16 --- quit: rdrop-exit (Quit: Lost terminal) 23:59:59 --- log: ended forth/19.04.09