diff options
Diffstat (limited to 'src/main/frege/examples/HelloFrege.fr')
-rw-r--r-- | src/main/frege/examples/HelloFrege.fr | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/frege/examples/HelloFrege.fr b/src/main/frege/examples/HelloFrege.fr index ff80635..6fe88f7 100644 --- a/src/main/frege/examples/HelloFrege.fr +++ b/src/main/frege/examples/HelloFrege.fr @@ -1,10 +1,7 @@ module examples.HelloFrege where import Test.QuickCheck -import buildclient.config.BuildParser (parseShortDirective, lexer, runParser, parseFile, findDirective) -import buildclient.config.BuildConfig (findSource, findBuildSystem, parseBuildConfig) +import buildclient.config.BuildConfig (parseBuildConfigStr) main = do text <- readFile "src/main/resources/testconfig.bcc" - let lexed = lexer text - let (Right d) = runParser parseFile lexed - println $ show $ parseBuildConfig d + println $ show $ parseBuildConfigStr text |