Skip to content

Need help to create python parser for typescript/javascript target #4317

Closed Answered by kaby76
Elmahdi1962 asked this question in Q&A
Discussion options

You must be logged in to vote

@Elmahdi1962 This is an issue with the grammar, not Antlr per se. The grammar that you will want to use is python/python3, but it only works for CSharp, Java, and Python3. I'll make a port for TypeScript today in a PR to round out all the grammar for all 8 targets (not including Swift because I can't get it to install--never could).

In fact, I created an issue on the Python grammars yesterday. before you wrote the question here. antlr/grammars-v4#3539. The state of the Python grammars in grammars-v4 is a mess.

Replies: 15 comments 60 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Elmahdi1962
Comment options

Comment options

You must be logged in to vote
10 replies
@kaby76
Comment options

@Elmahdi1962
Comment options

@kaby76
Comment options

@Elmahdi1962
Comment options

@fordinglade0
Comment options

Answer selected by Elmahdi1962
Comment options

You must be logged in to vote
7 replies
@kaby76
Comment options

@Elmahdi1962
Comment options

@Elmahdi1962
Comment options

@kaby76
Comment options

@Elmahdi1962
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kaby76
Comment options

Comment options

You must be logged in to vote
14 replies
@kaby76
Comment options

@Elmahdi1962
Comment options

@ericvergnaud
Comment options

@kaby76
Comment options

@Elmahdi1962
Comment options

Comment options

You must be logged in to vote
4 replies
@Elmahdi1962
Comment options

@ericvergnaud
Comment options

@KvanTTT
Comment options

@ericvergnaud
Comment options

Comment options

You must be logged in to vote
3 replies
@Elmahdi1962
Comment options

@KvanTTT
Comment options

@Elmahdi1962
Comment options

Comment options

You must be logged in to vote
1 reply
@Elmahdi1962
Comment options

Comment options

You must be logged in to vote
5 replies
@kaby76
Comment options

@Elmahdi1962
Comment options

@Elmahdi1962
Comment options

@kaby76
Comment options

@Elmahdi1962
Comment options

Comment options

You must be logged in to vote
4 replies
@Elmahdi1962
Comment options

@Elmahdi1962
Comment options

@kaby76
Comment options

@Elmahdi1962
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@Elmahdi1962
Comment options

@Elmahdi1962
Comment options

@kaby76
Comment options

@Elmahdi1962
Comment options

@kaby76
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants