Benno Fünfstück
82c19b650c
Add Pretty to cabal file and remove Internal
2014-08-19 18:51:13 +02:00
Benno Fünfstück
3413a817e6
subdirectory for main to avoid redundant compile
...
Cabal builds the library files twice if the main executable and the
library share the same hs-source-dirs. Moving the main executable source
code to a subdirectory avoids this issue.
2014-08-19 18:48:55 +02:00
Benno Fünfstück
1b85b76a4e
parsec: Also use parsers (like trifecta)
...
This saves a lot of duplication and also makes it easier
to keep the parsec and trifecta versions of the parser in sync.
2014-08-15 16:11:05 +02:00
Benno Fünfstück
ac9675baae
More tests (one currently failing) and fixes
2014-08-05 21:23:28 +02:00
Benno Fünfstück
19c77ae2d1
trifecta: don't allow reserved in identifier
...
trifecta should not parse reserved words as identifiers. Before
this commit, `in` would parse as an identifier name and thus
`let a = b; in c` fails to parse.
2014-08-03 16:16:52 +02:00
Benno Fünfstück
3922112bab
add a few hunit tests for parser
2014-08-03 15:56:01 +02:00
John Wiegley
92cf6eecf9
Switch from pretty to ansi-wl-pprint
2014-07-18 04:42:06 -05:00
Luca Bruno
b12dc4f187
Pretty print nix expressions
2014-07-07 16:26:14 +02:00
John Wiegley
be1434726a
Add initial support for parsing operators
2014-07-01 01:12:28 -05:00
John Wiegley
8158557bb9
Factor out the abstract of which parsing library to use
2014-06-30 23:29:06 -05:00
John Wiegley
9b12ebf081
Break up Parser.hs, make use of Parsec optional
2014-06-30 23:12:18 -05:00
John Wiegley
29909a2598
Setup cabal file, fix all warnings
...
The next step is splitting up and prettifying Parser.hs
2014-06-30 22:37:20 -05:00