compiler/gren.cabal

273 lines
5.8 KiB
Plaintext
Raw Normal View History

Cabal-version: 3.8
2021-12-20 21:22:33 +03:00
Name: gren
2024-06-25 22:42:08 +03:00
Version: 0.4.4
Synopsis:
2021-12-20 21:22:33 +03:00
The `gren` command line interface.
Description:
2021-12-20 21:22:33 +03:00
This includes commands like `gren make`, `gren repl`, and many others
for helping make Gren developers happy and productive.
Author: Robin Heggelund Hansen
Copyright:
Original work Copyright (c) 2011-2021, Evan Czaplicki.
Modified work Copyright (c) 2021-present, The Gren CONTRIBUTORS
2021-12-20 21:22:33 +03:00
License: BSD-3-Clause
License-file: LICENSE
Homepage: https://gren-lang.org
Bug-reports: https://github.com/gren-lang/compiler/issues
Category: Compiler, Language
Build-type: Simple
source-repository head
type: git
2021-12-20 21:22:33 +03:00
location: git://github.com/gren/compiler.git
Flag dev {
Description: Turn off optimization and make warnings errors
Default: False
}
2022-05-01 10:01:23 +03:00
Common gren-common
if flag(dev)
ghc-options: -O0 -Wall
else
ghc-options: -O2 -Wall -Werror -threaded "-with-rtsopts=-N"
default-language: GHC2021
Hs-Source-Dirs:
2018-02-22 21:00:52 +03:00
compiler/src
builder/src
terminal/impl
2018-11-14 01:18:15 +03:00
terminal/src
2018-02-22 21:00:52 +03:00
other-modules:
2022-04-25 04:03:21 +03:00
Format
Init
Make
Docs
Repl
Package
Package.Install
2022-09-16 13:34:07 +03:00
Package.Uninstall
2022-09-23 10:35:37 +03:00
Package.Outdated
Package.Bump
Package.Diff
Package.Validate
2018-03-26 19:18:22 +03:00
-- terminal args
Terminal
Terminal.Chomp
Terminal.Error
Terminal.Helpers
Terminal.Internal
2018-03-26 19:18:22 +03:00
-- from builder/
2022-04-24 05:07:53 +03:00
AbsoluteSrcDir
Build
BackgroundWriter
2018-05-22 01:04:19 +03:00
Deps.Diff
Deps.Package
2018-05-22 01:04:19 +03:00
Deps.Solver
File
Generate
Git
Reporting
2018-05-22 01:04:19 +03:00
Reporting.Exit
Reporting.Exit.Help
Reporting.Task
Directories
-- Gren things
Gren.Outline
2022-08-19 16:28:00 +03:00
Gren.Platform
Gren.Details
2022-12-16 15:06:04 +03:00
Gren.PossibleFilePath
--
Gren.Compiler.Imports
Gren.Compiler.Type
Gren.Compiler.Type.Extract
Gren.Constraint
Gren.Docs
Gren.Int
Gren.Float
2022-05-02 00:54:53 +03:00
Gren.Format
Gren.Format.Normalize
Gren.Interface
Gren.Kernel
Gren.Licenses
Gren.Magnitude
Gren.ModuleName
Gren.Package
Gren.String
Gren.Version
-- data structures
Data.Bag
Data.Index
Data.Map.Utils
Data.Name
Data.NonEmptyList
Data.OneOrMore
Data.Utf8
-- json
2018-05-22 01:04:19 +03:00
Json.Decode
Json.Encode
Json.String
-- from compiler/
2018-05-22 01:04:19 +03:00
AST.Canonical
AST.Optimized
AST.Source
2022-09-15 04:43:04 +03:00
AST.SourceComments
2018-05-22 01:04:19 +03:00
AST.Utils.Binop
AST.Utils.Type
Canonicalize.Effects
Canonicalize.Environment
Canonicalize.Environment.Dups
Canonicalize.Environment.Foreign
Canonicalize.Environment.Local
Canonicalize.Expression
Canonicalize.Module
Canonicalize.Pattern
Canonicalize.Type
Compile
Generate.Html
Generate.Node
2018-05-22 01:04:19 +03:00
Generate.JavaScript
Generate.JavaScript.Builder
Generate.JavaScript.Expression
Generate.JavaScript.Functions
2018-05-22 01:04:19 +03:00
Generate.JavaScript.Name
Generate.Mode
Generate.SourceMap
2023-05-24 16:31:04 +03:00
Generate.VLQ
Nitpick.Debug
2018-05-22 01:04:19 +03:00
Nitpick.PatternMatches
Optimize.Case
Optimize.DecisionTree
Optimize.Expression
Optimize.Module
Optimize.Names
Optimize.Port
Parse.Declaration
Parse.Expression
Parse.Keyword
2018-05-22 01:04:19 +03:00
Parse.Module
Parse.Number
2018-05-22 01:04:19 +03:00
Parse.Pattern
Parse.Space
Parse.String
Parse.Symbol
2018-05-22 01:04:19 +03:00
Parse.Type
Parse.Variable
Parse.Primitives
2018-05-22 01:04:19 +03:00
Reporting.Annotation
Reporting.Doc
Reporting.Error
Reporting.Error.Canonicalize
Reporting.Error.Docs
Reporting.Error.Import
Reporting.Error.Json
2018-05-22 01:04:19 +03:00
Reporting.Error.Main
Reporting.Error.Pattern
Reporting.Error.Syntax
Reporting.Error.Type
Reporting.Render.Code
Reporting.Render.Type
Reporting.Render.Type.Localizer
Reporting.Report
Reporting.Result
Reporting.Suggest
Reporting.Warning
Type.Constrain.Expression
Type.Constrain.Module
Type.Constrain.Pattern
Type.Error
Type.Instantiate
Type.Occurs
Type.Solve
Type.Type
Type.Unify
Type.UnionFind
2021-12-20 21:22:33 +03:00
Paths_gren
Build-depends:
2021-12-18 22:07:27 +03:00
ansi-terminal >= 0.11 && < 0.12,
ansi-wl-pprint >= 0.6.8 && < 0.7,
2022-09-16 09:02:37 +03:00
base >= 4.17 && <5,
binary >= 0.8 && < 0.9,
bytestring >= 0.11 && < 0.12,
2021-12-18 22:07:27 +03:00
containers >= 0.6 && < 0.7,
directory >= 1.2.3.0 && < 2.0,
edit-distance >= 0.2 && < 0.3,
filelock,
filepath >= 1 && < 2.0,
ghc-prim >= 0.5.2,
haskeline,
mtl >= 2.2.1 && < 3,
2023-04-15 09:12:28 +03:00
prettyprint-avh4 >= 0.1.1.0 && < 0.2,
process,
raw-strings-qq,
scientific,
time >= 1.9.1,
utf8-string,
vector,
text >= 2 && < 3,
base64-bytestring >= 1.2 && < 2,
indexed-traversable
2022-05-01 10:01:23 +03:00
Executable gren
Import:
gren-common
default-language: GHC2021
2022-05-01 10:01:23 +03:00
Main-Is:
Main.hs
2022-05-01 10:13:19 +03:00
Test-Suite gren-tests
Import:
gren-common
default-language: GHC2021
2022-05-01 10:13:19 +03:00
Type:
exitcode-stdio-1.0
Hs-Source-Dirs:
tests
Main-Is:
Spec.hs
2022-05-01 11:28:43 +03:00
other-modules:
Helpers.Instances
2022-09-09 11:17:29 +03:00
Helpers.Parse
2022-05-01 11:28:43 +03:00
-- tests
2023-05-24 16:31:04 +03:00
Generate.VLQSpec
2022-09-16 07:02:07 +03:00
Integration.FormatSpec
2022-11-11 12:16:01 +03:00
Parse.AliasSpec
2022-08-05 15:50:15 +03:00
Parse.RecordUpdateSpec
2022-09-16 07:02:07 +03:00
Parse.SpaceSpec
Parse.UnderscorePatternSpec
Parse.MultilineStringSpec
2023-09-20 22:15:34 +03:00
Parse.DeclSpec
2022-05-01 11:28:43 +03:00
2022-05-01 10:13:19 +03:00
Build-Depends:
hspec >= 2.7.10 && < 3
Build-Tool-Depends:
hspec-discover:hspec-discover >= 2.7.10 && < 3