Sage-Code Laboratory
index<--

Eve Language

Eve empowers developers with a domain-specific, modular programming language. Designed for improved productivity and ease of learning. Eve fosters a safe, versatile, and effective environment for data manipulation tasks across various domains. This includes working with text data, binary data (like images and video streams), and database connectivity.

Key Features

Code Example

This Eve program calculates the 5th number in the Fibonacci sequence. Here's a breakdown:

# Fibonacci series demonstrate
driver fibonacci:

** declare Fibonacci routine
function fib(n:Integer) => (y:Integer):
  if (n == 1) or (n == 0) then
    let y := 1; -- first value
  else
    let y := fib(n-1) + fib(n-2);
  done;
return;

process
   ** local variable for result
   new r: Integer;

   ** call fib rule using argument 5
   let r := fib(5);

   ** print the result to console
   print r;
return;

Explanation

Ready to dive deeper into Eve? This brief demo has only scratched the surface of its capabilities. Explore the detailed explanations we've prepared to unlock the full potential of Eve for your data manipulation needs. As you delve into Eve's design, you'll gain valuable insights into programming language principles. Who knows, maybe one day you'll be inspired to create your own language or even contribute to the ongoing evolution of Eve!

Read next: Eve Syntax