tree-sitter-javascript icon indicating copy to clipboard operation
tree-sitter-javascript copied to clipboard

Integration questions

Open tim-lebedkov opened this issue 3 years ago • 2 comments

Hello,

I would like to parse JavaScript into a syntactic tree in Delphi.

As far as I understand, I would need a 64 bit .DLL for tree-sitter and another one for tree-sitter-javascript. Where are these DLLs?

Where are (preferably C) definitions for the DLL functions I would need?

tim-lebedkov avatar Jul 21 '20 13:07 tim-lebedkov

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.87. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jul 21 '20 13:07 issue-label-bot[bot]

Could you answer me for the question? What's about delphi?

Elvares avatar Jun 07 '22 12:06 Elvares

Hey, you may compile libtree-sitter by just invoking make in the upstream tree-sitter library. In here, you just need to compile src/{parser.c, scanner.c} and only need to concern yourself with the exported function tree_sitter_javascript. I know this is quite old but hopefully this helps you or anyone else with a similar question.

amaanq avatar Jan 31 '24 04:01 amaanq