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

Extended base support for TB and FB #85

Open
dloscutoff opened this issue Apr 26, 2024 · 0 comments
Open

Extended base support for TB and FB #85

dloscutoff opened this issue Apr 26, 2024 · 0 comments

Comments

@dloscutoff
Copy link
Owner

Currently, TB and FB allow bases up to 36. This is because I'm lazy and used Python's int base conversion for FB, despite the fact that there's no equivalent in the opposite direction and so I had to implement TB from scratch anyway. If both were implemented from scratch, we could support custom bases up to at least 62 (using digits 0-9A-Za-z) and probably 96 or higher (picking some arbitrary order for the non-alphanumeric characters).

It might also be worthwhile to add a new operator that mimics Python's int base conversion, in case its less-permissive behavior comes in handy in some situations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant