https://github.com/mihamarkic/godot-tscn-parser
Parser for Godot engine's .tscn scene files
https://github.com/mihamarkic/godot-tscn-parser
godot parser
Last synced: 3 months ago
JSON representation
Parser for Godot engine's .tscn scene files
- Host: GitHub
- URL: https://github.com/mihamarkic/godot-tscn-parser
- Owner: MihaMarkic
- License: mit
- Created: 2023-02-14T16:32:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T07:26:56.000Z (about 1 year ago)
- Last Synced: 2024-06-03T15:04:07.499Z (about 1 year ago)
- Topics: godot, parser
- Language: C#
- Homepage:
- Size: 101 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot TSCN parser
[](https://www.nuget.org/packages/Righthand.GodotTscnParser/)
The project is an [ANTLR](https://www.antlr.org/) based parser for Godot's [TSCN files](https://docs.godotengine.org/en/latest/contributing/development/file_formats/tscn.html).
Since alpha7, parser for project.godot file is added.The short term goal is to provide support for source code generators and not for full fledged parsing as TSCN files are not very well documented.
However, it can eventually provide strong typed configuration as there is motivation and long as somebody with enough knowledge about TSCN files is willing to help.
## How to use
See [godot-tscn-source-generator](https://github.com/MihaMarkic/godot-tscn-source-generator),
specifically classes `TscnTypesGenerator`, `GodotProjListener` and unit tests for them.