How to model accepting a pdf file as input in VDM++

41 views Asked by At

Let say I want to model a program that will accept a file of type pdf.

How should I model accepting a pdf file as input in VDM++?

1

There are 1 answers

2
Nick Battle On BEST ANSWER

You can model how something processes a PDF file, in principle. But then the problem becomes one of how to represent the structure of a PDF in VDM. You would then specify what functions or operations the program would perform on that data. Are you really asking about how to represent a PDF file structure in VDM?