Category:EMal: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9:
EMal is a prototyping programming language that supports english and italian syntax.
EMal wants to be expressive and easy to
This is an example that, inside the same script, calculates <i>F<sub>10</sub></i> = 55 in english and in italian:
<syntaxhighlight lang="emal">
type FibonacciInEnglish
Line 20:
end
writeLine(fibonacci(10))
tipo
funzione fibonacci = intero da intero n
se n < 2
Line 30:
scriviLinea(fibonacci(10))
</syntaxhighlight>
|