On Tue, Nov 11, 2008 at 12:53 AM, Tuomo Valkonen <[EMAIL PROTECTED]> wrote: > On 2008-11-10, Tuomo Valkonen <[EMAIL PROTECTED]> wrote: >> And Haskell just sucks for the moderately object-oriented approach that is >> "obvious" for certain things. > > OTOH, Haskell and Parsec [1] are simply wonderful for writing parsers.
Do you find that's the case because of pattern-matching function definition syntax ? I wrote a lambda-calculus to SECD machine [1] compiler (not parser) and an SECD machine emulator [2] in (completely singly-threaded) Erlang, and found it easy for this very reason. [1] http://en.wikipedia.org/wiki/SECD_machine [2] ok, so I didn't get the RAP instruction to work because I didn't think of a good workaround for the lack of a lisp "rplaca"-like function before the semester ran out. I had some good ideas for how to do it after the semester ended, though.
