Liste des Groupes | Revenir à cl c |
On 08.11.2024 23:24, Bart wrote:I currently have three HLL implementations:On 08/11/2024 17:37, Janis Papanagnou wrote:I suppose in a [historic] "C" like language it's impossible to>>
BTW, the same symbols can also be used as an alternative form
of the 'case' statement; the semantic distinction is made by
context, e.g. the types involved in the construct.
You mean whether the 'a' in '(a | b... | c)' has type Bool rather than Int?
>
I've always discriminated on the number of terms between the two |s:
either 1, or more than 1.
distinguish on type here (given that there was no 'bool' type
[in former times] in "C"). - But I'm not quite sure whether
you're speaking here about your "C"-like language or some other
language you implemented.
This is what I've long suspected: that people associate clear, pseudo-code-like syntax with scripting languages.if cond then(Looks a lot more like a scripting language without semicolons.)
s1
s2
else
s3
s4
end
Les messages affichés proviennent d'usenet.