Package as installable retruco, fix sort bug, add ruff + CI - #1
Merged
Conversation
- Fix README sort example: MENOR O IGUAL -> MENOR (equal-valued cards caused an infinite loop ping-ponging between INPUT and TMPSTACK). - Restructure src/ into an installable `retruco` package with a `retruco` console entry point and `python -m retruco` support. - Add pyproject.toml (Poetry) + poetry.lock; bundle grammar.txt and logo. - Add ruff config and fix all 227 lint findings. - Add GitHub Actions: ci.yml (ruff + tests) and release.yml (build + publish artifacts on v* tags). - Add example programs under examples/ and move tests to tests/. Signed-off-by: Alvaro Frias <alvarofriasgaray@gmail.com>
Signed-off-by: Alvaro Frias <alvarofriasgaray@gmail.com>
qequ
force-pushed
the
packaging-and-sort-fix
branch
from
June 20, 2026 21:48
913c3cf to
6712cf0
Compare
Signed-off-by: Alvaro Frias <alvarofriasgaray@gmail.com>
qequ
force-pushed
the
packaging-and-sort-fix
branch
from
June 20, 2026 22:07
95f0224 to
a1a5e61
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
retrucopackage with aretrucoconsole entry point andpython -m retrucosupport.