3 ms·
This can be transpiled into SQL which makes it then trivial that it can do everything SQL can do. SQL is Turing complete so it can do anything PRQL can do. EDI
by Beltiras 4y ago
This can be transpiled into SQL which makes it then trivial that it can do everything SQL can do. SQL is Turing complete so it can do anything PRQL can do.
EDIT: I'm sorry, I didn't realize that even if something transpiles from one language to another it does not guarantee that one language can generate all strings of another language. But taking a look at the abstractions PRQL offers I would be very surprised to find it not capable of it.
- ComputerGuru 4y agoThe second part of your statement is fine, but the first part is just a complete fallacy. I can transpile a pure language exposing only `if`, `while`, and `for` with no standard library and no interop to C - that definitely does not make it "trivial" that it can do everything SQL can do.
- Beltiras 4y agoI realized this after posting and edited the post. Thanks.
- ComputerGuru 4y agoNo problem. (I didn't downvote.)