A strange dynamic programming language that performs mathematical computations on a connected Raspberry Pi Pico through UART connectivity.
# Hello world example
greet = func(name)
render "Hello, " + name;
greet("world");
See the complete documentation here.
Despite its unconventional and dynamic behavior, as well as its lack of fundamental APIs, Uartix can still serve as a general-purpose programming and scripting language. The following points outline the reasons behind the development of Uartix:
- The Raspberry Pi Pico, with its dual-core ARM Cortex-M0+ processor, offers an irrelevant yet affordable platform for hardware-level computation.
- Uartix provides a specialized environment where developers can perform mathematical operations directly on the hardware.
- Compared to many external coprocessors, Uartix running on a Raspberry Pi Pico presents a highly cost-effective solution. The affordability of the Pico reduces overall project costs while still delivering substantial computational power for a variety of applications.
- The Raspberry Pi Pico, with its energy-efficient ARM Cortex-M0+ cores, offers a low-power solution for performing mathematical calculations which is perfect for Uartix runtime execution.
- Why not? I was bored when I started developing this.
Before installing Uartix, make sure you have JDK 22 (or OpenJDK) installed on your system. Follow the steps below to get started on different operating systems and to build various components from the source.
-
Download the
.deb
File: Visit the release page and download the latest*.deb
file for Uartix. -
Install Uartix: Open your terminal and navigate to the directory where the
.deb
file is located. Run the following command to install Uartix:sudo dpkg -i uartix_*.deb
-
Running Uartix: After successfully install the
.deb
package, you can now run the commanduartix
on your terminal.
-
Download the .zip File: Go to the release page and download the latest
.zip
file for Uartix. -
Extract the File: Extract the contents of the
.zip
file toC:\uartix
. -
Set Environment Path: Add
C:\uartix\bin
to your Environment Path variables to ensure you can run Uartix from any command prompt.
To install the Uartix firmware on your Raspberry Pi Pico, follow these steps:
-
Enter Flash Mode: Connect your Raspberry Pi Pico to your system while holding the
BOOTSEL
button to enter flash mode. -
Download the UF2 Binary: Download the UF2 binary of the Uartix firmware from the release page.
-
Install the Firmware: Drag and drop the downloaded UF2 file into the Raspberry Pi Pico storage that appears on your computer.
To build the interpreter:
- Open in IntelliJ: Open the Uartix repository in IntelliJ IDEA.
- Build Artifacts: From the menu, go to
Build
menu item and selectBuild Artifacts > Build
.
On Ubuntu, to build the Uartix launcher, ensure you have Rust and cargo installed on your system. Follow these steps:
-
Install Dependencies:
sudo apt-get install mingw-w64 rustup target add x86_64-pc-windows-gnu
-
Build the Launcher: Run the following commands to build the launcher:
cargo build --release cargo build --release --target x86_64-pc-windows-gnu
To build the Uartix firmware from source, simply follow the steps below.
- Installing Raspberry Pi Pico on Arduino IDE: Install the Raspberry Pi Pico boards on your Arduino IDE by following the steps here.
- Open in Arduino IDE: Open the file picoware/picoware.ino in your Arduino IDE.
- Build & Upload: Connect your Raspberry Pi Pico board on flash mode then upload and build the Picoware on your Arduino IDE.
Uartix is an open-source project and is voluntarily developed. If you find Uartix useful and would like to support its continued development and improvement, you can make a donation.
All contributions are welcome to make Uartix even better. Whether you want to report a bug, suggest new features, or contribute code, your contributions are highly appreciated.
If you come across a bug, have a feature request, or wish to propose enhancements, we kindly encourage you to initiate the process by opening an issue on our GitHub Issue Tracker. Your feedback is invaluable in helping us refine and enhance the Uartix. To ensure we can address your concern effectively, we kindly request that you include as much pertinent information as possible. This may encompass a detailed description of the issue or feature request, and if applicable, specific steps to replicate the problem.
Your thorough input enables us to better understand and resolve the matter swiftly, contributing to the overall improvement of Uartix. Thank you for your contributions and for helping us create a more robust and user-friendly environment.
If you're eager to get involved and contribute your coding expertise to Uartix, we're thrilled to have you on board! To ensure a smooth and collaborative process, here's an outlined the following steps that you can follow:
-
Fork the Uartix repository to your GitHub account. And then clone it to your local machine.
git clone https://github.com/<your username>/Uartix.git
-
Create a new branch for your changes:
git checkout -b feature/<your feature name>
-
You can now make changes to the repository.
-
Commit your changes:
git add -A git commit -m "Add your meaningful commit message here"
-
Push your changes to your forked repository:
git push origin feature/<your feature name>
-
Create a pull request (PR) from your branch to the main branch of the Uartix repository.
-
Your PR will be reviewed, and any necessary changes will be discussed and implemented.
-
Once your PR is approved, it will be merged into the main branch, and your contribution will be part of Uartix.
Finally, this section acknowledges and celebrates the individuals who have made significant contributions to the development and success of the project. Meet the dedicated and talented team members, developers, and collaborators who have played key roles in bringing Uartix to life and advancing its objectives.
- Nathanne Isip โ Original Author, Developer
- Lady Selene โ Artist, Illustrator
Uartix programming language. Copyright (c) 2024 Nathanne Isip.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.