00:00:00 --- log: started forth/12.09.30 00:38:17 --- quit: fantazo (Remote host closed the connection) 03:11:28 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 03:11:28 --- mode: ChanServ set +v MayDaniel 04:14:38 --- join: fantazo (~fantazo@213.129.230.10) joined #forth 04:14:38 --- mode: ChanServ set +v fantazo 05:53:19 --- quit: fantazo (Ping timeout: 260 seconds) 06:24:24 --- join: fantazo (~fantazo@91-119-220-149.dynamic.xdsl-line.inode.at) joined #forth 06:24:24 --- mode: ChanServ set +v fantazo 06:50:18 --- join: Onionnion (~ryan@adsl-68-254-173-230.dsl.milwwi.ameritech.net) joined #forth 06:50:18 --- mode: ChanServ set +v Onionnion 07:52:21 --- quit: fantazo (Remote host closed the connection) 07:52:46 --- join: fantazo (~fantazo@91-119-220-149.dynamic.xdsl-line.inode.at) joined #forth 07:52:46 --- mode: ChanServ set +v fantazo 07:59:31 --- quit: fantazo (Remote host closed the connection) 08:00:45 --- join: fantazo (~fantazo@91-119-220-149.dynamic.xdsl-line.inode.at) joined #forth 08:00:46 --- mode: ChanServ set +v fantazo 08:37:58 --- quit: ttmrichter (Quit: Quit) 08:38:49 --- join: kumul (~kumul@adsl-72-50-90-224.prtc.net) joined #forth 08:38:49 --- mode: ChanServ set +v kumul 09:39:38 --- quit: clog (^C) 09:39:38 --- log: stopped forth/12.09.30 09:40:07 --- log: started forth/12.09.30 09:40:07 --- join: clog (~nef@bespin.org) joined #forth 09:40:07 --- topic: 'Forth Programming | logged by clog at http://bit.ly/91toWN | links: qr.net/gforth isforth.com forthfreak.net qr.net/ans_standard | Buy forth chips from www.greenarraychips.com' 09:40:07 --- topic: set by foucist!~foucist@ps14150.dreamhost.com on [Thu Apr 26 19:32:21 2012] 09:40:07 --- names: list (clog +RodgerTheGreat +kumul +fantazo +Onionnion +MayDaniel +malyn +obobo +ASau +segher +DGASAU +nighty- +sav +karswell_ +nottwo_ +newcup +cataska_ +nighty^ +dom96 +KipIngram +yiyus +dzho +crc +djinni) 09:40:07 --- mode: ChanServ set +v clog 11:36:03 --- join: black_13 (425ad9a8@gateway/web/freenode/ip.66.90.217.168) joined #forth 11:36:03 --- mode: ChanServ set +v black_13 11:39:45 is there forth key word "words" 11:41:24 --- quit: kumul (Quit: WeeChat 0.3.8) 11:50:51 --- quit: Onionnion (Quit: Leaving) 11:51:02 "Key word"? No. 11:51:08 Just "word", yes. 11:57:29 should the word word do? 11:58:03 i found a forth interpreter it seems to run but has no commenting 11:58:15 its written in ansi c 11:58:21 --- quit: nighty^ (Quit: Disappears in a puff of smoke) 11:58:39 and it compiles and things like 1 1 + . work quite well 11:59:04 i wonder if i could dump out the state of the dictonary 11:59:17 or dump the state of the stack 11:59:26 See 15.6.1.2465 in ANS. 12:15:51 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 12:15:51 --- mode: ChanServ set +v Nisstyre 12:22:35 ASau: would you say "words ." 12:23:00 --- quit: fantazo (Remote host closed the connection) 12:23:07 It depends. 12:23:17 Not when using standard "words". 12:23:47 that is the problem with using forth-like system 12:38:18 if for the c/assembly language or the central idea of either is a prodecure and dynamically allocated memory what is it for forth? the stack and the dictionary 12:38:57 --- join: Nisstyre-laptop (~yours@oftn/member/Nisstyre) joined #forth 12:38:57 --- mode: ChanServ set +v Nisstyre-laptop 12:42:44 Forth dictionary doesn't correspond to dynamically allocated memory. 12:45:24 i didnt think so 12:45:50 its an array like structure or can be abstracted ? 12:47:17 Dictionary can be abstracted, definitly. 12:59:33 ASau: http://cdn.hsmemes.com/2012/9/7/95f5b479e177c956c67ee1d92b84dde3.jpg 13:06:40 One of possible abstractions is the stack of (balanced) search trees. 13:06:59 It has all operations that Forth dictionary supports. 13:07:41 Push, find, push marker, pop marker, walk. 13:08:46 Or you can do a stack of hash tables. 13:09:11 Single-linked list is not the only option as FIG lovers think. 13:12:33 it looks like concrete implementation of this forrth is an array of structs with a maximal value 13:15:26 --- join: fantazo (~fantazo@213.129.230.10) joined #forth 13:15:26 --- mode: ChanServ set +v fantazo 13:16:44 what does "@" mean is the a location? 13:17:07 It is dereference. 13:20:15 i have been reading the "thinking forth book" 13:20:36 i gather you can have a variable 13:20:58 so you would dereference the value of a variable with @? 13:21:09 Well... 13:23:03 "variable a" gives "making a (1): 2250" 13:24:51 Do you understand Lisp? 13:25:44 "variable a" is basically equivalent to (let ((a (make-variable))) ) 13:26:48 In particular, you can rewrite "variable a" as "align here 1 cells allot constant a" 13:26:49 in lisp you have either atoms or a list of atoms 13:27:01 No. 13:27:07 You have more kinds of objects. 13:27:13 Even in Scheme. 13:27:13 ok 13:27:29 sadly i have gaps 13:27:44 i come from an engineering background 13:27:52 fortran then c 13:27:58 all done badly 13:28:03 That's bad. 13:28:14 In short, there're two operations: 13:28:20 yeah but we all have start some place 13:28:22 object creation and binding. 13:29:01 "variable a", "constant a", ": a", "create a" etc. do almost the same: 13:29:08 ok 13:29:11 they create some object, then bind it to name "a". 13:29:37 is the object an integer or a cell or something else? 13:29:42 "constant a" is the most primitive, it just stores (reference) to object. 13:30:13 "variable a" allocates 1 cell of memory and binds "a" to address of that cell. 13:30:34 ": a" creates execution token and binds "a" to said execution token. 13:31:05 it seems that the gentleman who wrote this forth has made a concerted effor to implement the items you have spoken about 13:31:29 (with additional semantics that it executes said token following certain rules). 13:31:49 It depends on which Forth you look at. 13:32:15 (It may easily be that I am that very "gentelman".) 13:32:17 this the creation of one person (Todd Coram) called U forth 13:32:19 its smally 13:32:25 its small 13:32:35 if your todd coram your the man! 13:32:51 Well... Never heard of that person. 13:32:51 the code is small enough to fit in an mcu 13:33:06 That depends on MCU. 13:33:12 Z80 is MCU these days. 13:33:30 http://www.maplefish.com/todd/ 13:33:32 yeah 13:33:43 and yeah 13:36:09 are there basic sets of ideas that a forth has to do to be a forth 13:36:36 you have to have to have certain sets of stack ops and you have to able to add words to the dictionary 13:36:58 you have to be able to a word via ": word ..... ;" 13:40:03 ASau: thanks i better take care of some chores before the day is over 13:40:11 --- part: black_13 left #forth 13:56:23 --- join: ncv (~quassel@92.85.32.145) joined #forth 13:56:23 --- quit: ncv (Changing host) 13:56:23 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 13:56:23 --- mode: ChanServ set +v ncv 15:58:42 --- quit: ncv (Ping timeout: 246 seconds) 17:03:50 --- quit: MayDaniel (Read error: Connection reset by peer) 17:05:33 --- join: kumul (~kumul@adsl-72-50-90-224.prtc.net) joined #forth 17:05:33 --- mode: ChanServ set +v kumul 17:15:45 --- join: Onionnion (~ryan@adsl-68-254-173-230.dsl.milwwi.ameritech.net) joined #forth 17:15:45 --- mode: ChanServ set +v Onionnion 17:37:12 --- join: esso (~esso@cpe-071-068-210-176.sc.res.rr.com) joined #forth 17:37:12 --- mode: ChanServ set +v esso 17:51:14 --- quit: fantazo (Read error: Operation timed out) 17:59:41 --- part: esso left #forth 18:09:19 --- join: ttmrichter (~ttmrichte@61.184.206.218) joined #forth 18:09:19 --- mode: ChanServ set +v ttmrichter 18:28:25 --- join: fantazo (~fantazo@91-119-220-149.dynamic.xdsl-line.inode.at) joined #forth 18:28:26 --- mode: ChanServ set +v fantazo 21:49:37 --- quit: Onionnion (Quit: Leaving) 21:51:34 --- quit: kumul (Quit: WeeChat 0.3.8) 21:59:26 --- join: ncv (~quassel@92.85.32.145) joined #forth 21:59:26 --- quit: ncv (Changing host) 21:59:26 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 21:59:26 --- mode: ChanServ set +v ncv 22:21:03 --- quit: RodgerTheGreat (Quit: RodgerTheGreat) 23:21:58 --- quit: cataska_ (Ping timeout: 256 seconds) 23:45:46 --- join: cataska (~cataska@210.64.6.233) joined #forth 23:45:46 --- mode: ChanServ set +v cataska 23:54:48 --- quit: ncv (Ping timeout: 244 seconds) 23:59:59 --- log: ended forth/12.09.30