16 lines
289 B
Python
16 lines
289 B
Python
from emis_funky_funktions import *
|
|
|
|
from genir import json_to_ir
|
|
from silly_thing import repl, repl_expr
|
|
|
|
import json, sys
|
|
|
|
def main():
|
|
match sys.argv:
|
|
case [_, file]:
|
|
repl_expr(json_to_ir(json.loads(open(sys.argv[1]).read())))
|
|
case _:
|
|
repl()
|
|
|
|
if __name__ == '__main__':
|
|
main() |