mirror of
https://github.com/anoma/juvix.git
synced 2024-12-25 16:45:20 +03:00
3acade4072
* add TypeCallsBuilder and others * implement propagation of type calls * improve type propagation * polymorphize fungible token * sort type calls map pretty output * use HashSet in TypeCallsMap * renaming * rename module * improve indexing in type propagation * draft monomorphization generation algorithm * fix draft * wip mono code generation * wip code generation * finish first candidate for code generation * add monojuvix command * fix MonoJuvix pretty printer to properly display name ids * [monojuvix] improve clause pretty printing * add support for function types in expressions * properly translate function expressions * ormolu * add a basic positive test for monomorphization * cleanup effect constraints * collect type applications in axiom types * apply some style improvements * fix PolySimpleFungibleToken and add it to the test suite * ignore polymorphic inductive definitions that are never used
115 lines
2.5 KiB
YAML
115 lines
2.5 KiB
YAML
name: minijuvix
|
|
version: 0.1.2
|
|
license: GPL-3.0-only
|
|
license-file: LICENSE
|
|
copyright: (c) 2022- Heliax AG.
|
|
maintainer: The PLT Team at Heliax AG <hello@heliax.dev>
|
|
author: [ Jonathan Prieto-Cubides , Jan Mas Rovira , Paul Cadman ]
|
|
tested-with: ghc == 9.2.2
|
|
homepage: https://github.com/heliaxdev/minijuvix
|
|
bug-reports: https://github.com/heliaxdev/minijuvix/issues
|
|
description: The MiniJuvix compiler
|
|
category: Compilers/Interpreters
|
|
github: heliaxdev/minijuvix
|
|
|
|
extra-source-files:
|
|
- README.org
|
|
- CHANGELOG.org
|
|
|
|
dependencies:
|
|
- aeson == 2.0.*
|
|
- ansi-terminal == 0.11.*
|
|
- base == 4.16.*
|
|
- blaze-html == 0.9.*
|
|
- blaze-markup == 0.8.*
|
|
- bytestring == 0.11.*
|
|
- containers == 0.6.*
|
|
- directory == 1.3.*
|
|
- edit-distance == 0.2.*
|
|
- extra == 1.7.*
|
|
- transformers == 0.5.*
|
|
- filepath == 1.4.*
|
|
- gitrev == 1.3.*
|
|
- hashable == 1.4.*
|
|
- megaparsec == 9.2.*
|
|
- microlens-platform == 0.4.*
|
|
- parser-combinators == 1.3.*
|
|
- polysemy == 1.7.*
|
|
- polysemy-plugin == 0.4.*
|
|
- prettyprinter == 1.7.*
|
|
- prettyprinter-ansi-terminal == 1.1.*
|
|
- process == 1.6.*
|
|
- safe == 0.3.*
|
|
- semirings == 0.6.*
|
|
- singletons == 3.0.*
|
|
- singletons-th == 3.1.*
|
|
- Stream == 0.4.*
|
|
- template-haskell == 2.18.*
|
|
- text == 1.2.*
|
|
- th-utilities == 0.2.*
|
|
- unordered-containers == 0.2.*
|
|
|
|
# the tasty dependencies are here to avoid having to recompile
|
|
# minijuvix when running the tests.
|
|
- tasty
|
|
- tasty-hunit
|
|
- Diff == 0.4.*
|
|
- pretty-show == 1.10.*
|
|
|
|
ghc-options:
|
|
# Warnings
|
|
- -Wall
|
|
- -Wcompat
|
|
- -Wderiving-defaults
|
|
- -Widentities
|
|
- -Wincomplete-patterns
|
|
- -Wincomplete-record-updates
|
|
- -Wincomplete-uni-patterns
|
|
- -Wmissing-deriving-strategies
|
|
- -Wredundant-constraints
|
|
# HIE Support
|
|
- -fhide-source-paths
|
|
- -fwrite-ide-info -hiedir=.hie
|
|
# Polysemy Support
|
|
- -O2 -flate-specialise -fspecialise-aggressively
|
|
|
|
default-extensions:
|
|
- DataKinds
|
|
- DerivingStrategies
|
|
- GADTs
|
|
- GeneralizedNewtypeDeriving
|
|
- ImportQualifiedPost
|
|
- LambdaCase
|
|
- MultiWayIf
|
|
- NoImplicitPrelude
|
|
- OverloadedStrings
|
|
- QuasiQuotes
|
|
- RecordWildCards
|
|
- TemplateHaskell
|
|
- TypeFamilyDependencies
|
|
- UnicodeSyntax
|
|
|
|
library:
|
|
source-dirs: src
|
|
verbatim:
|
|
default-language: GHC2021
|
|
|
|
executables:
|
|
minijuvix:
|
|
main: Main.hs
|
|
source-dirs: app
|
|
dependencies:
|
|
- minijuvix
|
|
- optparse-applicative == 0.17.*
|
|
verbatim:
|
|
default-language: GHC2021
|
|
|
|
tests:
|
|
minijuvix-test:
|
|
main: Main.hs
|
|
source-dirs: test
|
|
dependencies:
|
|
- minijuvix
|
|
verbatim:
|
|
default-language: GHC2021
|