Open tsaglam opened 8 months ago
the C++ grammars-v4 targets C++14, the grammars-v4 repository also contains a grammar for C targeting C11, avoiding the new
keyword issue
None support extended character (but \uXXXX are well supported). Reading the standard, it looks like those characters are implementation defined characters, and I suppose it's either a burden or not possible to have then in the a generic way in the grammar. If jplag assumes a specific encoding for files, it may uses a patched version of the gramar to address the issue. In an other hand, non ascii characters in identifier are far from common
The problem with Unicode identifiers is an antlr error. An issue has been created: https://github.com/antlr/grammars-v4/issues/3952
From #1408: