Curly-bracket Programming Languages
The Curly bracket programming languages which have syntax that defines statement blocks using the “curly bracket” or “brace” characters { and }. It is strongly influenced by C language. There are many programming language which are using curly brace which are C, C++, Objective-C, Java, C#, PHP, JavaScript, Perl many more.
Examples of Curly-bracket Programming Languages
{` prime
where
prime = 2 fby (n whenever isprime(n));
n = 3 fby n+2;
isprime(n) = not(divs) asa divs or prime*prime > N
where
N is current n;
divs = N mod prime eq 0;
end;
end
`}