blob: 4150566b9b10ff59998e916e199f1384d840d3f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Baba Yaga Sublime Text Syntax
Syntax highlighting for the Baba Yaga programming language in Sublime Text.
## Installation
### Method 1: Manual Installation
1. Copy `Baba Yaga.sublime-syntax` to your Sublime Text packages directory:
- Windows: `%APPDATA%\Sublime Text\Packages\User\`
- macOS: `~/Library/Application Support/Sublime Text/Packages/User/`
- Linux: `~/.config/sublime-text/Packages/User/`
2. Restart Sublime Text
### Method 2: Create a Package
1. Create a folder named `Baba Yaga` in your Packages directory
2. Copy the syntax file into that folder
3. Restart Sublime Text
## Features
- Syntax highlighting for Baba Yaga language
- Support for `.baba` files
- Highlighting for:
- Keywords (when, then, is, with, etc.)
- Operators (->, =>, +, -, etc.)
- Functions and variables
- Strings and numbers
- Comments (// and /* */)
- When expressions
- Types (Bool, Int, Float, etc.)
## Usage
Open any `.baba` file and Sublime Text should automatically detect the language and apply syntax highlighting.
## Customization
You can customize the colors by modifying your color scheme or creating a custom theme that targets the `source.baba-yaga` scope.
|