Fix failing test
Fix failing test
Primitive lexing actions
8/8 HSpec tests passing.
Add a few HSpec tests.

These are fairly randomly chosen, more probably on the way. A few of
them aim to capture behaviour which might actually not be reflected in
the final output and demonstrate some of the weirdness that's currently
going on.
Remove most mentions of Alex/Happy

There are some left over in the .cabal file that will be removed once
the attoparsec build dependency is gone.
Comment out the sanity tests for now.
Pull in some of Attoparsec, ByteString version.

This is done to avoid a build-time, external dependency. Modules that
aren't being used were removed and only the ByteString modules
remain. This lets us avoid the dependency on Text &c.
Add bytestring build-dep. Report Attoparsec.
Remove Alex/Happy stuff.
Add some regression tests.

This is actual in-between output of nearly all strings parsed for the
purpose of html test suite with the Alex/Happy combination.
Oops, add missing function.
Add rest of tests.

All test removing including successful parsing of identifiers are
removed because we have no means of constructing the mock-ups easily.

I guess we could call GHC to make it for us…
Replicate the behaviour of splitting on delimiters
Silly-escape the #
Further regression fixes.
Take a new approach with 2 passes.

While the previous attempt only used one pass, there were a couple of
nasty bugs that resulted nothing but dirty hacks being put in. After few
days of fighting those, I concluded that to get 100% backwards
compatibility, trying to implement the old parser in a similar way and
then making changes to it from that point on is the best way to go.
Dump more tests into ParseSpec for quicker testing
Apply splithack to own parsing result too
Handle trailing whitespace with endOfInput.

The pesky thing is finally dealt with.