2

I started using 010 Editor few days ago. Its template is amazingly powerful. But it's a shame these templates not able to be used directly with scripting languages like Ruby and Python. it's maybe a good personal project to build a python/ruby module.

Am I the first person with this idea? I don't think so. is there already a project I can contribute to? Or there is some legal issues?

(I did google but seems no result)

2
  • Yes, I've had this idea myself and also pitched it to the author. He wasn't too fond of it. You'll find that the biggest advantage of the template language is its likeness to C, but its greatest weakness are the differences where it doesn't follow the C semantics close enough. It won't matter until you have big files and do a reasonable amount of processing, but in that case LuaJIT would likely be the better choice anyway. However, there is no plugin interface in 010 Editor, so you'd have to go through hoops. Simpler to take a FLOSS editor and modify it.
    – 0xC0000022L
    Nov 25, 2013 at 10:53
  • 1
    @0xC0000022L I'm looking into parslet (kschiess.github.io/parslet), cparser (github.com/postmodern/cparser), and bindata (github.com/dmendel/bindata). see if they can be combined to make something
    – wangii
    Nov 25, 2013 at 21:07

1 Answer 1

5

I was searching for something similar and I found pfp! pfp is a python-based interpreter for 010 template scripts. Also take a look at the blog post.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.