Showing only posts tagged language. 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 …

Pypeline update

I've pushed some changes to the pypeline repository, adding basic stacking functionality. There isn't any registration, it only takes the median of each channel (R, G, B) for each pixel. It's currently way slow, but I suspect there is substantial room for improvement there. Wrangling NEF files has proven more …