How could a quine in my programming language look?
- by ads
I have created a turing-complete programming language (already proven) so it must be possible to write a quine for it, right?
But all quines I know store their source code in a string and then replace a special character in it using something like chr and ord.
My language only has the following
Basic arithmetics
Int and string types
Variables
== operator
Conditional gotos
I have no idea how I could write a quine as I have no real string manipulation available, I can only output constant strings. Yet, it is 100% turing-complete.