Closed jprendes closed 4 years ago
Running ./arrow ../examples/argtest.ar hello prints Error: Parse error Running ./arrow ../examples/argtest.ar 123 prints 123
./arrow ../examples/argtest.ar hello
Error: Parse error
./arrow ../examples/argtest.ar 123
123
I would expect ./arrow ../examples/argtest.ar hello to print hello
hello
Ohhh, I see, I need to run ./arrow ../examples/argtest.ar '"hello"'. That seems a bit convoluted.
./arrow ../examples/argtest.ar '"hello"'
Fixed with a program arg tokenizer that no longer requires a string to be in double quotes.
Running
./arrow ../examples/argtest.ar hello
printsError: Parse error
Running./arrow ../examples/argtest.ar 123
prints123
I would expect
./arrow ../examples/argtest.ar hello
to printhello