Skip to content

EasyBite Version 0.3.0 Released

Latest

Choose a tag to compare

@Dangujba Dangujba released this 28 Apr 18:13
7e47688

EasyBite Version 0.3.0 Release Notes

Open Source

  • Now Fully Open Source: The EasyBite compiler and standard library are released under the MIT License and available on GitHub: github.com/Dangujba/EasyBite.

Performance

  • Rust-powered Compiler: The entire compiler has been rewritten in Rust, delivering approximately 10× faster compile and execution times compared to the previous C# implementation.
  • Cross-Platform Support: Binaries for Windows, macOS, and Linux are now provided out of the box, making EasyBite truly cross-platform.

New Language Features

  • New Operators:
    • is, is in, is not, not in for more expressive comparisons
  • Foreach Loop: Simplified iteration over arrays, dictionaries, and other collections
  • Recursion: Full support for recursive function calls
  • Method Access on Literals: Invoke methods directly on strings, arrays, and dictionaries without imports, e.g.:
    "Hello World".count()
  • Callback Functions: Callbacks are now specified as identifiers instead of strings, improving type-safety and refactoring support.

In-built Modules (Import as Identifiers)

All modules can now be imported without quotes. New additions include:

  • socket: Low-level TCP/UDP networking for client and server sockets
  • requester: Simplified HTTP client for RESTful calls and API requests
  • listener: Lightweight HTTP server for handling incoming webhooks and requests
  • plotter: Data visualization utilities for generating charts and plots at runtime
  • thread: Concurrency primitives and thread management for parallel execution
  • system: System utilities for environment variables, file I/O, process control, and OS interactions
  • mysql: MySQL database connector with support for queries, prepared statements, and transactions

You can set the BITE_MODULES environment variable to point to custom module directories.

Package Management

  • Bitely: A new package manager, automatically installed with the Windows .msi and available on the bite-registry
    • bitely install <package> to pull packages
    • bitely publish <package> to push packages
  • Default registry can be changed via the --registry flag or the BITE_REGISTRY environment variable.

GUI Controls

Over 20 new controls added for desktop and web UIs, including but not limited to:

  • DatePicker
  • TimePicker
  • Pages
  • FlowLayout
  • OpenFileDialog, SaveFileDialog, Alert, Tree, and more.

Documentation

Full documentation has moved to easybitedocs.github.io, with detailed guides, API reference, and examples for every new feature.

OOP Enhancements

Classes now fully support all four pillars of object-oriented programming:

  • Encapsulation
  • Inheritance
  • Polymorphism
  • Composition

How to Upgrade

  1. Download the EasyBite 0.3.0 installer or archive from the GitHub releases page.
  2. If on Windows, run the .msi to install both EasyBite and Bitely.
  3. Update your PATH (if necessary) so that the easybite and bitely commands are available in your shell.
  4. Verify installation with:
    easybite --version   # should report 0.3.0
    bitely --help        # confirm Bitely is installed

Feedback and contributions are welcome on the GitHub repository to help make EasyBite even better!