1
0
Fork 0
forked from fun/fun
fun/play.fun

30 lines
496 B
Standard ML
Executable file

#!/usr/bin/env fun
/*
* This file is part of the Fun programming language.
* https://hanez.org/project/fun/
*
* Copyright 2025 Johannes Findeisen <you@hanez.org>
* Licensed under the terms of the ISC license.
* https://opensource.org/license/isc-license-txt
*/
fun foo()
print("Have fun!")
print("Having fun... forever.")
print("Yay, the playground for having fun... ;)")
number n = 10
print(n)
n = "foobar"
print(n)
n = 100
print(n)
string s = 'Have\n"fun!"'
print(s)
foo()