00:00:00 --- log: started forth/08.12.14 00:34:45 what's the correct behaviour for parse-word? if the input buffer is empty, should an empty string be placed there? 00:37:47 and say i have a word like : take2 parse-word parse-word ... ; and i want to define a word which uses take2, but defaults the first with a constant string - how would i do it? 01:12:12 --- join: GeDaMo (n=gedamo@dyn-62-56-77-42.dslaccess.co.uk) joined #forth 01:54:42 It doesn't place anything. 01:54:49 It only parses. 01:55:22 Yes, if it reaches the end of input, it returns empty string. 02:01:11 ASau: did you using gforth for shell script? 02:01:47 Yes. 02:02:42 can you post one?I want learn by example :) 02:10:54 This is how simple AWK one-liner looks in Forth: 02:10:55 http://forth.pastebin.com/m1c3bf96b 02:11:47 pastebin forth O_O 02:15:32 How can I call other script? 02:16:32 Quick and dirty way is SYSTEM. 02:16:47 Or you can use INCLUDE/REQUIRE 02:17:32 Correct way is writing wrapper around vfork(2)+execvp(3) or other similar API. 02:17:36 SYSTEM. ./script.sh? 02:17:43 Or use mine I published on clf. 02:18:02 s" /path/to/script" system 02:18:37 --- join: qFox (i=C00K13S@132pc222.sshunet.nl) joined #forth 02:19:00 I want use git for wikis backend,so 02:19:26 I want use git for wikis backend 02:19:27 There's a wrapper around popen(3), you can use it and build pipes. 02:20:00 Search for OPEN-PIPE and CLOSE-PIPE in the documentation. 02:20:09 :) 02:20:46 note this in my notes,try it later 02:22:48 Thx ASau 03:52:32 hi ASau - 'place' meaning 'empty string placed on stack' - good - saw that gforth was doing that, just wanted to make sure it was standard (my own language interprets it the same way) 03:53:02 parse-word isn't standardized yet. 03:53:12 k 03:55:01 --- quit: gogonkt_ (Read error: 104 (Connection reset by peer)) 03:56:38 i only implemented it to see if i could define a pseudo mvcp protocol directly on the stack (i used parse instead of parse-word for brevity as well) - basically, in mvcp, you have n units - each unit can play media and you can control each (like load