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

Complete assembly compiler for string operations #15

Open
dr-orlovsky opened this issue Jun 29, 2021 · 2 comments
Open

Complete assembly compiler for string operations #15

dr-orlovsky opened this issue Jun 29, 2021 · 2 comments

Comments

@dr-orlovsky
Copy link
Member

No description provided.

@6293
Copy link
Contributor

6293 commented Mar 8, 2022

@dr-orlovsky I need some clarification on Splt.

Firstly, Docstring says that sometimes "zero-length string" should be put. ByteStr, however, has a 0-based length. This means ByteStr with 0 length has one character. Maybe we can define "zero-length string" as len = 0 && all bytes are set to 0?

Secondly, I am not sure if this docstring is correct. It occured to me that the sentence should be other way around; if offset value is greater than string length, we cannot split the string and the operation would always fail (thus needs to be handled based on the flag).

@dr-orlovsky
Copy link
Member Author

I think this issue (and the whole macro assembly compiler) is outdated because we have a proper standalone compiler for now: https://github.com/pandoracore/aluasm

However your questions and valid and deserve a dedicated issues. I can't answer on them right afay and need to look deeply by myself.

@dr-orlovsky dr-orlovsky transferred this issue from AluVM/rust-aluvm Jul 9, 2023
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

No branches or pull requests

2 participants