1
General Discussion / Re: HEX code generator ?
« on: May 15, 2019, 03:09:21 AM »
To be more precise, HEX code generator supports a subset of the B0 language / with additional constraints. For example:
but also provides some extensions with predifined operators (bitwise and arithmetic).
- types limited to INTEGER types limited to uint8_, uint16_ and uint32_
- single condition for IF THEN ELSE (meaning tests have to be nested), with testing operators in =, <, <=
- local variables (clause VAR IN) have to be typed before used with the var: (var: type) substitution
- no computation in operation call and test: computation has to be performed before the operation call / test
- no operation call in initialisation
- digital inputs/outputs take values in {IO_OFF, IO_ON}
but also provides some extensions with predifined operators (bitwise and arithmetic).