Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate to Rust and add structured editor #33

Merged
merged 9 commits into from
Oct 7, 2021
Merged

Translate to Rust and add structured editor #33

merged 9 commits into from
Oct 7, 2021

Conversation

brightly-salty
Copy link
Collaborator

This is a tracking pull request for the rust branch

@brightly-salty
Copy link
Collaborator Author

closes #35

ThePuzzlemaker and others added 4 commits October 5, 2021 00:11
* AST/parser changes, remove anyhow

Patched out editor for now just because it'd be too borked

Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com>

* Use unic-ucd-category intead of unic-ucd

Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com>
* Use std::fmt for centering, add labels for halves

This makes everything cleaner! With some algebra and code™, it's
possible to use `format!` for centering text.

This commit also adds labels to the pattern and replacement half, just
being centered boxes `| Pattern |` and `| Replacement |` in the usually
bland `--------`(...) line after the status.

* Fix rule index (off-by-one errors go brrr)

* Switch from termion to crossterm

Squash of:
- Switch from termion to crossterm (@brightly-salty)
- Abstract away a view for easier layouting (@brightly-salty)
- Add lockfile (@ThePuzzlemaker)
- Undo some AST/parser changes (@ThePuzzlemaker)

Co-authored-by: ThePuzzlemaker <tpzker@thepuzzlemaker.info>

* Fix code for new AST, make pretty_rule use &[Term] instead of Vec<Term>

* Rebase and fix

* Add failing interactive mode

* Improve interactive rewriter

* Fix prelude + mlatu.pl

* Add CLI + standardize keybindings

Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com>
@brightly-salty brightly-salty changed the title [Tracking] Translate to Rust, add structured editor Translate to Rust and add structured editor Oct 7, 2021
@brightly-salty brightly-salty marked this pull request as ready for review October 7, 2021 17:45
@brightly-salty brightly-salty merged commit 33b3071 into main Oct 7, 2021
@brightly-salty brightly-salty deleted the rust branch October 7, 2021 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants