Files
ladybird/Libraries/LibJS/AsmIntGen/Cargo.toml
Andreas Kling 9ae5445493 LibJS: Add AsmIntGen assembly interpreter code generator
AsmIntGen is a Rust tool that compiles a custom assembly DSL into
native x86_64 or aarch64 assembly (.S files). It reads struct field
offsets from a generated constants file and instruction layouts from
Bytecode.def (via the BytecodeDef crate) to emit platform-specific
code for each bytecode handler.

The DSL provides a portable instruction set with register aliases,
field access syntax, labels, conditionals, and calls. Each backend
(codegen_x86_64.rs, codegen_aarch64.rs) translates this into the
appropriate platform assembly with correct calling conventions
(SysV AMD64, AAPCS64).
2026-03-07 13:09:59 +01:00

8 lines
123 B
TOML

[package]
name = "asmintgen"
version = "0.1.0"
edition = "2021"
[dependencies]
bytecode_def = { path = "../BytecodeDef" }