Talk:ACL

From Esolang
Jump to navigation Jump to search

Python Interpreter

Is it alright if I make a direct port of the Java interpreter in Python? Because I am unable to access anything that could compile Java, but I do have access to IDLE, etc. Hey, that's a good meme! JonoCode9374 (talk) 07:10, 31 July 2019 (UTC)

You unquestionably can. --A (talk) 08:22, 31 July 2019 (UTC)
Absoutely --User:Hanzlu
All done! Hey, that's a good meme! JonoCode9374 (talk) 03:21, 1 August 2019 (UTC)
Great!! I run the example code programs and found two errors in the interpreter. The first one in case 'C', where the return value from the toDec function should be converted to a string in order for Python to concatenate it to the cOutput string. And secondly where it handles 'E', it was supposed to be t += code[x] instead of t += code[i] (else it remains in an infinite loop). I added the edited Python compiler to my ACL repository. You can copy the code and use it if you want. I mention your interpreter in the README and will delete the Python interpreter from my repository once you have copied the code, as it is your work and creation. --User:Hanzlu 08:56, 1 August 2019 (UTC)
I'll fix the interpreter tomorrow, but feel free to keep the python interpreter in your repository. After all, it is essentially _your_ work (ie. The Java interpreter) just shamelessly translated line by line to python. Hey, that's a good meme! JonoCode9374 (talk) 09:30, 1 August 2019 (UTC)
If you say so. --User:Hanzlu 09:44, 1 August 2019

Comments

Do you think that comments will be a part of ACL? Hey, that's a good meme! JonoCode9374 (talk) 11:53, 3 August 2019 (UTC)

They are possible to have. --User:Hanzlu 13:55, 3 August 2019 (UTC)
Probably not, I think machine code does not have comments. "Jeśli ci się nie podoba, nie używaj go. " -- fishHDR; A (Mów) 02:16, 3 August 2019 (UTC) 03:14, 5 August 2019 (UTC)