Closed albertoursino closed 1 week ago
This PR contains commits that should not be here. I'm working on it...
Can we get rid of __init__.py
inside the tests/lexer folder?
I get the following error when I try to run the lexer tests from the author's test suite:
ModuleNotFoundError: No module named 'compiler'
.
Does that happen to you?
That also happens if you run python compiler/compiler_driver.py
from the project directory.
I get the following error when I try to run the lexer tests from the author's test suite:
ModuleNotFoundError: No module named 'compiler'
. Does that happen to you? That also happens if you runpython compiler/compiler_driver.py
from the project directory.
@d-u-d-e It works fine for me, in both cases.
Make sure to do poetry install
. I fixed this issue in https://github.com/d-u-d-e/c-compiler/pull/6/commits/28857cdb2f7cca7066b1b1c459eca5058ab9eced.
Introduction 🤗
I have implemented the lexer following pages 8-9-10 of the book.
Implementation Details 📝
Testing 🔎
Tests from the test suit ✅
Custom tests (https://github.com/d-u-d-e/c-compiler/issues/5) ✅