[Feature] Add option --stringCode
to commands compile
, run
and analyse
to allow the use of code as a cmd argument
#100
Closed
2 tasks done
Labels
feature
New feature or enhancement
Is there an existing proposal for this?
This feature does not exist in the latest version
Proposal
Implement the support for the
-s
cmd argument that allows a string to be passed to the Kipper compiler.Exact behaviour you want
Implement the
-s
option to the Kipper commandscompile
,run
andanalyse
and allow the analysis/compilation/execution of strings.For example:
kipper run --stringCode="call print(\"Hello world!\");"
This command should execute the string as if it were a file using the default
anonymous-script
file identifier.The text was updated successfully, but these errors were encountered: