12/12/2024
PyGyat Configuration Guide
Overview
PyGyat requires minimal configuration to get started. This guide covers the essential configuration settings and customization options available.
File Extensions
- Default file extension:
.gyat
- PyGyat recognizes and processes files with
.gyat
extension - Regular Python files (
.py
) can be converted to PyGyat using thepy2gyat
command
Command Line Usage
Basic command structure:
$ pygyat source.gyat arg1 arg2 ...
Translation Commands
Convert Python to PyGyat:
$ py2gyat source.py
Keyword Mappings Configuration
PyGyat uses specific keyword mappings that translate Python syntax into brainrot terms. These mappings are predefined and cannot be modified:
| Python Keyword/Operator | PyGyat Translation | | --- | --- | | try/except/finally | hawk/tuah/spit on that thang | | return | its giving | | - | fanum tax | | + | rizz | | print | yap | | True | Aura | | False | Cooked | | def | bop | | while | let him cook | | import | glaze | | from | lock in | | class | skibidi | | if/elif/else | chat is this real/yo chat/only in ohio | | for | mewing | | break | just put the fries in the bag bro | | continue | edge | | assert | sus | | raise | crashout | | with | pookie | | as | ahh | | global | GOAT | | nonlocal | motion | | del | delulu | | yield | pause | | yield from | pause no diddy | | None | NPC | | pass | pluh | | self | unc | | range | huzz | | > | sigma | | < | beta | | ≥ | sigma twin | | ≤ | beta twin | | == | twin | | open | mog | | close | demure |
VS Code Extension Configuration
- Install the extension from Visual Studio Marketplace
- The extension automatically recognizes
.gyat
files - Syntax highlighting is enabled by default
- No additional configuration required
Project Structure
When using PyGyat in a project, maintain the following structure:
project/
├── src/
│ └── *.gyat files
├── tests/
│ └── test files
└── README.md
Compatibility
- PyGyat works with Python 3.x
- All standard Python libraries are supported
- Regular Python keywords with defined PyGyat mappings cannot be used in their original form
Error Handling
- PyGyat will raise syntax errors for invalid keyword usage
- Python runtime errors will be displayed with PyGyat keyword mappings
- Debug information is provided in Python syntax for easier troubleshooting
Best Practices
- Use
.gyat
extension for all PyGyat files - Keep original Python files as backup
- Use version control to track both
.py
and.gyat
files - Document any custom implementations
- Test code in both PyGyat and Python formats