Added messy greeting

master
Mark 2022-10-20 14:05:50 -07:00
parent 99217297d2
commit 94f8963436
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 42 additions and 0 deletions

42
main.py
View File

@ -1,5 +1,6 @@
from parser import Parser from parser import Parser
import tokens import tokens
import colorama as cr
class lambda_runner: class lambda_runner:
@ -44,6 +45,47 @@ class lambda_runner:
return self.expr return self.expr
"""
| _.._ _.|_
|_(_|| | ||_)
1.1.0
__ __
,-` `` `,
(` \ )
(` \ `)
(, / \ _)
(` / \ )
`'._.--._.'
A λ calculus engine
"""
b = cr.Style.BRIGHT
v = cr.Fore.GREEN + cr.Style.BRIGHT
l = cr.Fore.RED + cr.Style.BRIGHT
n = cr.Style.RESET_ALL
t = cr.Fore.GREEN
print(f"""
{b} | _.._ _.|_
|_(_|| | ||_){n}
{v}1.1.0{n}
__ __
,-` `` `,
(` {l}\{n} )
(` {l}\{n} `)
(, {l}/ \{n} _)
(` {l}/ \{n} )
`'._.--._.'
{t} A λ calculus engine{n}
"""[1:-1])
r = lambda_runner() r = lambda_runner()
r.run_names([ r.run_names([