Measures Concepts
GitHub icon

Fibonacci

Fibonacci - Programming language

< >

Fibonacci is a programming language created in 1991 by Antonio Albano and Giorgio Ghelli and and Renzo Orsini.

#915on PLDB 33Years Old

Fibonacci is an object-oriented database programming language characterized by static and strong typing, and by new mechanisms for modeling databases in terms of objects with roles, classes, and associations.


Example from the web:
let john = role Person private let address = var ("Darwin road, 123 - London") ;5 methods Name = "John Daniels"; BirthYear = 1967; Age = currentYear() - me.BirthYear; Address = at (address); modAddress (newAddress: String) = if stringLength(newAddress) <= 0 then failwith "incorrect address" else address := newAddress Introduce = "My name is " & me.Name & "and I was born in " ~ intToString(me.BirthYear); end;

Language features

Feature Supported Token Example
MultiLine Comments ✓ (* *)
(* A comment
*)
Comments ✓
(* query examples *)
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout