|
|
|
|
|
by thaumasiotes
1937 days ago
|
|
> you can transpile any bit of Python or Lisp or Haskell or Rust or JS into C but the opposite isn’t necessarily true because not all those language support all the features exposed in C (such as goto Turing-completeness tells you that it is in fact necessarily true that you can convert any bit of C into a corresponding bit of Python, Lisp, or Haskell. One obvious approach would be to emit code that implements a C runtime. For goto in specific, you don't even need to do that. You don't need a goto keyword to implement goto functionality. |
|