Saturday, June 1, 2024 at 3:14 PM
I just added array support in my language. It works great with the "left" and "right" commands I added yesterday. http://www.philippe97.ca/phil2bf/ Here is a program that reads a string and prints it back when you press Enter.
array str 10 # read until lf right 1 get str decby str '\n while str incby str '\n right 1 get str decby str '\n end incby str '\n # rewind while str left 1 end # print right 1 while str put str right 1 end