XiaoXuan Language is a full-stack programming language that
allows you to learn one language to develop all kinds of programs.
Currently, it can be used to develop a variety applications,
including digital circuits and chips,
microcontroller firmware, GPU shaders, system programs, local native programs,
cloud native programs, web applications and more.
XiaoXuan Language achieves this by providing multiple backends and variants, all of
which
follow the same syntax and design philosophy. This frees developers from the burden of learning
multiple programming languages and tools.
Build powerful user-space system programs that have extremely
fast startup speed and small memory footprint, it can directly call syscall and
interoperate
with C shared libraries. Single-file, statically linked runtime make applications highly
portable.
Build high-performance, solid web applications.
It can be compiled to WebAssembly on-the-fly without the need for any build tools.
It is intended to be the next preferred programming language for web development.
Build extremely secure, robust, truly portable and responsive programs,
including desktop applications, cloud-native applications (such as microservices and serverless functions etc.),
business systems, data science and A.I. programs and more.
Each program runs in its own isolated environement, eliminating the need for containers.
Applications do not need to be installed, they can be run with just a URL.
A memory-safe, general-purpose programming language inspired by
Rust.
It is designed to be simpler than Rust while it still provides automatic memory
management without garbage collection,
and avoids complex concepts such as ownership, borrow checking, and lifetimes.
It aims to replace Rust in certain non-critical scenarios.
It currently supports compiling to native code for architectures
x86-64, aarch64 (ARM64), riscv64 and s390x (IBM Z),
and will supports loongarch64 in the future.
Build high-performance firmware for microcontrollers (MCUs)
easily,
the built-in micro VM makes it possible to "write once, run anywhere",
build IoT applications in a more modern way.
A brand new and modern hardware description language (HDL) that
lets you design hardware and chips in the same ease and collaboration as open-source
software. Its built-in GPU-accelerated simulator dramatically enhances test efficiency,
saving you valuable time and resources.
Localization
The XiaoXuan Language supports writing code in local languages,
such as Chinese, Japanese and French. In addition to keywords, the standard library and
related documentation are also translated into local languages.
Using local language programming is beneficial for children, beginners and
non-computer majors who are not native English speakers.
The local languages:
XiaoXuan Core Hans - The simplified Chinese edition
(简体中文版) of XiaoXuan Core.
XiaoYu Operating System
I have also designed two new operating systems, one for daily use
by engineers and the other for microcontrollers.
Both are implemented using XiaoXuan Lang.
A brand new operating system built for the modern engineer's daily
workflow.
Every application runs in secure, isolated environement with minimal privileges,
requesting permissions only when needed. This also ensures a pristine system, even after
years of use, free from accumulated clutter or hidden processes.
XiaoYu OS empowers developers to directly maintain their applications, eliminating the
need for dedicated package maintainers.
A true operating system (not RTOS) for microcontrollers (MCUs).
Applications (firmware) can be run by simply downloading and configuring, without
the need to install development tools or compilation. Applications even run in a micro
container.
It completely changes the way firmware is developed and deployed.
Platform Support
XiaoXuan Lang is a newly designed programming language that has its own IR add
assembly language. It does not rely on traditional compilation tools and shared libraries,
such as GCC and LLVM. Therefore, XiaoXuan Lang (and XiaoYu OS, which is mainly developed
using XiaoXuan Lang) has faster support for newer platforms such as
RISC-V and
LoongArch.
XiaoXuan Lang and XiaoYu OS hope to become the preferred programming language and
operating system for new platforms.
A very simple debugger (programmer) base on
CMSIS-DAP implemented using a low cost MCU STM32F042 and very
few parts. Used for downloading firmware to other MCUs or debugging programs.
A reference board for XiaoXuan Micro development.
It uses a low-cost MCU STM32F030C8T6/STM32F072CBT6 in LQFP package, which is
easy to make and
hand soldering by yourself.
A reference board for XiaoYu Micro OS development.
It integrates a debugger as well as numerous interfaces, buttons and LEDs using
the common MCU STM32F412/STM32F411.