Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: vm: sqlvm: opcodes and basic structs | Meng-Ying Yang | 2019-04-03 | 1 | -13/+1513 |
| | | | | | For runtime implementation, we define opcodes and basic structs for runtime usage and concrete implementation. | ||||
* | core: vm: sqlvm: runtime: opLoad load fixed bytes and address in bytes | Jhih-Ming Huang | 2019-04-03 | 1 | -3/+3 |
| | | | | | To satisfy the latest spec, the data of type of address and fixed bytes will be stored in bytes instead of decimal value. | ||||
* | misc: replace shopspring/decimal with our fork | yenlin.lai | 2019-04-03 | 1 | -1/+1 |
| | |||||
* | core: vm: sqlvm: ast: implement decimal to uint64 | Jhih-Ming Huang | 2019-03-26 | 1 | -12/+24 |
| | | | | | deciaml.IntPart() returns int64, so we have to implement a function to convert deciaml to uint64 for reading primary id from Raw. | ||||
* | core: vm: sqlvm: runtime: implement opLoad | Jhih-Ming Huang | 2019-03-26 | 1 | -8/+101 |
| | |||||
* | core: vm: sqlvm: runtime: add loadRegister func | Jhih-Ming Huang | 2019-03-26 | 1 | -1/+1 |
| | | | | Implement load register to input operands, before each op. | ||||
* | core: vm: sqlvm: runtime entrypoing error handling | Meng-Ying Yang | 2019-03-26 | 1 | -3/+4 |
| | | | | Return error.Error to reveal more information about returned error. | ||||
* | core: vm: sqlvm: export instruction's member (#197) | JM | 2019-03-26 | 1 | -3/+3 |
| | |||||
* | core: vm: sqlvm: revert Tuple structure (#193) | JM | 2019-03-26 | 1 | -4/+5 |
| | |||||
* | core: vm: sqlvm: modify Tuple.Data.Value type | Jhih-Ming Huang | 2019-03-26 | 1 | -7/+3 |
| | | | | | Modify Tuple.Data.Value type from *big.Int to interface{} and remove Max, Min. | ||||
* | core: vm: sqlvm: shared interfaces and params | Jhih-Ming Huang | 2019-03-26 | 1 | -0/+63 |
After reconstructing commits, we move shared interfaces and params as first runtime implementation. In this commit we define OP codes, runtime flow and entrypoint, and basic operand structs and minor helper components. |