I'm considering using Python as compiler backend (target). The problem I see is that there is no standard way to "tell" interpreter about origin line (from other language it was compiled). For example, JavaScript uses Source Maps for debugging, but it's not that perfect. Ideally I'd compile down to bytecode (pyc), where arbitrary lines can be set, but as I see, Python bytecode, it's not as portable, is it? Is generating bytecode portable between e.g. Python 3.1 and Python 3.6? What are ways of pointing cross-compiled source lines for python?
What are ways of pointing cross-compiled origin source line for python?
Users browsing this thread: 1 Guest(s)