From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 23 Feb 2009 19:23:47 -0500 From: mattmobile@proweb.co.uk To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: [9fans] R G Loeliger meets Glenda Topicbox-Message-UUID: a73a6608-ead4-11e9-9d60-3106f5b1d025 My first stab at a TIL was in AVR assembler but it was more fun to write the code than to find a way to use it. I still don't have a use but at least I don't have to run it on the AVR anymore to experiment first an example run cpu% /n/sources/contrib/maht/rc/til abc¯def 123 emit abc def 123 : emit4 emit emit emit emit 1 2 3 emit4 321 1 swp 3 2 swp dup dup drop emit4 emit 3321 As you may see gets converted to newlines and ¯ (alt__ in plan9, alt0175 on the numpad in windows drawterm) gets converted to a space (any better ideas?) It's the fruit of an evening's playing, so I've got a few features to add yet (saving the words will be trivial as you should see from the code) I should give props to BashForth for giving me the idea, but I've not looked at any of it's code (ugh). matt