Skip to content

ericoporto/ags-cs-tree-sitter

Repository files navigation

AGS Script Tree Sitter Parser C#

Build Status

This is an experimental project. The general idea is to reuse the AGS Script Tree Sitter parser generated by Edmundito, add C# bindings using SWIG and build it for multiplatform (Windows/MacOS/Linux) using CMake.

This project is largely inspired by the python java tree sitter parser here. The cmake parts are made with code from the tree-sitter-cmake project here, but code has been heavily updated to work with latest tree-sitter.

How to build

You need to have swig installed (by apt, choco or brew).

Generate the swig files by running the bash script in this folder.

With the swig files generated, build the libraries twice once static and later shared. Place the generated .so/.dll/.dylib files in their respective directories under generated/

Useful references

The readings below provide useful information.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published