JPlag icon indicating copy to clipboard operation
JPlag copied to clipboard

Merge additional frontends from (semi-) active forks

Open tsaglam opened this issue 4 years ago • 4 comments

We could merge some existing frontends to offer support for more languages. Candidates are the Scala frontend, the R frontend, and the Jupyter Notebook frontend from @CodeGra-de. The frontends would probably require a bit of cleanup and some minor changes need to be made to adapt them to recent changes of the frontend utils.

tsaglam avatar Oct 21 '21 13:10 tsaglam

#56 also offers an R frontend, however, it currently cannot be merged due to conflicts.

tsaglam avatar Nov 26 '21 10:11 tsaglam

There are many ANTLR grammars available, however, their license might vary and they are not available on mvn central. Nevertheless, we could easily add more supported languages.

My personal wishlist:

  • [ ] golang
  • [ ] rust
  • [ ] kotlin

tsaglam avatar Feb 01 '22 07:02 tsaglam

What we (CodeGrade) did in our fork is that we made it possible to use external processes to parse the languages. The major advantage is that you can use existing parsers from the language itself, this makes creating (and updating) parsers way easier. We are still in the process of optimising that, but if you want we can send a PR when we have finalised that.

libre-man avatar Apr 04 '22 11:04 libre-man

@libre-man sounds interesting, I might have a look at it if I find some time. Do you have a link for me as a reference point?

tsaglam avatar Apr 04 '22 12:04 tsaglam

Closed, as the viable language modules were adopted and merged in #570 and #455.

tsaglam avatar Sep 15 '22 14:09 tsaglam