Showing only posts tagged programming. Show all posts.

Multi-line statements with PLY

I've been experimenting with PLY and was encountering an obscure error that was surprisingly Google-resistant. I've been building up a language and a REPL to interpret commands. When trying to parse a statement spanning multiple lines, I would get an error {TypeError}Can't convert 'type' object to str implicitly. Debugging …

« newer articles | page 6 | older articles »