@ast-grep/lang-haskell
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

ast-grep napi language for haskell

Installation

In a pnpm project, run:

pnpm install @ast-grep/lang-haskell
pnpm install @ast-grep/napi
# install the tree-sitter-cli if no prebuild is available
pnpm install @tree-sitter/cli --save-dev

Usage

import haskell from '@ast-grep/lang-haskell'
import { registerDynamicLanguage, parse } from '@ast-grep/napi'

registerDynamicLanguage({ haskell })

const sg = parse('haskell', `your code`)
sg.root().kind()

Readme

Keywords

Package Sidebar

Install

npm i @ast-grep/lang-haskell

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

32.1 MB

Total Files

18

Last publish

Collaborators

  • herringtondarkholme