Sujet : Re: Command Languages Versus Programming Languages
De : invalid (at) *nospam* invalid.invalid (Richard Kettlewell)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 29. Mar 2024, 13:40:03
Autres entêtes
Organisation : terraraq NNTP server
Message-ID : <wwv34s92rn0.fsf@LkoBDZeT.terraraq.uk>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Muttley@dastardlyhq.com writes:
My rule of thimb is that a scripting language is one whereby the source code
can be run immediately by the interpreter, eg perl, python, regardless of
what happens internally. A full fledged programming language is one that
requires a compile/debug/link step first with the compiler and runtime (if
required) being seperate. eg Java, C
C can be a scripting language by that rule:
$ cat t.c
#!/usr/bin/tcc -run
#include <stdio.h>
int main(void) {
return printf("Hello, world\n");
}
$ ./t.c
Hello, world
-- https://www.greenend.org.uk/rjk/