Skip to content
  • chevalier@alum.wellesley.edu's avatar
    Revive External Core parser · 6e93da5e
    chevalier@alum.wellesley.edu authored
    Huzzah, the External Core parser will now parse External Core generated by
    the HEAD.
    
    Most notably, I rewrote the parser in Parsec, but the old Happy version
    remains in the repository.
    
    I checked all the nofib benchmarks and most of the ghc-prim, base and integer
    libraries to make sure they parsed; one known bug:
      - Strings like "\x0aE", in which a hex escape code is followed by a
        letter that could be a hex digit, aren't handled properly. I'm 
        investigating whether this is a bug in Parsec or expected behavior.
    
    The checker and interpreter still don't work, but should compile.
    
    Please mess around with the parser, report bugs, improve my code, etc.,
    if you're so inclined.
    6e93da5e