00:00:00 --- log: started forth/13.12.26 00:01:37 --- quit: tangentstorm (Ping timeout: 260 seconds) 00:04:35 --- join: goingretro (~kbmaniac@host81-132-82-237.range81-132.btcentralplus.com) joined #forth 01:19:29 --- join: dkordic (~danilo@109-93-178-73.dynamic.isp.telekom.rs) joined #forth 01:21:11 --- quit: mnemnion (Remote host closed the connection) 02:05:17 --- join: asie (~textual@178235038113.elblag.vectranet.pl) joined #forth 02:11:37 --- quit: asie (Read error: No route to host) 02:24:55 --- join: asie (~textual@178235038113.elblag.vectranet.pl) joined #forth 03:21:37 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 03:26:00 --- quit: mnemnion (Ping timeout: 246 seconds) 04:41:09 --- quit: asie (Quit: I'll probably come back in either 20 minutes or 8 hours.) 05:08:53 --- join: asie (~textual@178235038113.elblag.vectranet.pl) joined #forth 05:19:24 --- join: Mat3 (~quassel@91-64-101-12-dynip.superkabel.de) joined #forth 05:20:18 --- quit: Mat3 (Client Quit) 05:21:52 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 05:26:21 --- quit: mnemnion (Ping timeout: 246 seconds) 05:49:19 --- quit: true-grue (Quit: No Ping reply in 180 seconds.) 05:49:49 --- join: true-grue (~quassel@176.14.223.53) joined #forth 06:36:34 --- join: _spt_ (~Jaat@unaffiliated/-spt-/x-5624824) joined #forth 08:17:32 --- quit: joneshf-laptop (Ping timeout: 272 seconds) 08:18:53 --- quit: true-grue (Read error: Connection reset by peer) 08:20:07 --- join: true-grue (~quassel@176.14.223.53) joined #forth 08:37:34 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 09:14:59 --- quit: asie (Quit: I'll probably come back in either 20 minutes or 8 hours.) 09:29:10 --- join: joneshf-laptop (~joneshf@086.112-30-64.ftth.swbr.surewest.net) joined #forth 10:04:09 --- join: asie (~textual@178235038113.elblag.vectranet.pl) joined #forth 10:05:07 --- quit: I440r (Quit: Leaving) 10:14:13 --- quit: asie (Quit: I'll probably come back in either 20 minutes or 8 hours.) 10:24:36 --- join: mark4 (~mark4@cpe-192-136-220-10.tx.res.rr.com) joined #forth 10:24:44 --- nick: mark4 -> I440r 10:24:52 --- mode: ChanServ set +o I440r 10:55:47 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #forth 12:03:33 --- quit: I440r (Remote host closed the connection) 12:07:59 --- join: black_13 (434f1272@gateway/web/freenode/ip.67.79.18.114) joined #forth 12:08:07 what is a literal in forth? 12:26:04 --- join: kumul (~mool@173.215.134.230) joined #forth 12:34:45 what do you mean, black_13 ? 12:35:07 the word 1234 is a literal... 12:35:38 there is a word in forth called "literal" isn't there? 12:40:36 --- quit: black_13 (Ping timeout: 272 seconds) 12:45:33 the docs say: Typical use: : X ... [ x ] LITERAL ... ; 12:45:42 ( http://forth.sourceforge.net/std/dpans/dpansa6.htm#A.6.1.1780 ) 12:46:12 what that means is that you're in the middle of defining word X (': X ...') 12:46:36 and you want to calculate some number at compile time ('[ x ]') 12:46:55 but then you want that number to be precompiled and placed on the stack at runtime when X is invoked. 12:47:13 if you knew the number was 5 you would just write : X 5 ; 12:47:54 but since you're calculating it dynamically inside [ ] you don't know what number to put, so you have to write [ ... ] LITERAL 12:48:32 so : X [ 5 ] LITERAL ; and : X [ 2 3 + ] LITERAL ; and : X 5 ; are all the same. 12:48:44 make sense? 12:58:30 --- join: asie (~textual@178235038113.elblag.vectranet.pl) joined #forth 13:19:43 <_spt_> if the know the literal value of x is it worth just using a constant? 13:19:52 <_spt_> * you 13:20:48 --- quit: true-grue (Read error: Connection reset by peer) 13:22:25 _spt_: yes if you know it's going to be 5, you should just write 5. what i meant by 'are all the same' is that all of those programs (probably) produce exactly the same compiled interpretation. 13:22:54 i don't know the word. the same series of compiled cells in the dictionary. 14:28:18 --- join: _spt2_ (~Jaat@host-92-12-210-91.as43234.net) joined #forth 14:32:33 --- quit: _spt_ (Ping timeout: 272 seconds) 14:37:38 --- join: _spt_ (~steve@unaffiliated/-spt-/x-5624824) joined #forth 14:43:37 --- quit: _spt_ (Quit: Leaving) 15:04:48 --- quit: obobo (Remote host closed the connection) 15:10:14 --- quit: Anarch (Read error: Operation timed out) 15:10:28 --- join: Anarch (~olaf@c-67-183-64-49.hsd1.wa.comcast.net) joined #forth 15:13:41 --- quit: _spt2_ (Quit: gone) 15:32:07 --- quit: asie (Quit: I'll probably come back in either 20 minutes or 8 hours.) 16:14:21 --- join: obobo (~d@dyn-dsl-pt-98-124-47-131.nexicom.net) joined #forth 17:55:36 --- join: obobo_ (~d@dyn-98-124-31-164.nexicom.net) joined #forth 17:57:59 --- quit: obobo (Ping timeout: 245 seconds) 18:28:24 --- quit: kumul (Quit: Leaving) 20:33:36 --- quit: kulp (Ping timeout: 240 seconds) 20:35:04 --- join: kulp (kulp@unaffiliated/kulp) joined #forth 21:53:04 --- join: true-grue (~quassel@95-25-94-201.broadband.corbina.ru) joined #forth 22:08:21 --- quit: nisstyre (Ping timeout: 272 seconds) 22:13:25 --- join: nisstyre (~yours@oftn/member/Nisstyre) joined #forth 22:36:25 --- join: Bahman (~Bahman@2.146.217.75) joined #forth 22:37:00 --- quit: Bahman (Read error: Connection reset by peer) 23:18:46 --- join: mnemnion_ (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 23:19:37 --- quit: bjorkintosh (Ping timeout: 246 seconds) 23:20:19 --- quit: tangentstorm (Ping timeout: 246 seconds) 23:21:22 --- quit: mnemnion (Ping timeout: 246 seconds) 23:33:25 --- join: bjorkintosh (~bjork@ip68-13-229-200.ok.ok.cox.net) joined #forth 23:34:25 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #forth 23:39:50 --- join: goingretro2 (~kbmaniac@host81-132-82-237.range81-132.btcentralplus.com) joined #forth 23:46:42 --- quit: dkordic (*.net *.split) 23:46:42 --- quit: goingretro (*.net *.split) 23:46:46 --- quit: dzho (*.net *.split) 23:46:46 --- quit: koisoke_ (*.net *.split) 23:59:59 --- log: ended forth/13.12.26