{"name":"langium","version":"0.1.0-next.b687a8a","keywords":["language","dsl","low-code","lsp","language-server","vscode","typescript"],"license":"MIT","_id":"langium@0.1.0-next.b687a8a","dist":{"shasum":"a807b940166859a8125bc3ada4bcb9588413b3f8","tarball":"http://registry-npm.ywwl.com/langium/download/langium-0.1.0-next.b687a8a.tgz","fileCount":201,"integrity":"sha512-XeQMuBIWc4M2+rXjPK+JTn7LdxblL6thdGtPAQOk2zwqILErDV2de0nBeYQPOayYQrB/WLj97FT61lkOlqQkcw==","signatures":[{"sig":"MEUCIQCjutC/SL84kJErwf4/QLTHWKNSOpqgOfwKRtFgDGYCTwIgRdtsjSSBQ5zykGfyUDMBV9+MO5PX2G2kFB4KtSPE8iA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":762484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1GTNCRA9TVsSAnZWagAAoPkP/3MUxRjxjLrlMYve4mN5\n26hmen6kIS/zIBiL/nH6llnAwwirmH11JPkWsngEJFbQyUEsV0rvffdepjZx\nhdhgUDw/NLfYUqVl7rHlwdUABGN93zKyzOWEK0Hz+IzmKM7BB0bl9YanEc+Z\n6VB7dRazJRcb0QJ2dSIh12P8+rL3a4RvNzYxmOFhfThNLuAiRbEzS+6fKujI\n4bFAZp4DhdgNtd17lxveX5nAIlSCJf+Y/RlLY3Wm1QgvDBaGDchy5wzUepsg\nHmgwgg7kKmhQ/koQgGMqynLb5DRA6hD5SBlZA2iTEM/kSgjOVPAOOvYVfNf1\npPEcJHezpEGYhjvDJAvy5OZyGN8zIjFyH/F68hAmlASVvoE5gca8ZHgsbyF4\nNaZLReRhq3/E1asnhF5Hy/wr6q3dAHj9o0/cXrU8h0+5Y7w0HCxQZ/E0m24M\n8ZrHJNcl7BEsZj6mHkEAOPRZ45+xA+7TEySOPkl1HaNL5uy0LfmVSQ0dIBYG\nkxHY9shux7kZNoTuLYDmDzXtaqbVU+vV2v3QzLX09xlUMc6fxpnTZYYFLsTC\nUL3fBsJKixq1Bk8YH1SBatHueqywqHY8KBYkLLL30/EjY7WCw66/g+TwR84U\nbToiC9sAevAQU5BFPX4+p8z6eoQnpLsaRkVA4OsauGYMVgQHn7zODRGK7Yhy\nS48B\r\n=ZoPf\r\n-----END PGP SIGNATURE-----\r\n","size":121487,"noattachment":false,"key":"/langium/-/langium-0.1.0-next.b687a8a.tgz"},"main":"lib/index.js","types":"lib/index.d.ts","langium":{"out":"src/grammar/generated","grammar":"src/grammar/langium-grammar.langium","extensions":["langium"],"langiumInternal":true},"scripts":{"lint":"eslint ./src --ext .js,.ts","test":"jest --coverage","build":"tsc","clean":"rimraf lib coverage","watch":"tsc --watch","bootstrap":"node ../langium-cli/bin/langium generate && npm run copygrammar","copygrammar":"copyfiles -f ./src/grammar/generated/grammar.json ./lib/grammar/generated","publish:next":"npm --no-git-tag-version version \"$(semver $npm_package_version -i minor)-next.$(git rev-parse --short HEAD)\" && npm publish --tag next","publish:latest":"npm publish --tag latest"},"_npmUser":{"name":"spoenemann","email":"miro.spoenemann@typefox.io"},"_npmVersion":"7.16.0","description":"A language engineering tool for the Language Server Protocol","directories":{},"_nodeVersion":"15.14.0","dependencies":{"chevrotain":"^7.1.2","vscode-languageserver":"^7.0.0","vscode-languageserver-textdocument":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","eslint":"^7.20.0","rimraf":"^3.0.2","ts-jest":"^26.5.2","copyfiles":"^2.4.1","typescript":"^4.2.2","@types/jest":"^26.0.20","@types/node":"^14.14.31","@typescript-eslint/parser":"^4.15.2","@typescript-eslint/eslint-plugin":"^4.15.2"},"_npmOperationalInternal":{"tmp":"tmp/langium_0.1.0-next.b687a8a_1624532172551_0.8582573890282807","host":"s3://npm-registry-packages"},"readme":"# Langium\r\n\r\nLangium is a language engineering tool with built-in support for the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/). It has a simple and direct integration with the [VS Code extension API](https://code.visualstudio.com/api/language-extensions/overview).\r\n\r\nMore information: 🌍 https://langium.org\r\n\r\n## Getting Started\r\n\r\nLangium offers a [Yeoman](https://yeoman.io) generator to create a new language extension for VS Code. The only prerequisite for the following terminal commands is [NodeJS](https://nodejs.org/) version 16 or higher.\r\n\r\n1. Install Yeoman and the Langium extension generator.\r\n```\r\nnpm install -g yo generator-langium\r\n```\r\n\r\n2. Run the generator and answer a few questions.\r\n```\r\nyo langium\r\n```\r\n\r\n3. Open the new folder in VS Code (replace `hello-world` with the extension name you chose).\r\n```\r\ncode hello-world\r\n```\r\n\r\n4. Press **F5** to launch the extension in a new Extension Development Host window.\r\n\r\n5. Open a folder, create a file with your chosen file name extension (`.hello` is the default), and see that validation and completion (ctrl+space) works:\r\n\r\nFollow the instructions in `langium-quickstart.md` (in your extension folder) and the [documentation on the website](https://langium.org/docs/) to go further.\r\n\r\n## How Does it Work?\r\n\r\nThe core of Langium is a _grammar declaration language_ in which you describe multiple aspects of your language:\r\n\r\n - Tokens (keywords and terminal rules)\r\n - Syntax (parser rules)\r\n - Abstract syntax tree (AST)\r\n\r\nPlease follow the [Langium documentation](https://langium.org/docs/grammar-language/) to learn how to use this language.\r\n\r\nLangium features a command line interface ([langium-cli](https://www.npmjs.com/package/langium-cli)) that reads a grammar declaration and generates TypeScript type declarations for the AST and more.\r\n\r\nIntegration with the Language Server Protocol (LSP) is done with [vscode-languageserver](https://www.npmjs.com/package/vscode-languageserver). You have full access to the LSP API in Langium, so you can register additional message handlers or extend the protocol in a breeze.\r\n\r\nThe main code of Langium consists of a set of services that are connected via dependency injection (DI). You can override the default functionality and add your own service classes by specifying a DI module.\r\n\r\n## Examples\r\n\r\nThe source repository of Langium includes [examples](https://github.com/eclipse-langium/langium/tree/main/examples) that demonstrate different use cases.\r\n","publish_time":1624532172885,"maintainers":[{"name":"spoenemann","email":"miro.spoenemann@typefox.io"},{"name":"typefox-team","email":"npm@typefox.io"},{"name":"sailingfox","email":"christian.schneider@typefox.io"},{"name":"msujew","email":"mark.sujew@typefox.io"}],"_cnpm_publish_time":1624532172885,"dist-tags":{"latest":"4.4.2","next":"4.3.0-next.a52b426"}}