Skip to content

GenTask is Outdated #135

@DavidBakerEffendi

Description

@DavidBakerEffendi

Describe the bug
GenTask.groovy is responsible for code generation during the addition of a new language. It also creates the main driver class for a language, but seems to reference TSTree as an interface, instead of an abstract class, and does not override copy either.

Similarly, the build.gradle that is generated does not seem consistent with the other languages.

Is it safe to assume that we should be generating something that looks like the other language modules? I am happy to give this a shot at a fix.

Expected behavior
I expect the new parser to be consistent with the others, with a passing build and test.

OS and Java version

  • OS: MacOS
  • Java version: 21

Additional context
I would like to add some more official parsers, such as Kotlin or Zig, and this is quite the hurdle which needs to be overcome otherwise those PRs will have a lot of scope creep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions