mirror of
https://github.com/gren-lang/compiler.git
synced 2024-09-11 08:45:42 +03:00
236 lines
5.2 KiB
Plaintext
236 lines
5.2 KiB
Plaintext
Cabal-version: 3.6
|
|
Name: gren
|
|
Version: 0.19.1
|
|
|
|
Synopsis:
|
|
The `gren` command line interface.
|
|
|
|
Description:
|
|
This includes commands like `gren make`, `gren repl`, and many others
|
|
for helping make Gren developers happy and productive.
|
|
|
|
Homepage: https://github.com/gren/compiler.git
|
|
|
|
License: BSD-3-Clause
|
|
License-file: LICENSE
|
|
|
|
Author: Robin Heggelund Hansen
|
|
Maintainer: info@gren-lang.org
|
|
Copyright: Copyright (c) 2011-2021, Evan Czaplicki. Copyright (c) 2021-present, Robin Heggelund Hansen
|
|
|
|
Category: Compiler, Language
|
|
|
|
Build-type: Simple
|
|
|
|
source-repository head
|
|
type: git
|
|
location: git://github.com/gren/compiler.git
|
|
|
|
|
|
Flag dev {
|
|
Description: Turn off optimization and make warnings errors
|
|
Default: False
|
|
}
|
|
|
|
|
|
Executable gren
|
|
if flag(dev)
|
|
ghc-options: -O0 -Wall -Werror
|
|
else
|
|
ghc-options: -O2 -rtsopts -threaded "-with-rtsopts=-N -qg -A128m"
|
|
|
|
Hs-Source-Dirs:
|
|
compiler/src
|
|
builder/src
|
|
terminal/impl
|
|
terminal/src
|
|
|
|
other-extensions:
|
|
TemplateHaskell
|
|
|
|
Main-Is:
|
|
Main.hs
|
|
|
|
other-modules:
|
|
Bump
|
|
Develop
|
|
Diff
|
|
Init
|
|
Install
|
|
Make
|
|
Publish
|
|
Repl
|
|
|
|
-- terminal args
|
|
Terminal
|
|
Terminal.Chomp
|
|
Terminal.Error
|
|
Terminal.Helpers
|
|
Terminal.Internal
|
|
|
|
-- from terminal/
|
|
Develop.Generate.Help
|
|
Develop.Generate.Index
|
|
Develop.StaticFiles
|
|
Develop.StaticFiles.Build
|
|
|
|
-- from builder/
|
|
Build
|
|
BackgroundWriter
|
|
Deps.Bump
|
|
Deps.Diff
|
|
Deps.Registry
|
|
Deps.Solver
|
|
Deps.Website
|
|
File
|
|
Generate
|
|
Http
|
|
Reporting
|
|
Reporting.Exit
|
|
Reporting.Exit.Help
|
|
Reporting.Task
|
|
Stuff
|
|
|
|
-- Elm things
|
|
Elm.Outline
|
|
Elm.Details
|
|
--
|
|
Elm.Compiler.Imports
|
|
Elm.Compiler.Type
|
|
Elm.Compiler.Type.Extract
|
|
Elm.Constraint
|
|
Elm.Docs
|
|
Elm.Float
|
|
Elm.Interface
|
|
Elm.Kernel
|
|
Elm.Licenses
|
|
Elm.Magnitude
|
|
Elm.ModuleName
|
|
Elm.Package
|
|
Elm.String
|
|
Elm.Version
|
|
|
|
-- data structures
|
|
Data.Bag
|
|
Data.Index
|
|
Data.Map.Utils
|
|
Data.Name
|
|
Data.NonEmptyList
|
|
Data.OneOrMore
|
|
Data.Utf8
|
|
|
|
-- json
|
|
Json.Decode
|
|
Json.Encode
|
|
Json.String
|
|
|
|
-- from compiler/
|
|
AST.Canonical
|
|
AST.Optimized
|
|
AST.Source
|
|
AST.Utils.Binop
|
|
AST.Utils.Shader
|
|
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.JavaScript
|
|
Generate.JavaScript.Builder
|
|
Generate.JavaScript.Expression
|
|
Generate.JavaScript.Functions
|
|
Generate.JavaScript.Name
|
|
Generate.Mode
|
|
Nitpick.Debug
|
|
Nitpick.PatternMatches
|
|
Optimize.Case
|
|
Optimize.DecisionTree
|
|
Optimize.Expression
|
|
Optimize.Module
|
|
Optimize.Names
|
|
Optimize.Port
|
|
Parse.Declaration
|
|
Parse.Expression
|
|
Parse.Keyword
|
|
Parse.Module
|
|
Parse.Number
|
|
Parse.Pattern
|
|
Parse.Shader
|
|
Parse.Space
|
|
Parse.String
|
|
Parse.Symbol
|
|
Parse.Type
|
|
Parse.Variable
|
|
Parse.Primitives
|
|
Reporting.Annotation
|
|
Reporting.Doc
|
|
Reporting.Error
|
|
Reporting.Error.Canonicalize
|
|
Reporting.Error.Docs
|
|
Reporting.Error.Import
|
|
Reporting.Error.Json
|
|
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
|
|
Paths_gren
|
|
|
|
Build-depends:
|
|
ansi-terminal >= 0.11 && < 0.12,
|
|
ansi-wl-pprint >= 0.6.8 && < 0.7,
|
|
base >=4.11 && <5,
|
|
binary >= 0.8 && < 0.9,
|
|
bytestring >= 0.10 && < 0.11,
|
|
containers >= 0.6 && < 0.7,
|
|
directory >= 1.2.3.0 && < 2.0,
|
|
edit-distance >= 0.2 && < 0.3,
|
|
file-embed,
|
|
filelock,
|
|
filepath >= 1 && < 2.0,
|
|
ghc-prim >= 0.5.2,
|
|
haskeline,
|
|
HTTP >= 4000.2.5 && < 4000.4,
|
|
http-client >= 0.7 && < 0.8,
|
|
http-client-tls >= 0.3 && < 0.4,
|
|
http-types >= 0.12 && < 1.0,
|
|
language-glsl >= 0.3,
|
|
mtl >= 2.2.1 && < 3,
|
|
network >= 2.4 && < 2.8,
|
|
parsec,
|
|
process,
|
|
raw-strings-qq,
|
|
scientific,
|
|
SHA,
|
|
snap-core,
|
|
snap-server,
|
|
template-haskell,
|
|
time >= 1.9.1,
|
|
unordered-containers,
|
|
utf8-string,
|
|
vector,
|
|
zip-archive
|