Berry: A Lightweight, Fast, and Powerful Embedded Scripting Language
2025-07-08
Berry is a lightweight, fast, and powerful scripting language interpreter designed for microprocessors. It features a one-pass bytecode compiler and a register-based virtual machine, supporting imperative, object-oriented, and functional programming paradigms. Its simple and natural syntax, garbage collection, and easy-to-use FFI (Foreign Function Interface) make it developer-friendly. Compile-time object construction minimizes RAM usage by storing most constant objects in read-only code data segments. Its dynamic typing and flexibility make it ideal for embedding in applications, providing excellent dynamic scalability.