Are all the dependencies available in this tiny compiler written in python to get this to work

https://github.com/AZHenley/teenytinycompiler.git

Can you get this to run I got it from this website:

http://web.eecs.utk.edu/~azh/blog/teenytinycompiler1.html

I followed this tutorial and it failed to load the source file.

I am new to python.

this is a screenshot of when I ran the python project

enter image description here

Answer

You never pass in the source file. The command you have now only starts the TeenyTiny compiler. You can pass in the source file as follows.

"C:/Users/Ackeem/AppData/Local/Programs/Python/Python39/python.exe" "C:/Users/Ackeem/Desktop/teenyTIny Compiler/teenytinycompiler/part2/teenytiny.py" "C:/Users/Ackeem/Desktop/teenyTIny Compiler/teenytinycompiler/part2/hello.tiny"

Leave a Reply

Your email address will not be published. Required fields are marked *