Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds autocomplete and hover capabilities for the ARM architecture.
Sources ARM's exploration tools for instruction information, and a few misc. website for the register info. I've been as thorough as (reasonably) possible in verifying the results of parsing the opcode documentation. However, given the sheer column of information, I'm sure there's a few mistakes/mistranslations hiding in there. Any and all bug reports, suggestions for improvement, etc. are more than welcome.
This will break people's existing
.asm-lsp.toml
files with the newarm
instruction set configuration option, so publishing will require a minor version bump to0.8.0
.The diff for this PR is quite large, but the vast majority is just the ARM opcode xml files. Regarding actual changes, we have:
README.md
, listing more documentation sources, as well as updating the examples.asm-lsp.toml
config file.x86
/x86-64
,z80
, etc.)Instruction
type to store the ARM documentation's assembly templates and alias formssrc/lsp.rs
logic to support ARMcc @bergercookie
Checks off a stretch goal in #80
Closes #17