Parser combinators, JSON Parser

This commit is contained in:
vegowotenks 2025-08-21 19:30:00 +02:00
commit 5324106b0d
13 changed files with 787 additions and 0 deletions

76
hon.cabal Normal file
View file

@ -0,0 +1,76 @@
cabal-version: 2.2
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack
name: hon
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/hon#readme>
homepage: https://github.com/githubuser/hon#readme
bug-reports: https://github.com/githubuser/hon/issues
author: Author name here
maintainer: example@example.com
copyright: 2025 Author name here
license: BSD-3-Clause
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/githubuser/hon
library
exposed-modules:
Language.Json
Language.Json.Parser
other-modules:
Paths_hon
autogen-modules:
Paths_hon
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
array
, base >=4.7 && <5
, containers
, text
default-language: Haskell2010
executable hon-exe
main-is: Main.hs
other-modules:
Paths_hon
autogen-modules:
Paths_hon
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
array
, base >=4.7 && <5
, containers
, hon
, text
default-language: Haskell2010
test-suite hon-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_hon
autogen-modules:
Paths_hon
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
array
, base >=4.7 && <5
, containers
, hon
, text
default-language: Haskell2010