Skip to content

mya-project/mya-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mya specification

Mya is a formal language to write specification of an ISA (Instruction Set Archicteture). Using Mya you can specify registers and the format of instructions in assembly and in machine code.

Why?

  • It's a formal way to document your custom ISA instructions, so it's make easy to another people read and understand how your ISA works.
  • Tools can parse and make something with your ISA specification, for instance, generate an assembler and disassembler for you (coming soon...).

Repositories

  • libmya: A library to parse Mya language.
  • coming soon: A command-line tool to generate assembler and disassembler reading a specification written in Mya language.

Specification

You can read the specification in HTML or PDF, using the links below:

How to build the specification

$ make docker ARGS=pdf

It will generate the mya-specification.pdf file.