Talk:G arD^EN CorUtY@rD

From Esolang
Jump to navigation Jump to search


The BCT aspect of this sucked me in and I couldn't resist trying out an ANSI art style interpreter: I don't know how well it'll work under Windows or Mac with line endings and ANSI, but it works under Linux. I'd like it to be portable, so if anyone has any pointers let me know. There's an image to show the final output. The `@` character runs around the courtyard as the program progresses. I'm not sure if I've made a mistake interpreting the spec, or the example orders the characters incorrectly, but I output the 'i' before the 'H'. The command queue confused me a little, I wasn't sure why the commands couldn't be actioned immediately, but it seems to work out either way. Consider this a start interpreter, it's very quickly thrown together, Input and wrapping/restart aren't even attempted. Enjoy! Salpynx (talk) 01:27, 3 August 2022 (UTC)

Update: I figured out why the output was reversed, I mis-interpreted K as ignorable padding. It actually ends the initial datastring. Fixed now and outputs 'Hi' as expected. Salpynx (talk) 02:44, 4 August 2022 (UTC)

Thank you! I really didn't know how to implement this myself (I haven't messed around with implementing 2d languages much). I really like the syntax highlighting; it looks really cool. BoundedBeans (talk) 02:13, 5 August 2022 (UTC)