Basic user interaction

This commit is contained in:
etc404
2026-04-26 15:30:37 -06:00
parent 35f9cb46c9
commit da1aba3ab9
3 changed files with 19 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
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()