ZoKrates icon indicating copy to clipboard operation
ZoKrates copied to clipboard

Add support for hex literals

Open stefandeml opened this issue 6 years ago • 1 comments

Would be nice to have some support for hex literals to make declarations like the following less verbose: field[32] h0 = [0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1] could be something like: field[32] h0 = hex!("0x6a09e667")

stefandeml avatar Feb 06 '19 10:02 stefandeml

Can this wait for integer types?

Schaeff avatar Jul 11 '19 15:07 Schaeff