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 infor 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
.msiand available on the bite-registrybitely install <package>to pull packagesbitely publish <package>to push packages
- Default registry can be changed via the
--registryflag or theBITE_REGISTRYenvironment variable.
GUI Controls
Over 20 new controls added for desktop and web UIs, including but not limited to:
DatePickerTimePickerPagesFlowLayoutOpenFileDialog,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
- Download the EasyBite 0.3.0 installer or archive from the GitHub releases page.
- If on Windows, run the
.msito install both EasyBite and Bitely. - Update your PATH (if necessary) so that the
easybiteandbitelycommands are available in your shell. - 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!