To support this python-like syntax some of the pseudocode after extraction from the PDF had to be cleaned up and proper indentation added.
-Also worth noting as used in the above example: the following operators are used:
+Also worth noting as used in the above example: the following operators are used (see section 1.3 "Notation" of v3.0B PDF):
* `<-` assignment, instead of "=" as in python
* `=` equals comparator, instead of "==" as in python
* `||` concatenate, done bitwise, in MSB0 order.
* `>u' for unsigned greater (">" is signed)
* `<u' for unsigned lessthan ("<" is signed)
+* X superscript n subscript is instead expressed `[X]*n`
+* X subscript n or n:m is expressed as `X[n:m]`
+
+The reason for the addition of the unsigned comparator operators is because numbers in the pseudocode are bitpatterns, not assigned a type or a sign as would normally be done in a standard programming language
+