Jump to content

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 be read.
 
This is an example that, inside the same script, calculates <i>F<sub>10</sub></i> = 55 in english and in italian:
This is an example
<syntaxhighlight lang="emal">
type FibonacciInEnglish
Line 20:
end
writeLine(fibonacci(10))
tipo FibonacciInItalianFibonacciInItaliano
funzione fibonacci = intero da intero n
se n < 2
Line 30:
scriviLinea(fibonacci(10))
</syntaxhighlight>
 
===Implementation===
The main interpreter is implemented in [[C#]] and directly navigates the AST, it should run in architectures where dot net is supporter, and has no external dependencies.
226

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.