Changes between Version 13 and Version 14 of StructuredBinaryData


Ignore:
Timestamp:
2012-07-21T21:18:48Z (12 years ago)
Author:
Sean Bartell
Comment:

explain parameters better

Legend:

Unmodified
Added
Removed
Modified
  • StructuredBinaryData

    v13 v14  
    209209
    210210Currently, a transform can only have one input. Parameters will allow a
    211 transform to use multiple inputs: `transform strings(len) = struct { .str1 <-
    212 ascii <- known_length(len); .str2 <- ascii <- known_length(len); };`.
     211transform to use multiple inputs:
     212`transform strings(len) = struct { .str1 <- ascii <- known_length(len); .str2 <- ascii <- known_length(len); };`.
     213A transform with parameters can be defined as in `transform strings(len)`, and
     214the parameters can be referenced inside the transform. When a transform is
     215used, expressions are given for the values of its parameters.
    213216
    214217At first the only expressions will be parameters, as above, previously decoded
     
    249252   could be passed automatically, without having to write it out every time. A
    250253   more advanced automatic parameter could keep track of current offset being
    251    decoded within a blob.
     254   decoded within a blob. There would need to be some sort of scoping to
     255   determine which transforms have the automatic parameters.
    252256
    253257=== Constraint‐based version ===