Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Bayara Language SupportNew to Visual Studio Code? Get it now.
Bayara Language Support

Bayara Language Support

David Lucas Barreto Gomes

|
3 installs
| (0) | Free
Syntax highlighting, snippets, autocomplete and hover docs for the Bayara DSL
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bayara Language Support

Official Visual Studio Code support for Bayara, a domain-specific language (DSL) for tabular data analysis and classical machine learning pipelines.

This extension provides syntax highlighting, snippets, hover documentation and basic autocomplete for .bay files.


Features

The extension currently provides:

• Syntax highlighting for Bayara scripts
• Autocomplete suggestions for commands, models and metrics
• Snippets for common Bayara constructs
• Hover documentation explaining language commands
• File icon support for .bay files

These features aim to make writing Bayara scripts easier and more comfortable inside VS Code.


Example

Example Bayara script:

dataset churn from "data/churn.csv"

prepare churn {
    drop nulls
    fill nulls age with median
    normalize balance
}

target churn -> exited
features churn -> age, balance

model clf as logistic_regression
train clf with churn

evaluate clf with accuracy, precision, recall, f1

Snippets

The extension includes useful snippets.

Typing:

dataset

and pressing Tab generates:

dataset name from "data/file.csv"

Other snippets include:

  • prepare
  • target
  • features
  • model
  • train
  • evaluate
  • save
  • export

Hover Documentation

Hovering the mouse over Bayara commands shows documentation and examples.

Example:

prepare

Displays an explanation of how preprocessing blocks work.


Autocomplete

Autocomplete suggestions appear for:

  • language keywords
  • preprocessing commands
  • machine learning models
  • evaluation metrics

Example:

model clf as

Suggestions:

logistic_regression
random_forest
decision_tree
knn
naive_bayes
linear_regression

Installation

Install directly from the VS Code Marketplace:

  1. Open Extensions in VS Code
  2. Search for Bayara Language Support
  3. Click Install

Or install via command line:

code --install-extension davidlbg.bayara-language-support

About Bayara

Bayara is a small experimental language designed to simplify tabular data workflows and classical machine learning pipelines.

Instead of writing long Python scripts with pandas and scikit-learn, Bayara allows users to define workflows using a concise DSL.

Example pipeline:

dataset → prepare → features → model → train → evaluate

Bayara scripts compile into Python code using pandas and scikit-learn.


Project Status

Bayara is currently an experimental language under active development.

The goal is to keep the language:

  • simple
  • readable
  • focused on tabular ML
  • easy to experiment with

Repository

Bayara language repository:

https://github.com/davidlbg/bayara

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft