-
Notifications
You must be signed in to change notification settings - Fork 0
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
Encoding rules #1
Comments
Oh, I missed this one. The encoding rule is simple. As you can see, we have constants here:
Every negative number will be encoded into a word that starts with
If the number is negative, it'll be Anyway, thanks for that! It's one in my learning-list that I hadn't ever learned until now, I forced myself by writing this crate. 😅 |
I see, interesting. Did you make the rule yourself, or are you inspired by something? Cool, working on a project is definitely one of the better ways to learn a language! |
No, it's based on munemo Ruby gem which is stated here and as you can see, munemo Ruby gem itself is also based on mnemo library, which is written on C. |
Is there any description on the encoding rules? To put more clearly, why do -1 corresponds to xabi, hayu to 2592, and so on?
Also, I see that you made this library to study Rust. Good luck on your journey learning Rust!
The text was updated successfully, but these errors were encountered: