Commit 559e77a8 authored by dterei's avatar dterei

Fix up Fst benchmark.

parent f6b9af74
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
module Fibon.Benchmarks.Hackage.Fst.Fibon.Instance(
mkInstance
)
where
import Fibon.BenchmarkInstance
sharedConfig = BenchmarkInstance {
flagConfig = FlagConfig {
configureFlags = []
, buildFlags = []
, runFlags = ["-u", "soda.fst"]
}
, stdinInput = Just "PLONK"
, output = [(Stdout, Diff "fst.stdout.expected")]
, exeName = "fst"
}
flgCfg = flagConfig sharedConfig
mkInstance Test = sharedConfig {
flagConfig = flgCfg
}
mkInstance Ref = sharedConfig {
flagConfig = flgCfg
}
<nickel> ::= ["n" .x. "c"^5];
<dime> ::= ["d" .x. "c"^10];
<quarter> ::= ["q" .x. "c"^25];
<cent> ::= ["c" .x. "c"];
<money> ::= [<nickel> | <dime> | <quarter> | <cent>]*;
<drink> ::= ["c"^50 .x. "PLONK"];
<main> ::= [<money> .o. <drink>];
<nickel> ::= ["n" .x. "c"^5];
<dime> ::= ["d" .x. "c"^10];
<quarter> ::= ["q" .x. "c"^25];
<cent> ::= ["c" .x. "c"];
<money> ::= [<nickel> | <dime> | <quarter> | <cent>]*;
<drink> ::= ["c"^10 .x. "PLONK"];
<main> ::= [<money> .o. <drink>];
......@@ -32,5 +32,5 @@ SRCS = src/FST/GetOpt.hs \
src/FST/Main.hs
PROG_ARGS += -u soda.fst
STDIN_FILE = PLONK
HC_OPTS += -isrc -package array -package base -package haskell98
HC_OPTS += -isrc -package array -package base
include $(TOP)/mk/target.mk
This diff is collapsed.
This diff is collapsed.
name: fst
version: 0.9
synopsis: Finite state transducers
description: Fst is an application for construction and running of
finite state transducers. The application was written
purely in Haskell, and is intended to be a tool for the
Haskell programmer, especially for ones that develop language applications.
category: Compilers/Interpreters
license: BSD3
license-file: LICENSE
author: Markus Forsberg
maintainer: Markus Forsberg <markus@cs.chalmers.se>
homepage: http://www.cs.chalmers.se/~markus/fstStudio/
build-type: Simple
build-depends: base, haskell98
Cabal-Version: >= 1.2
tested-with: GHC==6.8.2
data-files: doc/fstMan0.9.ps, doc/Interface0.9.ps
Library
Buildable: False
exposed-modules: FST.Alex, FST.Arguments, FST.Automaton, FST.AutomatonInterface, FST.AutomatonTypes,
FST.Complete, FST.Deterministic, FST.DeterministicT, FST.EpsilonFreeT, FST.FileImport,
FST.GetOpt, FST.Info, FST.LBFA, FST.LBFT, FST.Lexer, FST.MinimalBrzozowski, FST.MinimalTBrzozowski,
FST.NReg, FST.Parse, FST.RegTypes, FST.Reversal, FST.ReversalT, FST.RRegTypes, FST.RunTransducer,
FST.StateMonad, FST.Transducer, FST.TransducerInterface, FST.TransducerTypes, FST.Utils
ghc-prof-options: -prof -auto-all
Executable fst
executable: fst
main-is: FST/Main.hs
Build-Depends: base >=4 && <5, haskell98, array
ghc-prof-options: -prof -auto-all
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment