Commit Graph

475 Commits

Author SHA1 Message Date
Robert Virding fe1a2758c3 Improve the interface to the compiler
It is now more consistent though we can still discuss how we want the
interface to look.
2019-01-25 16:16:20 +01:00
Ulf Norell 79de25b3a5 Fix minor bugs in compilation of bit fields 2019-01-25 16:09:31 +01:00
Ulf Norell 3e1290efaf Add Bits.all and rename Bits.zero to Bits.none 2019-01-25 16:09:31 +01:00
Ulf Norell 9c77622c7c Add set operations on bit fields (union, isect, diff) 2019-01-25 16:09:31 +01:00
Ulf Norell a367d5040a Add builtin bit field type 2019-01-25 16:09:31 +01:00
Ulf Norell d8bf0bda45 Remove integer bit operations 2019-01-25 16:09:31 +01:00
Hans Svensson f133483a90 Fix git mess up 2019-01-25 10:49:36 +01:00
Hans Svensson 86285a8ae0 Refactor String.concat to not shift 256 bits
Adding SafeMath to VM_AEVM_SOPHIA_2 will break String.concat otherwise.
2019-01-25 09:57:23 +01:00
Hans Svensson 23ccce4c22 Use ?SHL and ?SHR for 'bsl' and 'bsr' 2019-01-22 21:53:30 +01:00
Ulf Norell 5fd24fec86 Add more hash primops 2019-01-22 09:09:37 +01:00
Hans Svensson d8fff8f20f Add Crypto.ecverify 2019-01-21 14:20:15 +01:00
Hans Svensson 0d78a5e4a0 Add Erlang implementation of Blake2B
This removes the dependency on enacl, and NIFs.
2019-01-14 10:58:25 +01:00
Hans Svensson b61e3270f9 Merge pull request #6 from aeternity/improve_builtins
PT-163146624 Improve builtins
2019-01-14 10:58:12 +01:00
Hans Svensson 028334ecb6 Avoid exporting all internal functions 2019-01-11 16:13:17 +01:00
Ulf Norell 783d74dff1 Check for missing fields in record expressions 2019-01-11 14:23:53 +01:00
Hans Svensson 335cd4743a Use generalized baseX_int for int_to_str 2019-01-11 13:48:26 +01:00
Hans Svensson 77212b5eb3 rename int_digits baseX_digits 2019-01-11 13:48:26 +01:00
Hans Svensson 79307c34df generalize base58_int to baseX_int 2019-01-11 13:48:26 +01:00
Hans Svensson 9187659a1e Refactoring builtins and improve base58 encoding 2019-01-11 13:48:26 +01:00
Thomas Arts 73a4839d2f Bump version 2019-01-10 09:57:55 +01:00
Luca Favatella 5924197b90 Delete spurious file (#4) 2019-01-08 17:36:55 +00:00
Ulf Norell 7849fe302c Add missing type check of init function 2019-01-08 12:27:39 +01:00
Thomas Arts ad028ddf98 Make dialyzer happy 2019-01-07 20:14:21 +01:00
Thomas Arts b8f4a6b67a Get rid of lager in the compiler 2019-01-07 19:54:53 +01:00
Robert Virding d4d02fd576 First test work commit, don't touch 2018-12-22 01:23:40 +01:00