In Zig's self-hosted compiler, they are called Flag. I call them Argument, but they could be called Option too.
I thought a little about it, and if we treat programs like functions then we could apply the same logic. As far as I know, functions have parameters and are called with arguments. Aka the declaration is parameters and the values are arguments, so maybe we should call the struct Parameter?
This is an issue because naming is important.
In Zig's self-hosted compiler, they are called
Flag
. I call themArgument
, but they could be calledOption
too.I thought a little about it, and if we treat programs like functions then we could apply the same logic. As far as I know, functions have parameters and are called with arguments. Aka the declaration is parameters and the values are arguments, so maybe we should call the struct
Parameter
?Idk. I'll think about this for a while.