Skip to content

A language server for OML using Langium and Sprotty frameworks

License

Notifications You must be signed in to change notification settings

opencaesar/oml-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OML Code

Build Status Release

An extension to support OML in VSCode-based IDEs.

Installation

1.Download the latest oml-code-<version>.vsix file from the Assets in: https://github.com/opencaesar/oml-code/releases

Drag the drop the downloaded file to the extension tab of your VS Code.

Open an OML workspace and open *.oml text editor

Development

Run all commands in the oml-code directory.

Make sure you have Node.js v22+ as well as a compatible JavaScript package manager (i.e., npm) installed.

Prerequisites

Install the project's dependencies.

$ npm install

Generate langium code

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.

Build source code

Then build the sources of 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.

About

A language server for OML using Langium and Sprotty frameworks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published