A toy Postfix notation program interpreter.
- docs: Project documentation lives in here.
- src: Production code lives in folder and is divided in the modules below:
- app_interpreter: Project package.
- app.py: Entry point to startup the application
- tests: Test code lives in folder.
The tests are intentionally separated from production code.
- benefits:
- Tests can run against an installed version after executing
pip install .. - Tests can run against the local copy with an editable install after executing
pip install --edit.
- Tests can run against an installed version after executing
- more in depth discussion here: https://docs.pytest.org/en/latest/explanation/goodpractices.html#choosing-a-test-layout-import-rules
- benefits:
- The repository is configured to use devcontainers for development.
```shell
python src/app.py ./tests/resources/factorial.txt
```
- Run unit and integration tests
pytest
- End to End tests
- Not Implemented
- NB: The main is locked and all changes must come through a Pull Request.
- Commit Messages:
- Provide concise commit messages that describe what you have done.
# example: git commit -m "feat(core): algorithm" -m"implement my new shiny faster algorithm"
- References:
- Provide concise commit messages that describe what you have done.
Disclaimer: This is still work in progress.