Skip to content

Welcome

Welcome to the official Brasa Programming Language Website.

Brasa is a programming language designed specifically as an educational tool. We believe that the English-centric syntax of standard programming languages creates an unnecessary barrier for children and Portuguese-only speakers. Brasa removes that hurdle, allowing learners to focus on logic and problem-solving in their native tongue.

You can read more about our Mission and Design Decisions in the Philosophy section.

Quick Glance

To get a feel of the language, take a look at these samples.

Basic Program

Brasa is not just translation. It was designed to be modern. Here is a standard "Hello, World" program written in Brasa.

importe std.io como io;

texto mensagem := "Hello, World!";
io.diga(mensagem); // "Hello, World!"

High-Level Features

By promoting a Functional Programming approach, Brasa incentivizes the use of pure functions to eliminate side effects and improve long-term maintainability.

importe std.texto como t;

func gritar(int volume) -> texto{
  retorne func(texto mensagem) -> texto{
    texto sufixo;

    int x := 0;
    enquanto(x < volume){
      sufixo += "!";
      x++;
    }

    retorne t.caixa_alta(mensagem) + sufixo;
  };
}

(texto) -> texto gritar_baixo := gritar(1);
(texto) -> texto gritar_alto := gritar(3);

diga(gritar_baixo("AAAAAHH"));
diga(gritar_alto("AAAAAHH"));

How to get Started

Brasa is very to install and get started.

  • Introduction: Our Getting Started guide explains in full details how to get started with Brasa.

  • Examples: View a few scripts written in Brasa in our Gallery.

  • Play: Use the Playground to run Brasa directly in your browser — no installation required.

Contribution

Brasa is an open-source project. Whether you are a developer, a teacher or an enthusiast, your contribution is fundamental to democratizing tech education.

Visit the Official Github of Brasa to contribute to the project.

Frequently Asked Questions

Aren't there already Portuguese Programming Languages?

Yes, there are. However, many are either outdated, overly verbose, or lack the features necessary for modern development.

See Related Languages section for a detailed comparison.