aos/tools/mackerel
Daniel Schwyn 6d444bf552 Main handout
Signed-off-by: Daniel Schwyn <daniel.schwyn@inf.ethz.ch>
2022-03-03 14:57:51 +01:00
..
Attr.hs Main handout 2022-03-03 14:57:51 +01:00
BitFieldDriver.hs Main handout 2022-03-03 14:57:51 +01:00
BUGS.txt Main handout 2022-03-03 14:57:51 +01:00
CAbsSyntax.hs Main handout 2022-03-03 14:57:51 +01:00
Checks.hs Main handout 2022-03-03 14:57:51 +01:00
CSyntax.hs Main handout 2022-03-03 14:57:51 +01:00
Dev.hs Main handout 2022-03-03 14:57:51 +01:00
Fields.hs Main handout 2022-03-03 14:57:51 +01:00
Hakefile Main handout 2022-03-03 14:57:51 +01:00
MackerelParser.hs Main handout 2022-03-03 14:57:51 +01:00
Main.hs Main handout 2022-03-03 14:57:51 +01:00
Poly.hs Main handout 2022-03-03 14:57:51 +01:00
README.txt Main handout 2022-03-03 14:57:51 +01:00
RegisterTable.hs Main handout 2022-03-03 14:57:51 +01:00
ShiftDriver.hs Main handout 2022-03-03 14:57:51 +01:00
Space.hs Main handout 2022-03-03 14:57:51 +01:00
TypeName.hs Main handout 2022-03-03 14:57:51 +01:00
TypeTable.hs Main handout 2022-03-03 14:57:51 +01:00

MACKEREL

Mackerel is an IDL for devices, a bit like a modern version of Devil.
It is in an early stage of development.   It is written in Haskell
and is designed to translate a .dev file in the dev_defs directory
into a single C header file containing all relevant functions for
accessing the device. 

To use it manually, type:

> runghc Main.hs ../../devices/xapic.dev > xapic.h

 - to see what it does, or see the documentation for more information.