💻
Budgie
  • Introduction
  • Syntax
    • Comments
    • Strings
    • Variables
    • Math
      • String Conversions
    • Arrays and Lists
      • Sorting
    • Dictionaries
    • Enums
    • Classes
      • Member Variables
      • Member Functions
      • Interfaces
      • Static Variables
      • Static Functions
    • Standalone Functions
      • Main
    • Lambdas
    • Exceptions
    • Files
    • Imports
    • Unsupported Commands
  • Projects
  • Internals
  • Languages
  • Omissions
Powered by GitBook
On this page
  • Usage
  • CLI
  • Code
  • Why?
  • Status
  • Development

Was this helpful?

Introduction

NextSyntax

Last updated 5 years ago

Was this helpful?

A unified syntax that compiles into a number of OOP languages. Formerly known as General Language Syntax (GLS).

  • 🎭 Try it at 🎭

  • 📚 Read the docs on 📚

Budgie is still under development. Don't expect everything to work!

Usage

Budgie can be used as a command-line app or via import/require.

CLI

To convert file.bg to file.py:

npm install budgie-cli --global

budgie --language Python file.bg

See .

Code

npm install budgie

import { Budgie } from "budgie";

const budgie = new Budgie("C#");

// System.Console.WriteLine("Hello world!");
budgie.convert([`print : ("Hello world!")`]);

Why?

No reason in particular!

Budgie is not intended to be a useful language or targeted to any real purpose. It's a proof-of-concept exploration for the fun of it.

Status

Budgie is just shy of 0.4.

Deliverable

Version

Description

C++ Compiler

0.1

Command-line Budgie prototype, written in C++.

TypeScript Compiler draft

0.2

Budgie compiler as a website, written in TypeScript.

TypeScript Compiler + C# Output

0.3

Budgie compiler re-written in TypeScript. Near-working C#, Java, JavaScript, Python, Ruby, and TypeScript output.

Roundtripping Feature Complete

0.4

All features required for roundtripping implemented. Working C# and TypeScript output. Near-working Java, JavaScript, Python, and Ruby output. Switched to a better name.

Full Language Outputs

0.5

Working C#, Java, JavaScript, Ruby, Python, and TypeScript output.

Haxe, Powershell, Misc.

0.6

Onboard or reject those languages and other possibilities.

Language Specification Finalized

0.7

Finalized language spec & cleaned internals of code.

General Release

1.0

Public announcement, glory to everyone.

Development

Requires Node >=12

If you'd like to contribute to Budgie, see .

💖 Many thanks to for allowing use of the budgie npm package name!

Development.md
@matthojo
budgielang.org
docs.budgielang.org
budgie-cli
NPM version
Greenkeeper badge
Circle CI