Skip to content

Collection of small, self-contained Cuneiform code examples.

License

Notifications You must be signed in to change notification settings

joergen7/cuneiform-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuneiform-examples

Collection of small, self-contained Cuneiform code examples.

Ackermann function

Program computing the Ackermann-Péter function defined as

         | n+1             if m = 0
A(m,n) = | A(m-1,1)        if m > 0 and n = 0
         | A(m-1,A(m,n-1)) if m > 0 and n > 0

FizzBuzz

Prints the integers from 1 to 100 inclusive. But for multiples of 3 it prints Fizz, for multiples of 5 it prints Buzz and for multiples of both 3 and 5 it prints FizzBuzz.

This program is available with foreign functions in Matlab, Octave and Python.

About

Collection of small, self-contained Cuneiform code examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published