Ontological Modeling Language language server created with Langium.
Run all commands in the oml-code
directory.
Make sure you have Node.js as well as a compatible
JavaScript package manager (i.e., npm
) installed.
Install the project's dependencies.
$ npm install
To run the language server, first build the parser and abstract syntax tree
(AST), found in language/generated/ast.ts
:
$ npm run langium:generate
Note: Run this command any time you change the grammar to keep the parser and AST up to date.
Then build the langauge server:
$ npm run build
Note: Run this command any time you change the the language server source (including the grammar) to keep the server up to date.