Skip to content

Official Platypus Interpreter written in C# and .Net Core

License

Notifications You must be signed in to change notification settings

PlatypusLanguage/CPlatypus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPlatypus

Platypus is a non-typed, object-oriented, open-source, grammar-customizable, easy-to-learn, interpreted programming language!

CPlatypus is an official interpreter written in C# and running on .Net Core

Website: https://platypus.vfrz.fr/

Contact: [email protected]

Code samples

Hello world

#lang=default#

print("Hello world")

Fibonacci

#lang=default#

function fibonacci(n)
    if (n <= 1)
        return n
    else
        return fibonacci(n-1) + fibonacci(n-2)
    end
end

var i = 0

while(i < 16)
    print(fibonacci(i))
    i = i + 1
end