Format fixes. Changed type of BLOCKHASH to variant.
Fixed number of parameters to include target
Changed op args
Protected create
Make new type store a SERIALIZED CODE (instead of RAW BYTECODE)
Fix test
Format
Make create not protected
format
Fix serialization of fate_code type
Align
Add rebar3
Use shipped rebar3
Fix serialization, test
Fix tests
Rename fate_code to contract_bytearray
Update README
* Get rid of redundant arity field from op defs. Reorder and renumber ops. Fix bb_end for abort and exit.
* FATE does not accept arbitrary stack positions, only the accumulator aka stack 0.
STR_EQ is not needed, the regular EQ instruction can handle strings as well. Having
an instruction for list append is quite handy though (would need two passes to do it
tail recursive in FATE assembly)
* Add hash, signature and object types.
* Add serilaize/deserialize test for new types.
* Document new types.
* Use aeserialization for base58c encoding/decoding.
* Handle varaint constants and types.
* Format Readme.
* Format Readme step 2.
* Format Readme step 3.
* Format Readme step 4.
* Format Readme step 5.
* Update src/aeb_fate_asm.erl
Co-Authored-By: happi <happi@stenmans.org>
* Update README.md
Co-Authored-By: happi <happi@stenmans.org>
* Get rid of size from varaint type representation.
* Generate code for fate ops from spec.
* Generate the code from the makefile. Remove generated files.
* Test targets and cleanup.
* Spell eunit the right way.
* Use test target for ci.
* Renumber opcodes. Add primops.
* Generate tokens in scanner from definitions.
* Rename NUMBER op to GENERATION and add MICROBLOCK instruction.
* Since Tag < Size, Size cannot be zero
* unit is printed `()`
* Formatting differently
* Add eqc profile
* Generate code for fate ops from spec.
* Generate the code from the makefile. Remove generated files.
* Test targets and cleanup.
* Generate op pretty printer.
* Removed unused function.
* Polish Makefile file references (#11)
* Parse all types of values except variants.