ligo/tools/lsp/squirrel/package.yaml
Anton Myasnikov d5154dff36
[LIGO-41] Ligo binary integration
Problem: We want to integrate our lsp client with ligo binary to
be able to typecheck declarations as well as extract their scopes.

Solution: Implement a simple client that calls ligo and some helpers
functions to extract scopes from its output.
2020-09-08 18:48:53 +03:00

98 lines
1.5 KiB
YAML

name: ligo-squirrel
dependencies:
- base
- bytestring
- containers
- data-default
- duplo
- exceptions
- fastsum
- filepath
- ghc-prim
- interpolate
- mtl
- pretty
- text
- transformers
- tree-sitter
default-extensions:
- AllowAmbiguousTypes
- ApplicativeDo
- BangPatterns
- BlockArguments
- ConstraintKinds
- DataKinds
- DeriveAnyClass
- DeriveFoldable
- DeriveFunctor
- DeriveTraversable
- DerivingStrategies
- DerivingVia
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralisedNewtypeDeriving
- LambdaCase
- MagicHash
- MultiParamTypeClasses
- NamedFieldPuns
- OverloadedStrings
- QuasiQuotes
- ScopedTypeVariables
- StandaloneDeriving
- TemplateHaskell
- TypeApplications
- TypeFamilies
- TypeOperators
- UndecidableInstances
- ViewPatterns
ghc-options: -freverse-errors -Wall
library:
source-dirs:
- src/
include-dirs:
- vendor/pascaligo
- vendor/reasonligo
c-sources:
- vendor/pascaligo/parser.c
- vendor/reasonligo/parser.c
- vendor/camligo/parser.c
dependencies:
- haskell-lsp-types
- aeson
- process
- lens
- lens-aeson
- bytestring
- unordered-containers
executables:
squirrel:
dependencies:
- haskell-lsp
- hslogger
- interpolate
- lens
- lens-aeson
- ligo-squirrel
- directory
- unix
- stm
main: Main.hs
source-dirs:
- app/
ghc-options:
- -threaded
- -Wall