Skip to content

codegeneration support #511

Open
Open

Description

@unera

Hi, there!

We have many different compilers/interpretators for different languages. From time to time compilers generate code for the other compilers/interpretators.

For example TypeScript or Ragel.

Lets look into, for example, Ragel.

A user writes code on Ragel and compiler ragel converts the code to C++, Golang, Java, etc.
When the compiler does that it markups codegenerated parts by labels (comments)

// line filename.rl:28

изображение

C++, Golang, etc compilers use the tags and if an error or panic exists, that has the file:line in its stacktrace.
See screenshot:

изображение

I hope You know that.

Now, I have a question.

We have some codegenerated lua code, that started by gopher-lua.

Is there any way to thace errors like do C++/Golang/Java and Ragel?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions