Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codegeneration support #511

Open
unera opened this issue Dec 2, 2024 · 0 comments
Open

codegeneration support #511

unera opened this issue Dec 2, 2024 · 0 comments

Comments

@unera
Copy link

unera commented Dec 2, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant