https://github.com/skyleite/renpy-ast
https://github.com/skyleite/renpy-ast
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skyleite/renpy-ast
- Owner: SkyLeite
- License: other
- Created: 2025-01-18T02:41:12.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-18T18:06:38.000Z (5 months ago)
- Last Synced: 2025-04-14T07:17:56.756Z (2 months ago)
- Language: TypeScript
- Size: 308 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ren'Py AST
Library for parsing an abstract syntax tree from an `.rpy` file. Extracted from https://github.com/renpy/vscode-language-renpy.
## Usage
``` typescript
import { parseFile } from "@renpy/ast";const { document, nodes } = await parseFile("screens.rpy");
nodes.forEach(node => console.log(node));
```