Skip to content

How to do the conversion from TextMate grammar? #475

Answered by SpartanJ
Viyetanami asked this question in Q&A
Discussion options

You must be logged in to vote

With the usual tool, as I said ecode now understands TextMate grammars:
ecode --convert-lang-path=/path/to/grammar.tmLanguage.json --convert-lang-output=/output/path/

This step is not needed at all, conversion to C++ is done to integrate the grammar into ecode build (and to load it faster), you don't need to do that. Just put your grammar into the languages folder, it will overwrite any existing grammar if the grammar already exists in the ecode build.

Replies: 8 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Viyetanami
Comment options

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

Comment options

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

Comment options

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

@Viyetanami
Comment options

@SpartanJ
Comment options

Comment options

You must be logged in to vote
2 replies
@Viyetanami
Comment options

@SpartanJ
Comment options

Comment options

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

Comment options

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

Comment options

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

@SpartanJ
Comment options

@Viyetanami
Comment options

@SpartanJ
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
2 participants