Skip to content

Jemy191/GDParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDParser

⚠In active developement

Some thing can change but not that much.

This is a simple Godot GDScript v2 parser. For it is only parsing var, func, signal and class attributes. This project is mainly to simplify C# -> GDScript interoperability.

Feature

  • Parse Class structure(Class_name, extend, var, func, signal).
  • Parse Enum.
  • Parse code(Will not be supported for now). And more to come.

How to use

using GDParser;

var source = "GDScript source code";
var gdClass = Parser.Parse()

var className = gdClass.Name;
var variables = gdClass.Variables;

Feel free to ask for feature support, doing a feature Pull Request or if you have question.