hlorenzi / customasm

💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Apache License 2.0
715 stars 56 forks source link

feature request: api for own rust programs #175

Closed NikOverflow closed 1 year ago

NikOverflow commented 1 year ago

My idea is that you make an api that can be used in rust programs.

hlorenzi commented 1 year ago

You should be able to include customasm as a cargo dependency already. The lib.rs file exposes the internal modules that you can use in your own code, as is demonstrated by the assemble_str_to_binary function contained in the same file. Are you facing any particular issues?