ssm-lang / Scoria

This is an embedding of the Sparse Synchronous Model, in Haskell!
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Wrote FreqGen and FreqCount examples #86

Closed j-hui closed 2 years ago

j-hui commented 2 years ago

@Rewbert I wrote some notes inline.

Also the module where I wrote the program is in a rather unfortunate location with its sibling Freqmime.hs.. is there a better place I could put this? Happy to leave this here for now

j-hui commented 2 years ago

The generated code is copied verbatim here: https://github.com/ssm-lang/ssm-scratch/tree/main/platformio-zephyr/examples/freqgengen

and it compiles successfully :clinking_glasses:

j-hui commented 2 years ago

And generated freqcount is here and working too: https://github.com/ssm-lang/ssm-scratch/tree/main/platformio-zephyr/examples/freqcountergen