Documentation and report.
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
import reader
|
||||
import sys
|
||||
|
||||
### REPL.PY
|
||||
### Autumn Wolf
|
||||
### 04/26/26
|
||||
### CSE3024
|
||||
# This file is the main driver code for the interpreter, acting as an entrypoint for the program and handling
|
||||
# terminal-side interaction and argument handling.
|
||||
|
||||
def main():
|
||||
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.")
|
||||
|
||||
Reference in New Issue
Block a user