you were programming in text, a very popular programming language that i'm using right now :)
here is a peg grammar:
text = $.*
you can try it at https://pegjs.org/online :)edit: sry to disappoint but this matches binary files too :(