Files
lisp-interpreter/repl.py
T
2026-04-26 15:30:37 -06:00

12 lines
202 B
Python

import lisp
def main():
print("Welcome message.")
state = lisp.Lisp()
# REPL Loop
while True:
expression: str = input("> ")
print(state.evaluate(expression))
if __name__ == "__main__":
main()