Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can't easily search / grep etc. an IR, unless you use some kind of reverse translator. Readable source files have their benefits in being simple in that sense.


Imagine having to write a new diff tool for each language!


You don't need a special grep for every language, you just need a tool that translates the mini version into the formatted version and back. Then you chain the tools, just like anything else in UNIX.


Seems reasonable. Since you're likely to perform this translation more than once for any given file, it seems like it would be practical to cache the translated output, perhaps as a file on disk.


> unless you use some kind of reverse translator

Would a few decades help in universally having such a translator in all the tools?


In all the tools? No, you'd need an infinite amount of time for that.


The tools didn't require an infinite amount of time to write, why would it take infinity to change a format??? (but no not all the tools, just all the ones that are used)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: