codebleu / parser /build.py
idsedykh's picture
some work
0a17ff4
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from tree_sitter import Language, Parser
Language.build_library(
# Store the library in the `build` directory
'my-languages.so',
# Include one or more languages
[
'tree-sitter-go',
'tree-sitter-javascript',
'tree-sitter-python',
'tree-sitter-php',
'tree-sitter-java',
'tree-sitter-ruby',
'tree-sitter-c-sharp',
]
)