Hi Tuh
Indeed, I found the binary format a difficulty for haskell. But in> First step solved. (BTW: I am attaching the first version to this e-mail. I
> will upload to Hackage upon completion, when getIEEE754float64le and
> putIEEE754float64le functions are done!)
fact, hackage has a module that does the work:
http://hackage.haskell.org/package/data-binary-ieee754
> 2) Running the VM:Why a monad ? Why not just a function State -> State and the use a function like
>
> This is the step I am working on. A really good and obvious approach to run
> the VM is to use a RWS monad, since:
>
> a) I have a fixed environment (the program and the input ports)
> b) I have a state (the program counter, the status register and the
> data memory contents)
> c) I have a monoid output (the output ports)
>
iterate to do the work ?
The next move is easy to estimate : you have the vm and simulating code at hand.
> 3) Controlling the sattelites
>
> This is going to be a piece of cake (aheeem! Just kidding!!). After
> computing the VM iteration, another computation will take the output data
> time series and estimate the next move.
Of course, making the best move is another problem.
Good luck !