Copperbox revision 65.
Added SysEx and system-specific meta event to the event types.
The midiRead function has problems reading 'in the wild' midi files, so the next step would seem to be to add error handling so I can track where it is going wrong.
Thursday, July 19, 2007
Tuesday, July 10, 2007
Applicative Packrat Parser
Copperbox revision 62.
Added the usual combinators (satisfy, char, anyChar, manyof aka many, manyone, literal) to the packrat parser.
PS. I rather suspect I am not handling the recursion properly and the parses backtrack when they shouldn't. This makes them plain backtracking parsers rather packrat parsers.
Added the usual combinators (satisfy, char, anyChar, manyof aka many, manyone, literal) to the packrat parser.
PS. I rather suspect I am not handling the recursion properly and the parses backtrack when they shouldn't. This makes them plain backtracking parsers rather packrat parsers.
Monday, July 9, 2007
Applicative Packrat Parser
Copperbox revision 61.
Updated the packrat parser so that it parses the example given in Bryan Ford's ICFP'02 paper.
Updated the packrat parser so that it parses the example given in Bryan Ford's ICFP'02 paper.
Sunday, July 8, 2007
Applicative Packrat Parser
Copperbox revision 60
Added an parser in the packrat style that uses Control.Applicative.
Hopefully the parser is genuinely a packrat parser (that's to say it memoizes results properly rather than uses backtracking), but I'm not sure it is fully lazy. The code is only an experiment so it might get deleted from the repository head at some point, but the nice thing about version control is that it will live on. (Forever?)
Added an parser in the packrat style that uses Control.Applicative.
Hopefully the parser is genuinely a packrat parser (that's to say it memoizes results properly rather than uses backtracking), but I'm not sure it is fully lazy. The code is only an experiment so it might get deleted from the repository head at some point, but the nice thing about version control is that it will live on. (Forever?)
Sunday, July 1, 2007
Frown: c2hs parser
Copperbox revision 59
Adding the new 'empty biased' pretty printer (show have gone in at revision 58).
Copperbox revision 58
New plain Haskell (not UUAG pretty printer) pretty printer that uses the new pretty printing combinators. The plain version is now as comprehensive as the UUAG version and supersedes it (I will remove UUAG version quite soon).
Adding the new 'empty biased' pretty printer (show have gone in at revision 58).
Copperbox revision 58
New plain Haskell (not UUAG pretty printer) pretty printer that uses the new pretty printing combinators. The plain version is now as comprehensive as the UUAG version and supersedes it (I will remove UUAG version quite soon).
Subscribe to:
Posts (Atom)
Blog Archive
About Me
- Stephen Tetley
- 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.