00:00:00 --- log: started forth/12.01.14 00:34:04 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 00:40:36 --- quit: MayDaniel (Read error: Connection reset by peer) 02:24:14 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 02:49:56 --- quit: karswell (Read error: Connection reset by peer) 03:27:15 --- quit: ttmrichter (Quit: Leaving) 03:28:42 --- quit: MayDaniel (Read error: Connection reset by peer) 03:35:25 --- join: ttmrichter (~ttmrichte@2001:41c8:1:5696::169) joined #forth 03:55:01 --- join: IAmHere (~IAmHere@c-50-134-156-54.hsd1.co.comcast.net) joined #forth 04:15:09 --- join: IAmHere_ (~IAmHere@c-50-134-156-54.hsd1.co.comcast.net) joined #forth 04:17:14 --- quit: IAmHere (Ping timeout: 240 seconds) 04:17:14 --- nick: IAmHere_ -> IAmHere 05:27:41 --- join: xpololz (~xpol@50.80-203-124.nextgentel.com) joined #forth 06:16:53 --- join: ygrek (~user@gateway/tor-sasl/ygrek) joined #forth 06:42:06 --- part: IAmHere left #forth 07:54:34 --- quit: ttmrichter (Quit: Leaving) 07:56:59 --- join: karswell (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 08:58:56 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 09:34:29 --- quit: MayDaniel (Read error: Connection reset by peer) 10:32:56 --- join: _SPT_ (~Steve@host-92-4-61-74.as43234.net) joined #forth 10:32:57 --- quit: _SPT_ (Changing host) 10:32:57 --- join: _SPT_ (~Steve@unaffiliated/-spt-/x-5624824) joined #forth 10:34:21 --- quit: _SPT_ (Client Quit) 13:32:21 --- quit: karswell (Excess Flood) 14:04:13 --- join: fantazo (~fantazo@85-127-156-169.dynamic.xdsl-line.inode.at) joined #forth 14:43:40 --- quit: ygrek (Quit: Leaving) 15:32:06 --- join: crcx (~crcx@184.77.185.20) joined #forth 15:47:42 --- quit: crcx (Remote host closed the connection) 15:48:53 --- join: crcx (~crcx@184.77.185.20) joined #forth 16:32:26 --- quit: xpololz (Quit: Leaving) 16:32:28 --- quit: crcx (Remote host closed the connection) 16:32:45 --- join: crcx (~crcx@184.77.185.20) joined #forth 16:46:20 --- quit: crcx (Remote host closed the connection) 16:47:24 --- join: crcx (~crcx@184.77.185.20) joined #forth 16:59:53 --- join: steampunkey (4e868062@gateway/web/freenode/ip.78.134.128.98) joined #forth 17:00:10 hey. is there a cheatsheat for forth that you know of? 17:03:41 dpANS 17:04:19 What do you need exactly? 17:04:34 a cheatsheet. 17:04:57 What should it contain? 17:05:13 Perhaps you should start from analyzing your needs. 17:05:27 forth basic syntax (and its stdlib i reckon) 17:05:32 Just a "cheatsheet" is vague. 17:05:37 Hrm. 17:05:45 What do you call "basic syntax"? 17:05:58 well you could throw one at me if it exists, i'd tell you if it suits me 17:06:00 And there're no "stdlib" at all. 17:06:23 Find dpANS document on Taygeta or anywhere you like. 17:06:41 that's so not a cheatsheet 17:06:56 that's -furthering the analogy- a textbook. 17:07:28 That's not a textbook in any sense. 17:07:47 it's more a textbook than a cheatsheet 17:07:59 If you need to recover how exactly the word behaves, you need it. 17:08:20 Otherwise there's nothing to remember. 17:09:11 --- quit: crcx (Remote host closed the connection) 17:13:17 i'll take that as a "no". 17:13:41 --- join: crcx (~crcx@184.77.185.20) joined #forth 17:14:31 ASau`: anyway, i know a few programming languages, among them C, scheme and assembly. i don't have the nerve for the "forth is very different" intros. can you reccomend a tutorial that is... "hard"? with more code than words so to speak? 17:14:51 *not* a book 17:14:51 Read the code. 17:15:15 Forth is simpler than Scheme, it doesn't have continuations to explain. 17:15:27 And no TCE to explain either. 17:19:44 sigh 17:20:47 What do you want? 17:21:30 This is different language, it isn't Scheme with another syntax. 17:21:46 Or with another set of primitives. 17:21:48 it's pretty close though 17:21:54 Not at all. 17:22:18 afai have managed to see. which isn't much admittedly, because some guy i asked gave me the standard -_- 17:23:35 To get to Forth from Scheme you need 17:23:42 first, get rid of continuations, 17:23:49 second, get rid of TCE, 17:24:24 third, get rid of cons structures along with parameter lists, 17:24:59 fourth, introduce parameter list combinators (to swap and duplicate parameters), 17:25:25 ASau`: i bet that's the only thing you need to introduce 17:25:32 and only then you may get postfix syntax instead of prefix one. 17:26:16 you say forth is a stripped scheme, how is that "not at all" close? 17:26:49 main point of difference polish instead of prefix notation :-) 17:26:51 No, I don't say that. 17:27:07 I say that Forth is very far from Scheme. 17:27:19 See reasons why above. 17:27:47 1-3 are essential ones. 17:27:47 yes, and yet you imply that the difference is that Scheme has more stuff 17:27:59 It isn't just more. 17:28:04 It is _fundamentally_ more. 17:28:26 You cannot "just implement" first class continuations. 17:29:22 Even TCE isn't easy to implement in Forth, 17:29:39 it involves breaking established semantics of definitions. 17:32:16 --- quit: steampunkey (Ping timeout: 258 seconds) 17:33:14 --- join: steampunkey (4e868062@gateway/web/freenode/ip.78.134.128.98) joined #forth 17:33:39 imagine trying to convince a guy who knows C++ that C is very different because it *lacks* stuff. 17:34:10 The relation is different. 17:34:50 i understand that constraints may make it harder to think in Forth than in Scheme. I don't care, I actually find wrapping my head around it fun (unlike learning new abstractions - ie going higher). 17:35:01 C++ is close to C with somewhat "object oriented" stuff plus more strict typing rules and procedure overloading. 17:35:10 Scheme is very far from Forth. 17:35:39 all that i need is to familiarize myself with the basic syntax and the basic ways to do things. that's why i need exmples with only few words. and that's what i ask(ed) for. 17:36:57 ASau`: OOP + own stdlib expansion pack, templating, now even lambdas.... but none of that matters 17:37:16 Ah, right, templates. 17:37:34 There's one problem with templates, 17:37:39 but it is really big one. 17:37:52 they suck? :-) 17:38:01 Worse. 17:38:20 They are too powerful and thus very hard to reason about. 17:38:42 You can write something and not know how exactly it works with your compiler. 17:39:56 btw. your failure to mention true contention points between scheme and forth encourages me to think that forth's way of doing things will be easy to master. 17:39:59 (and fun) 17:40:17 unfortunately, it seems i'll have to figure out on my own how exactly. 17:40:34 It depends on what you call "Forth's way." 17:40:57 forth for schemers single-(web!)page tutor would be great 17:42:00 If you mean doing patch up work then "Forth's way" is easy to master, right. 17:42:19 If you mean doing things in a correct way, then Forth is far from being easy. 17:42:30 ASau`: i worked with postfix notation in C (there was an excercise to basically make a parser-calculator, which i now realize probably interprets a subset of Forth XD) 17:43:17 Ah, right, there's another thing that is fundamentally lacking in Forth. 17:43:21 Two of them. 17:43:26 with so few low-level abstractions, how can you write anything incorrectly? 17:43:36 First class functions and lexical environment. 17:43:43 seems to me - if it works, it's good. 17:44:08 Patch up, right. 17:44:13 Sure, it is easy. 17:44:18 Somewhat. 17:44:31 -_- 17:44:45 You understand that it is wrong only when you need to scale up. 17:45:06 it's like you really really want to make forth to be something special, therefore hiding from me the fact that it is special in its simplicity (a good thing, also a good thing with scheme) 17:45:33 Is C easy? 17:45:43 definitely not. 17:45:57 Then why do you think Forth is? 17:46:02 its syntax is overwhelming, its stdlib is enormous. 17:46:19 Forget libc. 17:46:25 Is C easy? 17:46:29 Without libc. 17:46:35 Forth's syntax is easy, and you said it has no stdlib 17:46:42 Forth's syntax isn't easier. 17:46:46 * i reckon, again, you gave me nothing 17:46:52 It all depends on what you call syntax. 17:47:04 If you mean lexical structure, then C isn't much harder. 17:47:28 If you consider valid sentences (even phrases) Forth is harder. 17:48:18 for (c=getc(fd); *c!='\n'; ++i) printf("%c", c); <-- that's pretty awful 17:48:32 lacking such constructs, Forth is bound to be easier 17:48:39 Not at all. 17:48:49 invalid C though 17:49:12 ASau`: you do realize that things are not necessarily the way you want them to be, even if you say it out loud? 17:49:59 begin getc dup 10 <> while s" %c" printf while 1 i +! repeat true abort" failed" else ." succeded" then 17:50:05 Valid Forth. 17:50:25 Well... 17:50:27 Actually not. 17:50:34 Find the mistake. 17:50:46 none of those words are defined? 17:51:00 All of them except getc and printf. 17:51:18 All of them except getc and printf are defined in standard. 17:51:24 * steampunkey finds out that Forth has a while loop. progress. 17:51:49 You should have read something introductory then. 17:51:57 Cheatsheet doesn't help it. 17:52:03 facepalm 17:52:55 this is futile i reckon. you won't give me anything. 17:53:15 Why cannot you use your web search skills? 17:53:23 dpANS isn't hard to find. 17:53:39 You can find even newer standard draft. 17:54:05 ASau`: i already had the tab opened before i got here. and that's not what i asked for. therefore my conclusion stays the same 17:54:06 (From which you can find that Forth became even more complex...) 17:54:29 You should start from telling your needs. 17:54:41 Abstract cheatsheet won't help you. 17:54:52 i told you exactly what i need 17:55:01 I told you what I use as cheatsheet. 17:56:02 i see i really am going to have to paste you a cheatsheet 17:57:56 ASau`: this is a cheatsheet: http://luauf.com/wp-content/uploads/2008/06/javascript_cheat_sheet.png 17:59:20 I cannot understand anything from it. 17:59:26 How does it help? 18:00:09 Alright, I recognise ERE, but why do I need it in "javascript" cheatsheet? 18:00:56 and then i caught a fish: this big: -------o.o--------- . It was a harringe. It was red. 18:02:01 if you don't know what i told you with that, finding out will be very good for you. 18:03:06 mind my spelling though. here: http://en.wikipedia.org/wiki/Red_herring 18:04:02 Why do you think that cheatsheet of quality comparable to the one for javascript will help you in any way? 18:04:07 there's a whole crossection of logic and demagogy dealing with how to successfully debate, but after this, i'd argue even talk about random things. 18:05:09 Do you have any knowledge of formal grammars? 18:05:15 i don't claim to know the whole section, but i've heard of a few logical fallacies, and i mind my manner of discussion. it helps you be objective. and that's cool. 18:05:33 i'm familiar with the BNF, yes. 18:06:06 i'm still not sure what the point of this is. 18:06:46 Forth syntax is hardly context-free. 18:08:01 eg.? 18:08:42 E.g. conditionals and loops. 18:09:03 i was hoping for code. 18:09:35 See above one of examples of how conditionals and loops interact. 18:10:23 :-/ 18:10:36 ASau`: cya bro 18:10:40 --- part: steampunkey left #forth 18:10:55 You can replace "i" with some random name so that the code is more or less correct. 18:15:13 Hm. 18:15:32 It is possible that Forth syntax isn't even PS. 18:16:00 Or is it? 18:25:35 It seems to depend on whether cell is fixed-width or not. 18:42:39 --- quit: crcx (Quit: crcx) 18:50:35 --- join: ttmrichter (~ttmrichte@2001:41c8:1:5696::169) joined #forth 20:52:02 --- nick: ASau` -> ASau 23:09:35 --- join: karswell (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 23:59:59 --- log: ended forth/12.01.14