Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Opal (programming language)
Programming language

OPAL (OPtimized Applicative Language) is a functional programming language first developed at Technische Universität Berlin.

There is a later framework for static code analysis also called Opal.

We don't have any images related to Opal (programming language) yet.
We don't have any YouTube videos related to Opal (programming language) yet.
We don't have any PDF documents related to Opal (programming language) yet.
We don't have any Books related to Opal (programming language) yet.
We don't have any archived web articles related to Opal (programming language) yet.

Example program

This is an example OPAL program, which calculates the GCD recursively.

Signature file (declaration) SIGNATURE GCD FUN GCD: nat ** nat -> nat Implementation file (definition) IMPLEMENTATION GCD IMPORT Nat COMPLETELY DEF GCD(a,b) == IF a % b = 0 THEN b ELSE IF a-b < b THEN GCD(b,a-b) ELSE GCD(a-b,b) FI FI

References

  1. "Opal". TU-Berlin/opal - Optimized Applicative Language. Retrieved 2023-09-23. https://github.com/TU-Berlin/opal

  2. "Home page". OPAL Project. Retrieved 2023-11-25. https://www.opal-project.de/