Talk:Interactive programming (repl): Difference between revisions

Line 50:
 
If an interpreted language is by design able to read the standard input and to interpret it, this is considered like a "command line interpreter", or is just a side effect...? ... E.g. "<tt>awk -f -</tt>" starts AWK reading the source from standard input... and when the input is "finished", it ''executes'' the code... it seems like command line interpretation... can it be considered so? --[[User:ShinTakezou|ShinTakezou]] 23:00, 11 April 2009 (UTC)
:I don't think Awk has a CLI. I would draw the line here and look for a bit more support from the language. Perl's use of its debugger I think would qualify, but both Perl and Python could be called in such a way that they read their program file from standard input. Merely using pseudo-files and/or redirection to enable compilers/interpreters to use standard input in place of a program file name should not be taken, in this task, to be using a CLI. --[[User:Paddy3118|Paddy3118]] 10:24, 12 April 2009 (UTC)
Anonymous user