Full functionality.

This commit is contained in:
etc404
2026-04-27 01:02:26 -06:00
parent 4ed01f8439
commit b04f9945ea
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -2,7 +2,8 @@ import reader
import sys
def main():
print("Welcome message.")
print("Welcome to the lisp interpreter! REPL expression results will be stored in an output file, output.txt by default. This can be overridden by passing an argument to the program.\n"
"Enter (quit) to exit the program. Supported functionality includes mathematical operations, conditional statements, variables, user-defined functions, logical operations, and list manipulation.")
outputfile = "output.txt" if len(sys.argv) == 1 else sys.argv[1]
interpreter = reader.Reader(outputfile)
# REPL Loop