Skip to content

Commit

Permalink
PLT-7142: Script to generate language specification, moved Marlowe LBNF
Browse files Browse the repository at this point in the history
  • Loading branch information
yveshauser committed Aug 21, 2023
1 parent 3931770 commit 248f76e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 675 deletions.
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
};

latex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-basic ulem collection-fontsrecommended mathpartir stmaryrd polytable lazylist;
inherit (pkgs.texlive) scheme-basic ulem collection-fontsrecommended mathpartir stmaryrd polytable lazylist ucs;
});

project = pkgs.haskell-nix.cabalProject' {
Expand All @@ -67,11 +67,13 @@
build-marlowe-proofs
edit-marlowe-proofs
build-marlowe-docs
generate-marlowe-language-specification
]
) ++
(with pkgs; [
nil
haskellPackages.lhs2tex
haskellPackages.BNFC
]) ++
[ latex formatting.fix-nix-fmt ];
};
Expand Down
9 changes: 1 addition & 8 deletions haskell/marlowe-reference.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ cabal-version: >= 1.10

executable marlowe
default-language: Haskell2010
build-tools: alex,
happy
build-depends: array,
base >= 4.9 && < 5,
build-depends: base >= 4.9 && < 5,
base16-bytestring >= 1 && < 2,
bytestring >= 0.10.12 && < 0.12,
containers >= 0.6.5 && < 0.7,
Expand All @@ -36,10 +33,6 @@ executable marlowe
Language.Marlowe.Semantics.Types
Language.Marlowe.Semantics.Deserialisation
Language.Marlowe.Semantics.Serialisation
Language.Marlowe.Syntax.AbsMarlowe
Language.Marlowe.Syntax.LexMarlowe
Language.Marlowe.Syntax.ParMarlowe
Language.Marlowe.Syntax.Translate
Language.Marlowe.ExtendedBuilder
Language.Marlowe.Serialisation
Language.Marlowe.Deserialisation
Expand Down
77 changes: 0 additions & 77 deletions haskell/src/Language/Marlowe/Syntax/AbsMarlowe.hs

This file was deleted.

270 changes: 0 additions & 270 deletions haskell/src/Language/Marlowe/Syntax/LexMarlowe.x

This file was deleted.

Loading

0 comments on commit 248f76e

Please sign in to comment.