While the project is young and far from Proof of Concept stage, please keep your contributions to a minimum: something which will not be changing a lot of code or the architecture.
Welcome are: style fixes, bug fixes and fix ideas, clippy warning fixes, typos and formatting etc.
I will be updating these guidelines once the project reaches some sort of stability.
- Visit
codegen/otp20/bif.tab
and find the BIF you want to add, copy the line. - Visit
codegen/implemented_native_funs.tab
file, and insert the line. - Run
make
in root directory once, which will invoke the codegen and show you errors about a missing function. - Copy from another bif, and satisfy the compiler.
- Visit
codegen/otp20/genop.tab
and find the opcode you want to implement. - Visit
codegen/implemented_ops.tab
file, and insert what you intend to add. - Run
make
in root directory once, which will invoke the codegen and show you errors about a missing struct. - Copy from another opcode, edit the arity, edit the arguments and make it work.