Category:Zoea: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
No edit summary
Line 7: Line 7:
|compat=structural
|compat=structural
|parampass=value
|parampass=value
|site=http://zoea.co.uk/
}}{{language programming paradigm|Declarative}}
}}{{language programming paradigm|Declarative}}



Revision as of 10:22, 1 May 2020

Language
Zoea
This programming language may be used to instruct a computer to perform a task.
Official website
Execution method: Interpreted
Garbage collected: Yes
Parameter passing methods: By value
Type strength: Strong
Type compatibility: Structural
Type checking: Dynamic
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using Zoea.


Zoea is a simple declarative programming language based on the concept of inductive programming. Instead of writing code in the conventional sense the zoea developer describes the behaviour of a program as a set of scenarios consisting of inputs and associated outputs. As a result zoea programs resemble a set of functional test cases. The zoea compiler turns the zoea program into internal bytecode that is interpreted at runtime.

The zoea language takes little time to learn. Programming in zoea mostly involves creating examples of data that demonstrate the required behaviour.

Zoea includes a number of features that allow it to produce larger programs. These include the ability to specify one or more intermediate values between an input and an output. It is also possible for smaller programs to be combined to form larger programs.