Lexer integration.

This commit is contained in:
2016-04-30 21:52:37 -07:00
parent edc2a7161a
commit a9dc45d93d
9 changed files with 271 additions and 199 deletions

View File

@@ -14,14 +14,31 @@ cabal-version: >=1.10
executable bang
main-is: Main.hs
build-depends: base >= 4.8 && < 4.9,
build-depends:
array >= 0.5.1.0 && < 0.7,
base >= 4.8 && < 4.9,
bytestring >= 0.10 && < 0.11,
optparse-applicative >= 0.12.1 && < 0.14
lens >= 4.14 && < 4.18,
monadLib >= 3.7.3 && < 3.9,
optparse-applicative >= 0.12.1 && < 0.14,
text >= 1.2.2.1 && < 1.4
hs-source-dirs: src
build-tools: alex, happy
ghc-options: -Wall
default-language: Haskell2010
other-extensions: DeriveDataTypeable
other-extensions: CPP,
DeriveDataTypeable,
DeriveFunctor,
GeneralizedNewtypeDeriving,
MagicHash,
MultiParamTypeClasses,
OverloadedStrings,
TemplateHaskell
other-modules:
Paths_bang,
Syntax.CommandLine
Bang.CommandLine,
Bang.Syntax.Lexer,
Bang.Syntax.Location,
Bang.Syntax.Name,
Bang.Syntax.Token,
Paths_bang