Commit graph

17 commits

Author SHA1 Message Date
Will Lillis
597eb717e7 feat: add support for mips arch, mars assembler 2025-06-22 21:40:42 -04:00
Will Lillis
eada85f87e feat: support fasm 2025-04-13 16:37:58 -04:00
Svarshick
32912c6b70 add avr xml generator 2025-02-08 12:13:02 -05:00
WillLillis
8f439fbe04 feat: support AVR opcodes 2025-02-02 16:46:13 -05:00
Yauheni Sabaleuski
b74fc0f96c
add avr opcodes (#216) 2025-01-12 22:09:12 -05:00
Emanuel Oberholzer
1669f5d8b5
Added docs for NASM directives 'EXTERN' and 'GLOBAL' (#209)
* Added docs for NASM directives 'EXTERN' and 'GLOBAL'

* Regenerated serialized docs
2025-01-02 00:51:40 +00:00
Will Lillis
322bfbdd60
feat: add avr registers (#206) 2024-12-27 00:21:40 -05:00
Will Lillis
94567eb06c
chore: remove redundant docs_store/*/raw/ directories (#204) 2024-12-26 02:13:01 -05:00
Will Lillis
1cb383a5f3
feat: add avr assembler (#203) 2024-12-26 01:43:35 -05:00
Will Lillis
3cfc940d88
feat: add power-isa arch (#201) 2024-12-24 22:20:11 -05:00
Will Lillis
587aaee017
feat: add 6502 arch and ca65 assembler (#195) 2024-12-17 03:07:26 +00:00
Bernard Assan
2b093e893c
add aarch64 register info (#156)
* fix aarch64 link to documentation

* fix clippy warnings

* use workspaces so that rust-analyzer works in asm_docs_parsing

move common dependencies to the workspace

* Regenerate doc store serialized data

* packages refer to workspace for common values

* Update install instructions on README

* fix asm template not having space between opcode and operand

* fix warning in test

* move all from_utf8 to unchecked variant

most of our data is ascii so don't do unnecessary verification
follow suit and use ascii variant of trim
misc improvement for Atribute {key,value}
run asm_docs_parsing in release mode

* enable clippy across the codebase

fix most warnings and remove unnecessary clones
allow the most common warnings which are usually false positives

* Replace String::from_utf8 with unchecked version

* move serialized data into asm-lsp crate

To ensure that the serialized data is available on publish to crates.io
without needing an include section in Cargo.toml

❯ cargo package --list --allow-dirty
.cargo_vcs_info.json
Cargo.lock
Cargo.toml
Cargo.toml.orig
README.md
bin/main.rs
handle.rs
lib.rs
lsp.rs
parser.rs
serialized/directives/gas
serialized/directives/masm
serialized/directives/nasm
serialized/opcodes/arm
serialized/opcodes/riscv
serialized/opcodes/x86
serialized/opcodes/x86_64
serialized/opcodes/z80
serialized/registers/arm
serialized/registers/riscv
serialized/registers/x86
serialized/registers/x86_64
serialized/registers/z80
test.rs
types.rs
ustr.rs

* Start assembling the arm64 registers into an xml file

* Remove duplicates in completion and fix hover for mixed case identifiers

implemented the always lower idea and its working
removed the alt_names field from Register, Instruction and Directive
as that hack isn't needed anymore

* Complete general/simd/floating point registers for aarch64

Didn't border adding Scalar Vector Extension, Scalable Predicate,
Scalar Matrix Extension and System Registers
as I don't need them but It would be easy to add them when the need
araise

This will also ensure that PR branch gets done quickly

* add aarch64 config option

enable arm64 asm hover support

I think how the hovering functionality is structured isn't optimum
And I can't help but think about how we could use enums with matches
instead of alot of the if used to setup registers, instructions and
directives (the ifs make it easy to miss out on something) but I will
leave that for a future commit

* Update and add serialized data for arm64

* Add NASM in Header of README

* fix arm test

* 100% test passing

* move z80 xml generation into opcodes/raw

* add the new arm64 config option in README

* arm64: support hover for vector registers

* arm64: Support hover on lower field of a vector register

Co-authored-by: WillLillis <will.lillis24@gmail.com>

* chore: Temporarily ignore `irrefutable_let_patterns` lints

* chore: Ignore precommit hook ignore list with new serialized docs location

---------

Co-authored-by: WillLillis <will.lillis24@gmail.com>
Co-authored-by: WillLillis <wlillis@umass.edu>
2024-10-22 01:16:15 +00:00
Will Lillis
1ee550aff9
feat: MASM and NASM directive support (#124) 2024-08-27 00:06:04 -04:00
Will Lillis
72a0328e49
feat: RISCV support (#123) 2024-08-21 18:20:06 -04:00
Will Lillis
f5e99ce5e5
feat: ARM support (#118) 2024-08-17 13:07:58 -04:00
Will Lillis
92553bc5a8
perf: serde_json -> bincode (#93) 2024-07-09 12:35:35 -04:00
Will Lillis
4d54f6bef6
perf: Use serde to aid in loading docs (#91)
* refactor document store directories

* feat: Serialize docs, misc cleanup around project
2024-07-08 18:08:21 -04:00