Avocado

Polish programming language

Compiled to machine code • Speed of C and Rust • Syntax of Python

0 Functions
0 English aliases
0 Downloads
0 % Free

About Avocado

Modern Polish programming language

The Avocado language is compiled and currently allows for the creation of console applications. Work on Avocado and the integrated development environment (IDE) has begun. 19 February 2025.

A unique feature of this language is the ability to write commands in Polish and English compile code to .exe format. The language is available free of charge for commercial and non-commercial projects. The source code for Avocado is available under the MIT licence on GitHub.

Avocado is transpiled to Free Pascal and then compiled by the FPC compiler, making it as fast as C or Rust, but with syntax reminiscent of Python.

The Avocado IDE interface is translated into thirty languages ​​(Polish, English, German, French, Italian, Spanish, Portuguese, Russian, Chinese, Hindi, Polish, Arabic, Czech, Ukrainian, Danish, Bulgarian, Dutch, Estonian, Finnish, Greek, Hungarian, Indonesian, Japanese, Latvian, Lithuanian, Romanian, Slovak, Slovenian, Swedish, and Turkish).

See examples

Performance

Compilation to machine code provides speed comparable to C and Rust.

Simple syntax

Inspired by Python, with Polish keywords

Avocado multilingual IDE

The Avocado IDE interface has been translated into 30 languages.

MIT Licence

The source code for the Avocado programming language is available under the MIT licence on GitHub.

Complete IDE

Integrated environment with automatic transpilation

Free

100% free for commercial and non-commercial projects

Code examples

See how simple Avocado is

program hello
            print('Hello World')
           
program variables
            //program mathematics
            int age = 25
            real temperature = 22.5
            bool a = true
            string name = 'Anna'
            print_line('Name: ', name)
            print_line('age: ', age, ' years')
          
program tablice
            // Number arrays
            tablicaLiczb oceny = [5, 4, 3, 5, 4]
            liczba_całkowita i = 0
            dla i od 0 do 2 {pisznl(oceny[i])} 

            // String arrays
            tablicaTekstów przedmioty = ['Polski', 'Matematyka', 'Informatyka']

            // Iterating through an array
            liczba_całkowita i = 0
            dla i od 0 do 2 {pisz_linie(przedmioty[i])} 
          
          

            program matematyka
            importuj matematyka

            // Basic calculations
            oblicz('(10 + 40 + 34) * 2')   // Wynik: 168
            or
            calc('(10 + 40 + 34) * 2') // Result: 168

            // Trigonometric functions
            oblicz('sin(pi/2)')           // Wynik: 1
            oblicz('cos(0)')              // Wynik: 1
            or
            calc('sin(pi/2'))             // Result: 1
            calc('cos(0)')                // Result: 1

            // Conversion of degrees to radians
            oblicz('sin(degtorad(90))')   // Wynik: 1
            or
            calc('sin(degtorad(90))')     // Result: 1

          
         

Download Avocado

Select the version for your system

Windows

64-bit

Download

Linux

AMD64

Download

Source Code

Download

Support the Project

Help Avocado grow!

Contact us

Do you have any questions? We are happy to assist you.!

Join our community and stay up to date with the latest news!