Draft of how Actions can be implemented. It uses maybe a little more memory than necessary because it duplicates the input line even if it's not modified but I believe that since the input is a single line and it goes out of scope as soon as it reads another line it's not very important to optimize this and this way it's easier to write/understand
Draft of how
Actions
can be implemented. It uses maybe a little more memory than necessary because it duplicates the input line even if it's not modified but I believe that since the input is a single line and it goes out of scope as soon as it reads another line it's not very important to optimize this and this way it's easier to write/understand