bblfsh / bblfshd

A self-hosted server for source code parsing

Home Page:https://doc.bblf.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Language aliases support

bzz opened this issue · comments

commented

Enry and Bblfsh use different language names and one driver is responsible for parsing multiple dialects.

Right now bblfsh can accept both bblfsh or enry language names (for most common cases), but returns always only bblfsh ones.

Initial RFC and implementation details are in mailing list

This issue is going to be used as ☂️ and all details from MailingList will be moved in here before actual work begins (current expectation is 2Q2019).

Driver → Language Aliases

This list covers 2 main cases:

  1. enry <=> bblfshd language name mismatch (e.g C# vs charp)
  2. Dialects supported by a single driver (e.g javascript-driver for JSX and js, cpp-driver for C\C++, bash-driver for *sh)

Relevant issues

List of affected projects:

  • jgit-spark-connector
    • src-ml
      • apollo
    • gemini
  • gitbase
    • gitbase-web
      • engine
    • gitbase-spark-connector
    • gitbase-spark-connector-enterprise
  • engine (parse command)