Sunday, April 29, 2007

Alex / Frown

Added a new Alex template to copperbox/tools/alex_frown that has prettier error messages (at the expense of tracking more state).

Frown: c2hs parser

I have been working on a Frown version of the c2hs C Parser. This is the initial check-in.

The code compiles though the parser has no actions, so it does not build a parse tree. The lexer is also incomplete - white space is the most obvious omission. Getting the code to compile has been over 4 days work, so I'm commiting this draft now.

GHC is taxed by the code that Frown generates. In particular Frown's compact format will not compile even though the code is smaller - the absence of type signatures on such a large file makes trouble for GHC's type inferencing.

Sunday, April 15, 2007

NuevoAsdl

Tidied up the 'Compiler' a bit, but it still needs more work to make it something approaching comprehensible. Added LambdaCore a 'typed intermediate language' that will hopefully make code generation easier (we shall see...).

Saturday, April 7, 2007

NuevoAsdl

Changes to the makefile. The makefile used to do elaborate things in the Gen directory, now it doesn't. Instead components look after their own construction.

Sunday, April 1, 2007

NuevoAsdl

NuevoAsdl updated. Initial work to simplify the 'compiler' and Haskell code generation.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.