Sujet : Re: Command Languages Versus Programming Languages
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 29. Mar 2024, 22:59:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uu7a2m$ghfn$4@dont-email.me>
References : 1 2
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Fri, 29 Mar 2024 10:37:22 +0100, Janis Papanagnou wrote:
Program text is initially text.[*] During parsing (either in
an interpreted or in a compiled language) you split the text
in tokens.
And then, how do you interpret the tokens? In a shell language, you have
the assumption that “everything is literal text until indicated
otherwise”; in a programming language, you have the assumption that
“everything is a program construct until indicated otherwise”.