在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):google/haskell-indexer开源软件地址(OpenSource Url):https://github.com/google/haskell-indexer开源编程语言(OpenSource Language):Haskell 89.9%开源软件介绍(OpenSource Introduction):The haskell-indexer package provides libs for preprocessing Haskell source code into a representation for easy entity cross-referencing, as well as a frontend for emitting entities for the Kythe indexing schema. This is not an official Google product. Supported systemsIndexing hosts:
Compilers:
Stackage:
Previous compilers were supported at some point. Checkout an old repository state if interested: InstallationStackDownload Stack from http://docs.haskellstack.org KytheIf you want to use the Kythe frontend, you'll need to install it either from source or from the official release. The latter is easier, but the web UI has been removed in recent versions. Official ReleaseDownload a Kythe release and unpack it.
Version If you want to install Kythe in a different location to Building From SourceClone Kythe from its GitHub repo and
follow the Getting Started guide to build
and install it into
Protoc 3Download the latest Proto compiler 3 release, unpack it and place the binary in the PATH.
Haskell Indexer Plugin (ghc >= 8.6 only)Haskell modules can be indexed with a GHC source plugin while building a
project. Whatever build system is in use, indexing can be achieved by
ensuring that the invocations to For instruction on how to install and use the plugin with If you are using some other build system, the following GHC options are relevant after the plugin is installed.
Build the projectUse the following to build and run tests:
To test all supported stack configurations, do DemoTo index a few packages, run: export INDEXER_OUTPUT_DIR=/tmp/indexer-output
./build-stack.sh mtlparse cpu The script adds a wrapper for the GHC compiler used by Stack ( To serve the index at ./serve.sh localhost:8080 If you get empty index, look at Indexing using DockerIf you plan to use the Dockerized build feature of stack, please install Docker. It is also advised to set up a docker wrapper script by following the instructions at the stack Docker security section. The docker image has all C library dependencies so it's possible to use it to
index the whole Stackage snapshot. See |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论