riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

Command-line switch to evaluate an expression and print the result #62

Open darrylabbate opened 1 year ago

darrylabbate commented 1 year ago

cc:

This is a throwback to the old implicit printing functionality. I think something simple like -E can be supported. The only unknown is how (or if) to handle multiple expressions, or if the string passed to the interpreter should be treated literally as wrapped by a call to print().