angelozerr / qute-ls-old

POC for exploring JavaCC21 for Qute fault tolerant parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qute-ls

POC for Qute Language Server based on Qute parser generated by JavaCC21 to explore if (https://github.com/javacc21) could be a good canditate to manage Qute parser with fault tolerant which is required for LSP.

This repository hosts the following projects:

  • com.redhat.qute.ls the Qute Language Server which consumes the Qute Parser generated by JavaCC21.
  • vscode-qute the vscode extension which consumes the Qute Language Server.
  • vscode-qute the Eclipse plugin based on LSP4E which consumes the Qute Language Server.

Today the Qute parser is not tolerant (when you write error in the template, the outline become empty), but it will be improved.

Here a demo with vscode which shows errors and outline (symbols) which shows the Qute AST:

Qute Demo in vscode

Here a screenshot with Eclipse IDE:

Qute Demo in Eclipse IDE

About

POC for exploring JavaCC21 for Qute fault tolerant parser


Languages

Language:Java 80.6%Language:TypeScript 17.3%Language:HTML 1.0%Language:JavaScript 0.6%Language:Groovy 0.4%Language:CSS 0.2%