summaryrefslogtreecommitdiff
path: root/arch/armv7/thumb2_disasm/arm_pcode_parser/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'arch/armv7/thumb2_disasm/arm_pcode_parser/README.md')
-rw-r--r--arch/armv7/thumb2_disasm/arm_pcode_parser/README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/armv7/thumb2_disasm/arm_pcode_parser/README.md b/arch/armv7/thumb2_disasm/arm_pcode_parser/README.md
index c3adae56..7dcc5d15 100644
--- a/arch/armv7/thumb2_disasm/arm_pcode_parser/README.md
+++ b/arch/armv7/thumb2_disasm/arm_pcode_parser/README.md
@@ -4,7 +4,12 @@ translate the pseudocode for arm instructions (given in the docs) to target lang
once the pcode is extracted, automatic generation of ultra-accurate disassemblers should become possible
# how
-use Grako parser generator, describe the language (pcode.ebnf) and write code generator (codegen.py)
+~~use Grako parser generator, describe the language (pcode.ebnf) and write code generator (codegen.py)~~
+use Tatsu parser generator, describe the language (pcode.ebnf) and write code generator (codegen.py):
+
+```
+python3 -m tatsu --name pcode pcode.ebnf -o parse.py
+```
# example
input statement: