Vigil is an esoteric programming language created in 2013 by Bob Nystrom.
git clone https://github.com/munificent/vigil
#834on PLDB | 10Years Old |
Vigil, the eternal morally vigilant programming language
def fib(n):
if n < 2:
result = n
else:
result = fib(n - 1) + fib(n - 2)
# fib() never returns negative number.
swear result >= 0
return result
Feature | Supported | Token | Example |
---|---|---|---|
Comments | ✓ | # A comment |
|
Line Comments | ✓ | # | # A comment |
Semantic Indentation | X |