From: Chris Shea Date: 2008-05-11T16:20:11+09:00 Subject: Re: The Turing Machine (#162) On May 10, 10:20 pm, Matthew Moss wrote: > Just so you guys know, I have no intentions of starting Turning > Machine Quiz. I have enough work to do as it is writing summaries for > Ruby Quiz, and I *really* don't want to read a bunch of turing machine > code. > > :) Just kidding... > > (No I'm not. ;) Too bad. I've started on a DSL for creating Turing machine code. I just generated a 1,568 line program to reverse a lowercase word. $ ./tm rev.tm ruby ybur $ ./tm rev.tm turing gnirut $ ./tm rev.tm racecar racecar $ time ./tm rev.tm abcdefghijklmnopqrstuvwxyz zyxwvutsrqponmlkjihgfedcba 0.84s user 0.01s system 99% cpu 0.857 total http://pastie.textmate.org/195072 Chris