[Haskell-cafe] ANNOUNCE: Ajhc Haskell Compiler 0.8.0.7 Release
Adrian May
adrian.alexander.may at gmail.com
Sat Jul 6 07:40:09 CEST 2013
Is this a practical way to write Android and iPhone code? I don't mean
console programs, I mean realistic smartphone apps.
Seeing as smartphones outsell laptops by about 10 to 1 nowadays, it would
be nice if it was.
Adrian.
On 6 Jul 2013 12:03, "Kiwamu Okabe" <kiwamu at debian.or.jp> wrote:
> We are happy to announce Ajhc 0.8.0.7.
> You can program interrupt handler with Haskell language on this release.
> But not yet collect (big) patch sets, the changes will be merged to jhc.
>
> You can get Ajhc using "cabal install ajhc" command.
> The usage is found at Ajhc's project web site http://ajhc.metasepi.org/.
> The source code at https://github.com/ajhc/ajhc/tags.
>
> Welcome sending any bugs or your ideas to
> https://github.com/ajhc/ajhc/issues.
>
> ## An example of interrupt handler written with Haskell
>
> <https://github.com/ajhc/demo-cortex-m3/tree/master/stm32f3-discovery>
>
> The demo for Cortex-M4 has main context and intrrupt context.
> The main context waits time expire with polling counter.
> <
> https://github.com/ajhc/demo-cortex-m3/blob/master/stm32f3-discovery/hs_src/Intr.hs#L17
> >
>
> The interrupt context is called from clock exception, and decrement
> counter.
> <
> https://github.com/ajhc/demo-cortex-m3/blob/master/stm32f3-discovery/hs_src/Intr.hs#L9
> >
>
> ## Other changes
>
> * Guard StablePtr critical section.
> * Add _JHC_JGC_SAVING_MALLOC_HEAP option for getting smaller malloc heap.
> * Link forkIO to forkOS.
>
> Enjoy! :)
> - - -
> Metasepi team
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130706/868c3180/attachment.htm>
More information about the Haskell-Cafe
mailing list