Crates.io | lc3asm |
lib.rs | lc3asm |
version | 0.1.2 |
source | src |
created_at | 2019-08-19 11:45:26.100468 |
updated_at | 2019-08-21 13:40:32.903866 |
description | LC-3 assembly parser & assembler |
homepage | |
repository | https://github.com/cr0sh/lc3asm |
max_upload_size | |
id | 158075 |
size | 81,074 |
LC-3 assembly code parser & assembler
Copyright (C) 2019 Nam Jeonghyun. (ska827@snu.ac.kr)
cargo install lc3asm --features binary-build
lc3asm::AsmParser
and lc3asm::Rule
provides an assembly parser and rules. Parser grammar follows definitions
from Introduction to Computing Systems: From Bits and Gates to C and Beyond. Plus, some features are added:
"\\"
/"\r"
/"\n"
/"\t"
/"\b"
/"\f"
/"\u00A9"
) support in string literal
#
is accepted for immediate values,
but this could be removed in the future.