antlr4 icon indicating copy to clipboard operation
antlr4 copied to clipboard

TokenStreamRewriter for javascript?

Open andreasboos opened this issue 7 years ago • 4 comments

Hi. I already use antlr for a few years with java target. Now I need to use with javascript target. I followed the tutorial and everything went well. Now I missed a class: TokenStreamRewriter. Does it have a different name? I searched on google and found nothing with this topic.

andreasboos avatar Mar 17 '17 13:03 andreasboos

Hi, feel free to implement one and submit a PR Eric

Le 17 mars 2017 à 21:11, andreasboos [email protected] a écrit :

Hi. I already use antlr for a few years with java target. Now I need to use with javascript target. I followed the tutorial and everything went well. Now I missed a class: TokenStreamRewriter. Does it have a different name? I searched on google and found nothing with this topic.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/antlr/antlr4/issues/1767, or mute the thread https://github.com/notifications/unsubscribe-auth/ADLYJM6eZQ6uf9jCZ0zJOgVU7P25Mg31ks5rmoZ8gaJpZM4MgkZH.

ericvergnaud avatar Mar 18 '17 02:03 ericvergnaud

me too, hope add this class in javascript.

yilingapa avatar Aug 26 '20 10:08 yilingapa

I can take a stab at porting the class to js.

eirikur-grid avatar Feb 13 '22 10:02 eirikur-grid

Apologies for taking so long. PR is now ready for review.

eirikur-grid avatar Aug 03 '22 23:08 eirikur-grid

Closing since we can continue the conversation in the PR

ericvergnaud avatar Dec 18 '22 23:12 ericvergnaud