00:00:00 --- log: started forth/17.04.04 00:15:38 --- log: started forth/17.04.04 00:15:38 --- join: clog (~nef@bespin.org) joined #forth 00:15:38 --- topic: 'Forth Programming | logged by clog at http://bit.ly/91toWN | https://www.forthworks.com/forth/standards/DPANS/ | www.greenarraychips.com | https://github.com/mark4th' 00:15:38 --- topic: set by crc!sid2647@gateway/web/irccloud.com/x-bvbpvizerlziiwww on [Sun Mar 19 09:25:54 2017] 00:15:38 --- names: list (clog smokeink yunfan M-jimt irsol phadthai_ X-Scale nighty- dys +bluekelp qzo ACE_Recliner dual proteus-guy Quozl` MrBusiness LeCamarade dograt jeremyheiler pointfree[m] djinni malyn fiddlerwoaroof rprimus rgrinberg ggherdov` bavier APic DKordic koz_ groovy3shoes newcup Keshl__ z0d carc DGASAU diginet2 zy]x[yz nerfur midre pdewacht rpcope @crc sigjuice josh5tone taij33n pointfree a3f cartwright ovf dzho koisoke cajg) 00:17:41 --- quit: MrBusiness (Read error: Connection reset by peer) 00:18:50 --- join: MrBusiness (~ArcMrBism@104-50-90-48.lightspeed.brhmal.sbcglobal.net) joined #forth 00:36:41 --- join: John[Lisbeth] (~user@2601:601:8f01:a6a0:4c3b:ecc4:23d1:b0a4) joined #forth 00:36:43 so anyway 00:37:29 you can create a second and a third language on top of a forth while keeping that forth pristine ans forth as well as keeping the stacks separate and manipulating the items in the stacks of other languages passing them back and fourth between each other 00:38:46 --- join: nighty-- (~nighty@s229123.ppp.asahi-net.or.jp) joined #forth 00:40:26 first what you must do is invent a few words which create and manipulate datatypes such as linked lists, dynamic arrays, floats, or what have you 00:41:01 Then you build a stack out of hte linked lists you just made 00:41:23 You define words which operate on that second stack 00:41:43 you define a macro which allows you to enter the syntax of another language which uses that stack and on that stack uses the datatypes we previously created 00:42:26 and from there is a macro which when used in taht second language will finish up any of the data which was being used on the underlying forth stack leaving your stack empty and bringing you back to a pristine ans forth 00:43:06 now that you are in forth you can use the words we previously made to take the data off the second stack and then manipulated with teh words we first created to manipulate data 00:43:35 I can then take that data and stick it into a third stack if I so desire 00:44:24 unless I make use of the macros I mentioned, there should be no bulk added to the underlying ans forth except a few k of word definitions 00:44:48 however if someone types some code while utilizing those domain specific languages it will incur memory 00:46:23 Let us say that I have a variable in my second language and it contains a function, meaning it is a pointer that contains a pointer to a set of integers which represent a function in memory 00:46:42 I can within the second language instruct the underlying forth to define a new variable and set it to that pointer 00:46:50 this send data between the languages 00:47:09 now if I try to send a function from my second language it may not be readable in my third language. I would have to create an FFI or some such similar thing 00:47:25 I do not plan on solving that problem. 00:47:49 anyway that's the gist of it 00:47:53 where I left off last night 01:12:35 --- join: gravicappa (~gravicapp@ppp83-237-164-97.pppoe.mtu-net.ru) joined #forth 01:15:08 --- quit: ACE_Recliner (Remote host closed the connection) 02:15:58 --- join: true-grue (~true-grue@176.14.222.10) joined #forth 03:13:23 --- quit: X-Scale (Quit: HydraIRC -> http://www.hydrairc.com <- \o/) 04:08:19 --- join: DocPlatypus (~skquinn@2601:2c2:c300:ff70:f9af:6d63:7de8:8c65) joined #forth 04:42:22 --- join: GeDaMo (~GeDaMo@212.225.127.213) joined #forth 05:56:24 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 05:57:24 --- join: Zarutian_ (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 05:57:25 --- quit: Zarutian (Read error: Connection reset by peer) 05:57:25 --- nick: Zarutian_ -> Zarutian 06:00:32 --- quit: Zarutian (Client Quit) 07:02:42 --- join: smokeink_ (~smoke@175.20.93.48) joined #forth 07:11:08 --- quit: qzo (Ping timeout: 246 seconds) 07:12:06 --- join: qzo (~qzo@24.8.103.44) joined #forth 07:32:13 --- join: neceve (~ncv@86.125.247.109) joined #forth 07:32:13 --- quit: neceve (Changing host) 07:32:13 --- join: neceve (~ncv@unaffiliated/neceve) joined #forth 07:54:44 (beginner question) why inside a word defintion "buffer free drop" frees my buffer(which is a VALUE) while in the REPL i have to type ' buffer free drop (why isn't the ' necesarry inside the word defintion?? ) ? 07:57:37 how is buffer defined? 07:57:46 0 VALUE buffer 07:58:04 weird 07:58:16 * smokeink using win32forth 08:09:39 wha'ts on stack on REPL and not on REPL before? 08:10:26 ' is looking for address iirc 08:11:03 no, ' should parse a word and return the execution token for that word 08:19:01 ah i think the problem is somewhere else, i was confused because 0 free returns -1 (true) and my buffer was 0 (so invalid) but free returned true (no error) and i thought it worked 08:19:53 oh yeah, libc's free(0) is a noop 08:20:01 (assuming that's what free is) 08:57:39 i think free is a bit strange, release seems to be more reliable 08:57:54 * smokeink gtg now, thanks for the help 08:57:57 --- quit: smokeink (Quit: leaving) 08:58:11 --- quit: smokeink_ (Remote host closed the connection) 09:29:02 --- quit: DocPlatypus (Ping timeout: 246 seconds) 09:30:05 --- join: DocPlatypus (~skquinn@2601:2c2:c300:ff70:f9af:6d63:7de8:8c65) joined #forth 09:35:39 --- join: qzorg (~qzo@24.8.103.44) joined #forth 09:35:42 --- quit: qzo (Ping timeout: 260 seconds) 10:11:04 --- quit: neceve (Quit: Konversation terminated!) 10:19:09 --- nick: phadthai_ -> phadthai 12:49:55 --- join: X-Scale (~ARM@230.37.103.87.rev.vodafone.pt) joined #forth 13:04:23 --- quit: dys (Ping timeout: 256 seconds) 13:15:30 --- quit: gravicappa (Ping timeout: 260 seconds) 13:31:03 --- quit: GeDaMo (Remote host closed the connection) 14:33:44 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 14:34:53 --- quit: Zarutian (Read error: Connection reset by peer) 14:36:13 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 14:48:05 --- quit: Keshl__ (Quit: Konversation terminated!) 15:01:21 --- quit: qzorg (Quit: Leaving) 15:01:53 --- quit: dual (Ping timeout: 268 seconds) 15:04:06 --- join: Keshl (~Purple@24.115.181.94.res-cmts.gld.ptd.net) joined #forth 15:14:35 --- join: dual (~bonafide@subzeroup.core.rzwireless.net) joined #forth 15:23:35 --- quit: dual (Ping timeout: 246 seconds) 15:25:31 --- join: dual (~bonafide@subzeroup.core.rzwireless.net) joined #forth 15:31:14 --- quit: true-grue (Read error: Connection reset by peer) 15:33:45 --- join: John[Lis` (~user@2601:601:8f01:a6a0:4c3b:ecc4:23d1:b0a4) joined #forth 15:37:56 --- quit: John[Lisbeth] (Ping timeout: 246 seconds) 16:17:13 --- quit: nighty-- (Quit: Disappears in a puff of smoke) 16:42:14 --- join: smokeink (~smoke@175.20.93.55) joined #forth 16:45:50 --- quit: John[Lis` (Ping timeout: 246 seconds) 16:49:20 --- quit: smokeink (Ping timeout: 240 seconds) 17:54:17 --- join: nighty-- (~nighty@d246113.ppp.asahi-net.or.jp) joined #forth 18:24:13 --- join: ricky_ricardo (~quassel@2601:240:4203:ecb0:31b9:5786:d3bf:b401) joined #forth 18:27:27 --- quit: Zarutian (Quit: Zarutian) 19:05:22 --- join: ACE_Recliner (~ACE_Recli@c-50-165-178-74.hsd1.in.comcast.net) joined #forth 19:24:38 --- join: vsg1990 (~vsg1990@static-72-88-80-103.bflony.fios.verizon.net) joined #forth 19:26:08 --- quit: midre (Ping timeout: 246 seconds) 19:26:26 --- join: neceve (~ncv@86.125.247.109) joined #forth 19:26:26 --- quit: neceve (Changing host) 19:26:26 --- join: neceve (~ncv@unaffiliated/neceve) joined #forth 19:31:13 --- join: midre (~midre@2601:547:500:2a80::1) joined #forth 20:03:51 --- quit: vsg1990 (Quit: Leaving) 20:24:56 --- quit: DocPlatypus (Ping timeout: 246 seconds) 20:39:55 --- join: DocPlatypus (~skquinn@2601:2c2:c300:ff70:2054:42f5:96ff:bfdf) joined #forth 20:43:48 --- quit: neceve (Quit: Konversation terminated!) 21:07:41 --- join: MrBismuth (~ArcMrBism@104-50-90-48.lightspeed.brhmal.sbcglobal.net) joined #forth 21:09:02 --- quit: MrBusiness (Ping timeout: 246 seconds) 21:40:48 --- quit: proteus-guy (Remote host closed the connection) 22:32:20 --- join: smokeink (~smoke@175.20.93.55) joined #forth 22:37:49 --- quit: smokeink (Ping timeout: 240 seconds) 23:07:51 --- join: smokeink (~smoke@175.20.93.55) joined #forth 23:36:38 --- quit: smokeink (Ping timeout: 260 seconds) 23:50:39 --- quit: ricky_ricardo (Quit: No Ping reply in 180 seconds.) 23:54:16 --- join: proteusguy (~proteus-g@180.183.129.35) joined #forth 23:54:16 --- mode: ChanServ set +v proteusguy 23:56:53 --- join: ricky_ricardo (~quassel@2601:240:4203:ecb0:1e2:c14:39d0:a19d) joined #forth 23:59:59 --- log: ended forth/17.04.04