├── .github ├── FUNDING.yml └── workflows │ └── build.yml ├── .gitignore ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── LICENSE ├── README.md ├── ROADMAP.md ├── bin └── compiler ├── compiler └── src │ ├── AST │ ├── Canonical.hs │ ├── Optimized.hs │ ├── Source.hs │ ├── SourceComments.hs │ └── Utils │ │ ├── Binop.hs │ │ └── Type.hs │ ├── Canonicalize │ ├── Effects.hs │ ├── Environment.hs │ ├── Environment │ │ ├── Dups.hs │ │ ├── Foreign.hs │ │ └── Local.hs │ ├── Expression.hs │ ├── Module.hs │ ├── Pattern.hs │ └── Type.hs │ ├── Compile.hs │ ├── Data │ ├── Bag.hs │ ├── Index.hs │ ├── Map │ │ └── Utils.hs │ ├── Name.hs │ ├── NonEmptyList.hs │ ├── OneOrMore.hs │ └── Utf8.hs │ ├── Generate │ ├── Html.hs │ ├── JavaScript.hs │ ├── JavaScript │ │ ├── Builder.hs │ │ ├── Expression.hs │ │ ├── Functions.hs │ │ └── Name.hs │ ├── Mode.hs │ ├── Node.hs │ ├── SourceMap.hs │ └── VLQ.hs │ ├── Gren │ ├── Compiler │ │ ├── Imports.hs │ │ ├── Type.hs │ │ └── Type │ │ │ └── Extract.hs │ ├── Constraint.hs │ ├── Docs.hs │ ├── Float.hs │ ├── Int.hs │ ├── Interface.hs │ ├── Kernel.hs │ ├── Licenses.hs │ ├── Magnitude.hs │ ├── ModuleName.hs │ ├── Package.hs │ ├── String.hs │ └── Version.hs │ ├── Json │ ├── Decode.hs │ ├── Encode.hs │ └── String.hs │ ├── Nitpick │ ├── Debug.hs │ └── PatternMatches.hs │ ├── Optimize │ ├── Case.hs │ ├── DecisionTree.hs │ ├── Expression.hs │ ├── Module.hs │ ├── Names.hs │ └── Port.hs │ ├── Parse │ ├── Declaration.hs │ ├── Expression.hs │ ├── Keyword.hs │ ├── Module.hs │ ├── Number.hs │ ├── Pattern.hs │ ├── Primitives.hs │ ├── Space.hs │ ├── String.hs │ ├── Symbol.hs │ ├── Type.hs │ └── Variable.hs │ ├── Reporting │ ├── Annotation.hs │ ├── Doc.hs │ ├── Error.hs │ ├── Error │ │ ├── Canonicalize.hs │ │ ├── Docs.hs │ │ ├── Import.hs │ │ ├── Json.hs │ │ ├── Main.hs │ │ ├── Pattern.hs │ │ ├── Syntax.hs │ │ └── Type.hs │ ├── Render │ │ ├── Code.hs │ │ ├── Type.hs │ │ └── Type │ │ │ └── Localizer.hs │ ├── Report.hs │ ├── Result.hs │ ├── Suggest.hs │ └── Warning.hs │ └── Type │ ├── Constrain │ ├── Expression.hs │ ├── Module.hs │ └── Pattern.hs │ ├── Error.hs │ ├── Instantiate.hs │ ├── Occurs.hs │ ├── Solve.hs │ ├── Type.hs │ ├── Unify.hs │ └── UnionFind.hs ├── devbox.json ├── devbox.lock ├── docs ├── hacking_on_core_packages.md └── kernel_code.md ├── gren.cabal ├── gren.json ├── hints ├── bad-recursion.md ├── comparing-custom-types.md ├── comparing-records.md ├── implicit-casts.md ├── import-cycles.md ├── imports.md ├── infinite-type.md ├── init.md ├── missing-patterns.md ├── optimize.md ├── port-modules.md ├── recursive-alias.md ├── repl.md ├── shadowing.md └── type-annotations.md ├── index.js ├── package.json ├── scripts └── prod_build.sh ├── src ├── Git.gren ├── Main.gren ├── Meta.gren ├── Stream │ ├── Extra.gren │ └── Log.gren └── Terminal │ ├── Help.gren │ ├── Init.gren │ ├── PackageBump.gren │ ├── PackageDiff.gren │ ├── PackageInstall.gren │ ├── PackageOutdated.gren │ ├── PackageUninstall.gren │ ├── PackageValidate.gren │ ├── Parser.gren │ ├── Paths.gren │ ├── Repl.gren │ ├── Report.gren │ └── Run.gren ├── terminal ├── Command.hs ├── Docs.hs ├── Main.hs ├── Make.hs ├── Package │ ├── Bump.hs │ ├── Diff.hs │ └── Validate.hs └── Repl.hs └── tests ├── Generate └── VLQSpec.hs ├── Helpers ├── Instances.hs └── Parse.hs ├── Parse ├── AliasSpec.hs ├── DeclSpec.hs ├── MultilineStringSpec.hs ├── RecordUpdateSpec.hs ├── SpaceSpec.hs └── UnderscorePatternSpec.hs └── Spec.hs /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | ko_fi: gren 2 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/CONTRIBUTORS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/README.md -------------------------------------------------------------------------------- /ROADMAP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/ROADMAP.md -------------------------------------------------------------------------------- /bin/compiler: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/bin/compiler -------------------------------------------------------------------------------- /compiler/src/AST/Canonical.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/AST/Canonical.hs -------------------------------------------------------------------------------- /compiler/src/AST/Optimized.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/AST/Optimized.hs -------------------------------------------------------------------------------- /compiler/src/AST/Source.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/AST/Source.hs -------------------------------------------------------------------------------- /compiler/src/AST/SourceComments.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/AST/SourceComments.hs -------------------------------------------------------------------------------- /compiler/src/AST/Utils/Binop.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/AST/Utils/Binop.hs -------------------------------------------------------------------------------- /compiler/src/AST/Utils/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/AST/Utils/Type.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Effects.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Effects.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Environment.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Environment.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Environment/Dups.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Environment/Dups.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Environment/Foreign.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Environment/Foreign.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Environment/Local.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Environment/Local.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Expression.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Expression.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Module.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Module.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Pattern.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Pattern.hs -------------------------------------------------------------------------------- /compiler/src/Canonicalize/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Canonicalize/Type.hs -------------------------------------------------------------------------------- /compiler/src/Compile.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Compile.hs -------------------------------------------------------------------------------- /compiler/src/Data/Bag.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Data/Bag.hs -------------------------------------------------------------------------------- /compiler/src/Data/Index.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Data/Index.hs -------------------------------------------------------------------------------- /compiler/src/Data/Map/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Data/Map/Utils.hs -------------------------------------------------------------------------------- /compiler/src/Data/Name.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Data/Name.hs -------------------------------------------------------------------------------- /compiler/src/Data/NonEmptyList.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Data/NonEmptyList.hs -------------------------------------------------------------------------------- /compiler/src/Data/OneOrMore.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Data/OneOrMore.hs -------------------------------------------------------------------------------- /compiler/src/Data/Utf8.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Data/Utf8.hs -------------------------------------------------------------------------------- /compiler/src/Generate/Html.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/Html.hs -------------------------------------------------------------------------------- /compiler/src/Generate/JavaScript.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/JavaScript.hs -------------------------------------------------------------------------------- /compiler/src/Generate/JavaScript/Builder.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/JavaScript/Builder.hs -------------------------------------------------------------------------------- /compiler/src/Generate/JavaScript/Expression.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/JavaScript/Expression.hs -------------------------------------------------------------------------------- /compiler/src/Generate/JavaScript/Functions.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/JavaScript/Functions.hs -------------------------------------------------------------------------------- /compiler/src/Generate/JavaScript/Name.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/JavaScript/Name.hs -------------------------------------------------------------------------------- /compiler/src/Generate/Mode.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/Mode.hs -------------------------------------------------------------------------------- /compiler/src/Generate/Node.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/Node.hs -------------------------------------------------------------------------------- /compiler/src/Generate/SourceMap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/SourceMap.hs -------------------------------------------------------------------------------- /compiler/src/Generate/VLQ.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Generate/VLQ.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Compiler/Imports.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Compiler/Imports.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Compiler/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Compiler/Type.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Compiler/Type/Extract.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Compiler/Type/Extract.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Constraint.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Constraint.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Docs.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Docs.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Float.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Float.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Int.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Int.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Interface.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Interface.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Kernel.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Kernel.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Licenses.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Licenses.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Magnitude.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Magnitude.hs -------------------------------------------------------------------------------- /compiler/src/Gren/ModuleName.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/ModuleName.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Package.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Package.hs -------------------------------------------------------------------------------- /compiler/src/Gren/String.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/String.hs -------------------------------------------------------------------------------- /compiler/src/Gren/Version.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Gren/Version.hs -------------------------------------------------------------------------------- /compiler/src/Json/Decode.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Json/Decode.hs -------------------------------------------------------------------------------- /compiler/src/Json/Encode.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Json/Encode.hs -------------------------------------------------------------------------------- /compiler/src/Json/String.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Json/String.hs -------------------------------------------------------------------------------- /compiler/src/Nitpick/Debug.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Nitpick/Debug.hs -------------------------------------------------------------------------------- /compiler/src/Nitpick/PatternMatches.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Nitpick/PatternMatches.hs -------------------------------------------------------------------------------- /compiler/src/Optimize/Case.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Optimize/Case.hs -------------------------------------------------------------------------------- /compiler/src/Optimize/DecisionTree.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Optimize/DecisionTree.hs -------------------------------------------------------------------------------- /compiler/src/Optimize/Expression.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Optimize/Expression.hs -------------------------------------------------------------------------------- /compiler/src/Optimize/Module.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Optimize/Module.hs -------------------------------------------------------------------------------- /compiler/src/Optimize/Names.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Optimize/Names.hs -------------------------------------------------------------------------------- /compiler/src/Optimize/Port.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Optimize/Port.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Declaration.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Declaration.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Expression.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Expression.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Keyword.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Keyword.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Module.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Module.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Number.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Number.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Pattern.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Pattern.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Primitives.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Primitives.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Space.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Space.hs -------------------------------------------------------------------------------- /compiler/src/Parse/String.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/String.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Symbol.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Symbol.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Type.hs -------------------------------------------------------------------------------- /compiler/src/Parse/Variable.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Parse/Variable.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Annotation.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Annotation.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Doc.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Doc.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Canonicalize.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Canonicalize.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Docs.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Docs.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Import.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Import.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Json.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Json.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Main.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Pattern.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Pattern.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Syntax.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Syntax.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Error/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Error/Type.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Render/Code.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Render/Code.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Render/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Render/Type.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Render/Type/Localizer.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Render/Type/Localizer.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Report.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Report.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Result.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Result.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Suggest.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Suggest.hs -------------------------------------------------------------------------------- /compiler/src/Reporting/Warning.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Reporting/Warning.hs -------------------------------------------------------------------------------- /compiler/src/Type/Constrain/Expression.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Constrain/Expression.hs -------------------------------------------------------------------------------- /compiler/src/Type/Constrain/Module.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Constrain/Module.hs -------------------------------------------------------------------------------- /compiler/src/Type/Constrain/Pattern.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Constrain/Pattern.hs -------------------------------------------------------------------------------- /compiler/src/Type/Error.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Error.hs -------------------------------------------------------------------------------- /compiler/src/Type/Instantiate.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Instantiate.hs -------------------------------------------------------------------------------- /compiler/src/Type/Occurs.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Occurs.hs -------------------------------------------------------------------------------- /compiler/src/Type/Solve.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Solve.hs -------------------------------------------------------------------------------- /compiler/src/Type/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Type.hs -------------------------------------------------------------------------------- /compiler/src/Type/Unify.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/Unify.hs -------------------------------------------------------------------------------- /compiler/src/Type/UnionFind.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/compiler/src/Type/UnionFind.hs -------------------------------------------------------------------------------- /devbox.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/devbox.json -------------------------------------------------------------------------------- /devbox.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/devbox.lock -------------------------------------------------------------------------------- /docs/hacking_on_core_packages.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/docs/hacking_on_core_packages.md -------------------------------------------------------------------------------- /docs/kernel_code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/docs/kernel_code.md -------------------------------------------------------------------------------- /gren.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/gren.cabal -------------------------------------------------------------------------------- /gren.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/gren.json -------------------------------------------------------------------------------- /hints/bad-recursion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/bad-recursion.md -------------------------------------------------------------------------------- /hints/comparing-custom-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/comparing-custom-types.md -------------------------------------------------------------------------------- /hints/comparing-records.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/comparing-records.md -------------------------------------------------------------------------------- /hints/implicit-casts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/implicit-casts.md -------------------------------------------------------------------------------- /hints/import-cycles.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/import-cycles.md -------------------------------------------------------------------------------- /hints/imports.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/imports.md -------------------------------------------------------------------------------- /hints/infinite-type.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/infinite-type.md -------------------------------------------------------------------------------- /hints/init.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/init.md -------------------------------------------------------------------------------- /hints/missing-patterns.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/missing-patterns.md -------------------------------------------------------------------------------- /hints/optimize.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/optimize.md -------------------------------------------------------------------------------- /hints/port-modules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/port-modules.md -------------------------------------------------------------------------------- /hints/recursive-alias.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/recursive-alias.md -------------------------------------------------------------------------------- /hints/repl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/repl.md -------------------------------------------------------------------------------- /hints/shadowing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/shadowing.md -------------------------------------------------------------------------------- /hints/type-annotations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/hints/type-annotations.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/package.json -------------------------------------------------------------------------------- /scripts/prod_build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/scripts/prod_build.sh -------------------------------------------------------------------------------- /src/Git.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Git.gren -------------------------------------------------------------------------------- /src/Main.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Main.gren -------------------------------------------------------------------------------- /src/Meta.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Meta.gren -------------------------------------------------------------------------------- /src/Stream/Extra.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Stream/Extra.gren -------------------------------------------------------------------------------- /src/Stream/Log.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Stream/Log.gren -------------------------------------------------------------------------------- /src/Terminal/Help.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/Help.gren -------------------------------------------------------------------------------- /src/Terminal/Init.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/Init.gren -------------------------------------------------------------------------------- /src/Terminal/PackageBump.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/PackageBump.gren -------------------------------------------------------------------------------- /src/Terminal/PackageDiff.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/PackageDiff.gren -------------------------------------------------------------------------------- /src/Terminal/PackageInstall.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/PackageInstall.gren -------------------------------------------------------------------------------- /src/Terminal/PackageOutdated.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/PackageOutdated.gren -------------------------------------------------------------------------------- /src/Terminal/PackageUninstall.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/PackageUninstall.gren -------------------------------------------------------------------------------- /src/Terminal/PackageValidate.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/PackageValidate.gren -------------------------------------------------------------------------------- /src/Terminal/Parser.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/Parser.gren -------------------------------------------------------------------------------- /src/Terminal/Paths.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/Paths.gren -------------------------------------------------------------------------------- /src/Terminal/Repl.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/Repl.gren -------------------------------------------------------------------------------- /src/Terminal/Report.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/Report.gren -------------------------------------------------------------------------------- /src/Terminal/Run.gren: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/src/Terminal/Run.gren -------------------------------------------------------------------------------- /terminal/Command.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Command.hs -------------------------------------------------------------------------------- /terminal/Docs.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Docs.hs -------------------------------------------------------------------------------- /terminal/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Main.hs -------------------------------------------------------------------------------- /terminal/Make.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Make.hs -------------------------------------------------------------------------------- /terminal/Package/Bump.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Package/Bump.hs -------------------------------------------------------------------------------- /terminal/Package/Diff.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Package/Diff.hs -------------------------------------------------------------------------------- /terminal/Package/Validate.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Package/Validate.hs -------------------------------------------------------------------------------- /terminal/Repl.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/terminal/Repl.hs -------------------------------------------------------------------------------- /tests/Generate/VLQSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Generate/VLQSpec.hs -------------------------------------------------------------------------------- /tests/Helpers/Instances.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Helpers/Instances.hs -------------------------------------------------------------------------------- /tests/Helpers/Parse.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Helpers/Parse.hs -------------------------------------------------------------------------------- /tests/Parse/AliasSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Parse/AliasSpec.hs -------------------------------------------------------------------------------- /tests/Parse/DeclSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Parse/DeclSpec.hs -------------------------------------------------------------------------------- /tests/Parse/MultilineStringSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Parse/MultilineStringSpec.hs -------------------------------------------------------------------------------- /tests/Parse/RecordUpdateSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Parse/RecordUpdateSpec.hs -------------------------------------------------------------------------------- /tests/Parse/SpaceSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Parse/SpaceSpec.hs -------------------------------------------------------------------------------- /tests/Parse/UnderscorePatternSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gren-lang/compiler/HEAD/tests/Parse/UnderscorePatternSpec.hs -------------------------------------------------------------------------------- /tests/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover #-} 2 | --------------------------------------------------------------------------------