Format Readme step 2.

This commit is contained in:
Erik Stenman 2019-03-01 12:09:38 +01:00
parent ef7c5750a4
commit 1e0c1aa25d

View File

@ -50,33 +50,43 @@ or start with stack followed by an integer
`a` `a`
Immediate values can be of 9 types: Immediate values can be of 9 types:
1a. Integers as decimals: {Digits} or -{Digits} 1a. Integers as decimals: {Digits} or -{Digits}
`42` `42`
`-2374683271468723648732648736498712634876147` `-2374683271468723648732648736498712634876147`
1b. Integers as Hexadecimals:: 0x{Hexdigits} 1b. Integers as Hexadecimals:: 0x{Hexdigits}
`0x0deadbeef0` `0x0deadbeef0`
2. addresses, a base58 encoded string starting with #{base58char} 2. addresses, a base58 encoded string starting with #{base58char}
followed by up to 64 hex chars followed by up to 64 hex chars
`#nv5B93FPzRHrGNmMdTDfGdd5xGZvep3MVSpJqzcQmMp59bBCv` `#nv5B93FPzRHrGNmMdTDfGdd5xGZvep3MVSpJqzcQmMp59bBCv`
3. Boolean true or false 3. Boolean true or false
`true` `true`
`false` `false`
4. Strings "{Characters}" 4. Strings "{Characters}"
`"Hello"` `"Hello"`
5. Map { Key => Value } 5. Map { Key => Value }
`{}` `{}`
`{ 1 => { "foo" => true, "bar" => false}` `{ 1 => { "foo" => true, "bar" => false}`
6. Lists [ Elements ] 6. Lists [ Elements ]
`[]` `[]`
`[1, 2]` `[1, 2]`
7. Bit field < Bits > or !< Bits > 7. Bit field < Bits > or !< Bits >
`<000>` `<000>`
`<1010 1010>` `<1010 1010>`
`<>` `<>`
`!<>` `!<>`
8. Tuples ( Elements ) 8. Tuples ( Elements )
`()` `()`
`(1, "foo")` `(1, "foo")`
9. Varaiants: (| Size | Tag | ( Elements ) |) 9. Varaiants: (| Size | Tag | ( Elements ) |)
`(| 42 | 12 | ( "foo", 12) |)` `(| 42 | 12 | ( "foo", 12) |)`